I get the following error during deployment:

"Method public abstract CP CB.getPrefs() can not be declared abstract"

 <relationships>
  <ejb-relation>
   <ejb-relation-name>C-CP</ejb-relation-name>
   <ejb-relationship-role>
    <ejb-relationship-role-name>c-p</ejb-relationship-role-name>
    <multiplicity>one</multiplicity>
    <role-source>
     <ejb-name>C</ejb-name>
    </role-source>
    <cmr-field>
     <cmr-field-name>prefs</cmr-field-name>
     <cmr-field-type>CP</cmr-field-type>
    </cmr-field>
   </ejb-relationship-role>
   <ejb-relationship-role>

<ejb-relationship-role-name>contactprefs-belongs-to-contact</ejb-relationshi
p-role-name>
    <multiplicity>one</multiplicity>
    <role-source>
     <dependent-name>CP</dependent-name>
    </role-source>
    </ejb-relationship-role>
  </ejb-relation>
 </relationships>

In the CP bean, I have:
public abstract CP getprefs();

What's wrong with that?

Thanks,

Joel Shellman



Reply via email to