cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDa

Former Member
0 Kudos

Hi All,

I have created and deployed an EJB application in CE7.1,I am using this jars "_webdynpro_pdfobject.jar",for read the xml data in pdf ,For that time i am getting following errors",

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/adsproxy/types/p1/RpDataat com.sap.tc.webdynpro.pdfobject.api.WDPDFObjectFactory.getPDFObject(WDPDFObjectFactory.java:43)

Plz anyone suggest

Regards,

Vinoth Raja.V

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hi Vinoth,

You need to save that jar file in the lib folder.

Right click on your Web Dynpro project -> Navigate to Properties -> Select Java Build Path -> Add external jars -> Browse to your jar file in the lib folder -> Click on OK

Rebuild your project and deploy and run your application.

Regards

Kishan

Edited by: kishan chandranna on Dec 24, 2008 5:27 AM

former_member192434
Active Contributor
0 Kudos

Hi Vinoth,

Put this jar file into your lib directory, it will solve your problem.

Thanks

Anup

guy_rodesch
Explorer
0 Kudos

Hi,

We are currently facing the same problem. To which directory should the jar file be copied?

Best regards,

Guy.

Vlado
Advisor
Advisor
0 Kudos

Well, first of all, you should not use a Web Dynpro API in an EJB app. Web Dynpro is a UI technology, EJB implements the business logic.

Furthermore, the PDFObject API has been deprecated. For more information and guidance, please refer to its [javadoc|http://help.sap.com/javadocs/nwce/current/wdr/com/sap/tc/webdynpro/pdfobject/api/package-summary.html].

HTH!

\-- Vladimir

P.S.: Please read the [Rules|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], in particular regarding cross-posting.