cancel
Showing results for 
Search instead for 
Did you mean: 

Referencing to external Libraries : java.lang.NoClassDefFoundError

Former Member
0 Kudos

Hi

I have created a web module project, which is having a servlet importing a class file from JAR.

I have to add this jar as a "External Library DC" and in its public part exposed my JAR.

Now in my web module DC in section "Used DC" I have specified usage to this Jar containing DC. And have selected "BUILD, Deploy, RUNTIME (Strong)" checkboxes while doing so.

Now i am able to successfully build and deploy my application.

But at runtime it is giving error "java.lang.NoClassDefFoundError" for my imported class.

Is there any other way to specify deploytime dependencies....!!

Accepted Solutions (0)

Answers (1)

Answers (1)

manu_susankar
Active Contributor
0 Kudos