cancel
Showing results for 
Search instead for 
Did you mean: 

ClassNotFoundException when using Java API of ECMI

Former Member
0 Kudos

Hi,

I was trying to implement the examples from this document:

[Get Started Developing with the Java API of the ECM Infrastructure|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0a19611-623a-2d10-16b7-afe2002a0345?quicklink=index&overridelayout=true]

When deploying the EAR file I got a ClassNotFoundException refering to com.sap.ecm... classes.

E.g.: Caused by: java.lang.ClassNotFoundException: com.sap.ecm.exceptions.EcmSystemException

The ECM classes should be available in NWCE 7.2. Any idea?

Best regards,

Kevin

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

have you added the dependency to the ecm lib at your ear dc?

Former Member
0 Kudos

You're right, I added it to the ejb and not to the ear. Problem solved. Thanks!

Answers (0)