I have deployed the Ear file on IBM Websphere 8.5 AS. When I am using my application it is giving me one ClassNotFoundException but class for which it is giving the exception is in jar file which already in the ear file. So, can you please tell me what is the cause of this problem? Do we need to configure some thing in websphere AS so that it will add these jars in to classpath?
0
votes
2 Answers
1
votes
0
votes
@user3036097 - WAS 8.5 may be providing the same jar albeit a different version of that jar that's missing your required class. You could try setting the Classloader Policy to PARENT_LAST. This configuration can be found in deployment.xml within your ear project. If you're using RAD, you can right-click on your ear project and select "Open Application Deployment Descriptor".