cancel
Showing results for 
Search instead for 
Did you mean: 

How to add external class to Web Dynpro application?

former_member336373
Participant
0 Kudos

After adding the jar to my Web Dynpro project, I could use the external class in IDE. However after I sucessfully deployed the application, the runtime failed on the action in which the external class is used with the error:java.lang.NoClassDefFoundError.

Anybody could solve the problem?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Irene,

You have to deploy this external class onto your WAS also.

An easier option can be to add this external class .jar file in your project lib folder(you can see this in the navigator view).

Then it will be deployed on the WAS when you deploy your project and run properly.

Regards,

Shubham

former_member336373
Participant
0 Kudos

Hi Shubham,

Thank you so much for your answer.

Would u please tell me what is the option in the navigator view to add an external class(.jar) in the lib folder?

Best Regards,

Irene

former_member336373
Participant
0 Kudos

I sucessfully imported the jar file and solved the problem.

Thank you Shubham.

Answers (0)