Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Java Bean Importer

Hi

I am trying to import a Java bean into webdynpro component. I have exposed the Java bean class as public part and I am using this as a used DC in webdynpro.

I am trying to create a model from Java bean importer and i select the Jar of the java bean I am getting the following error.

java.lang.Exception: Invalid Class - JavaBean not available for import

Class :javax/ejb/CreateException

Jar :C:\Documents and Settings\Administrator\.dtc\1\DCs\ibm.com\jdidemo\maint\java\_comp\gen\default\public\CommandBean\lib\java\comjdidemomaintjavaCommandBean.jar

at com.sap.ide.metamodel.importers.javabean.JavaBeanAnalyser.identifyClassesForJar(JavaBeanAnalyser.java:1187)

Any help is appreciated.

Regards

NagaKishore V

replied

Divakar,

Thank you for refereing my blog.

Yes, this is exactly the same issue that described in "Class loading..." section of post -- the only difference is that [2] item should be "add ejb2.0" instead of "add jms" reference

VS

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question