Skip to Content
0
Former Member
Oct 14, 2009 at 02:26 AM

java.lang.NoClassDefFoundError: com/<vendor>/<service-name>

20 Views

Hi,

I followed this thread Calling a Portal Service from within a Web Dynpro DC to create portal service DC and added it as a used DC to a WD DC.

When I run, I get following exception.

java.lang.NoClassDefFoundError: com/sapportals/portal/prt/service/IService -


Loader Info -


ClassLoader name: [<name>.com/repadmin] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:tcwdwslib library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\src.zip D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\smtp.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\ojdbc14.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\com.sap.security.api.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\mail.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\<name>.comwhoppersExternalLibAssembly.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\sqljdbc.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\<name>.comrepadmin.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\app.jar D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\<name>.com\repadmin\webdynpro\public\lib\activation.jar Loading model: {parent,references,local} -


The error occurred while trying to load "com.<name>.<Iservice-name>".

The portal DC uses a library DC with multiple jar files.

Thanks

Srinivas