cancel
Showing results for 
Search instead for 
Did you mean: 

Loading wrong jar files .

prasad
Participant
0 Kudos

Hi all,

we are using a EAR application which is being deployed in NetWeaver server Java 7.3, The application contains certain jar files deployed in webinf/lib folder of web-module ,(EAR contains only one web module). but when we deploy the application and test it , wrong jar files are being loaded showing that certain methods are not present in jar class file, but when we check the libraries in web inf/ilb the methods are present.

From which locations does the other  jar files are loaded ? Does SAP java engine 7.3 has jar files already  in some other place that are being referenced by application?

Is there any property to be maintained in web.XML to use only lib files in WebInf/lib of given module for that particular application.

Can we add  any code in application, to log from where the wrong jar files are loaded?

Please help me on this as this is a high priority issue.

Regards

V.S.R.K.PRASAD

Accepted Solutions (0)

Answers (1)

Answers (1)

saar_dagan
Employee
Employee
0 Kudos

Hi Prasad,

Make sure that in the build path your jars are high in the sort order.

Then use the clean project feature just to see if everything compiles nicely.

Regards,

Saar

prasad
Participant
0 Kudos

Hi Saar,

Thanks for the reply,

The Project got compiled, but in the javascript event its loading a wrong jar file other than in webinf/lib jars.

Regards

Prasad