cancel
Showing results for 
Search instead for 
Did you mean: 

NoClassDefFound

Former Member
0 Kudos

Hi All,

I trying out a small application in which i am using a third party jar file. In NWDS, i included the jar file thro <i>Properties -> Java Build Path -> Add External Jars</i>.

When i deploy the application in the server(server is in different machine), its giving <i>NoClassDefFoundError</i>, since its not able to access the third party jar file.

How can I make the jar file available in the server? Is it possible to pack it along with the application as we do in normal web applications (ex: WEB_INF/lib)?

Thanks,

Venkat

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi

first you need to create J2EE Server Component Project and add your Jars to this and Deploy.

Now in your project where you want to use those Jar files, in the Project properties choose webdynpro references->library references

there make an entry local/<library project>

Hope this wil solve your problem

Regards

Abhimanyu L

Former Member
0 Kudos

Thank you everyone,

I solved the problem on my own...

Thanks a lot...

Venkat

Answers (2)

Answers (2)

Former Member
0 Kudos

chk it

/people/kirupanand.venkatapathi2/blog/2006/01/02/using-jar-class-finder

Former Member
0 Kudos

<b>Hi

Copy that .jar File to the projcet Lib folder which is Navigator.

Regards

Chandran S</b>