Skip to Content
0
Former Member
Feb 13, 2007 at 02:45 PM

Deployment aborted - NoClassDefFoundError

18 Views

I've created an EJB Module DC and an Enterprise Application DC. The projects can be build, but when I try to deploy the resulting ear to my local server the deployment fails with a NoClassDefFoundError.

The missing class is contained in SC SAP-JEE DC /tc/sec/destinations/interface. I have added a use dependency for this DC 'at Build Time' for the EJB Module and 'at Deploy Time' and 'at Run Time' for the ear.

In Note" target="_blank">www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_dwb/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373938383732%7d">Note 798872 I found at the very end that I have to maintain the references in application-j2ee-engine.xml also, additionally to the use dependency. However, the dialog to do so is disabled and a message is shown to maintain the values in DC-MetaData. In fact, the note is related to NWDI 6.40, so this information may be outdated.

Any ideas why the deployment fails?

Best regards,

Frank