質問

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?

役に立ちましたか?

解決

Problem got resolved,There is manifest file inside the EML.war file which is inside the ECM.Ear I added the jar file name under the classpath inside the manifest file.

他のヒント

@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".

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top