cancel
Showing results for 
Search instead for 
Did you mean: 

no class def found for all deployed applications!!!

Former Member
0 Kudos

Hi experts!!!

I am having a big iproblem here..

I have developped several WDJava applications using NWDS 7.0.9

since yesterday when i try to deploy any of my already created applications all of them give me an error concerning outdated files and when i run them, they all give a NoClasDefFound Exception.

What can i do?? I cannot change any of my DCs.

Do i have to recreate them all???

Please help!!!

Thank you in advance!!!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi!!

I added all of the jar files in the lib folder. Then i tried to deploy again my application but it did not work.

Do i have to rebuild the project or something else????

Thank u in advance!!

former_member192434
Active Contributor
0 Kudos

Yes you have to rebuild your project. if problem still exits restart ur NWDS

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi everybody & thank for all your replies!!

Ploblem solved!

What i did is the following:

1. Add the external jars to the LIB folder of my DC in WD perspective (Navigator) .

2. Rebuild the project.

3. Restart the engine.

4. Add the external jars using properties WD perspective (WD Explorer) .

5. I deployed the application & it was ok.

Once again thank you all!!!

P.S. I 've never before added the external jars in the LIB folder.

So far i had only added them using proprties.

Is this mandatory ? (I am only asking for future reference)

Former Member
0 Kudos

It is a Local Development Component but we are not working with NWDI..

Any other ideas??

Former Member
0 Kudos

Hi,

Give me the structure of your local DC

Thanks & Regards

Padma N

Former Member
0 Kudos

Hi,

Is your Application is a simple webdynpro application or Local Development comonent??

If it is a webdynpro application right click on your application folder and go the build path and add all the external jar in the libraries tab.

If it is Local Development component then there is a separate pdf for that as

Develop with NWDI using External Libraries u2014with EP Example

Search in the sdn for this..you will get it

Thanks & Regards

Padma N

Former Member
0 Kudos

Hi,

Is your Application is a simple webdynpro application or Local Development comonent??

If it is a webdynpro application right click on your application folder and go the build path and add all the external jar in the libraries tab.

If it is Local Development component then there is a separate pdf for that as

Develop with NWDI using External Libraries u2014with EP Example

Search in the sdn for this..you will get it

Thanks & Regards

Padma N

Former Member
0 Kudos

Hi Padma & thank u for your reply!

Actually i am using external jars in all the applications.

How can i check the class files? And where from?

Thank u in advance!!!

former_member192434
Active Contributor
0 Kudos

Hi

Put the required jar file into application LIB folder

It will slove the problem.

Thanks

Former Member
0 Kudos

Hi,

This situation may also come when any 3rd party jar is using in the Application and its class files are not included properly

Please check wether you are using any external jars in those application and check the class files of that jar.

Thanks

padma N

Former Member
0 Kudos

Hi ,

may these threads help u to find solution

.