I used weblogic.ejbc to compile my entity beans and I get the following error:

"User-Has-UserGroup: Each <ejb-relationship-role> in ejb-jar.xml must have a corresponding <weblogic-relationship-role> in weblogic-cmp-rdbms-jar.xml."

The problem is that Weblogic's examples in \samples\examples\ejb20\relationships\one2many only has one <weblogic-relationship-role> tag in weblogic-cmp-rdbms-jar.xml file and two <ejb-relationship-role> tags in ejb-jar.xml file.

Can anyone explain this problem?