hi all,
I have probably a basic question for which I need some clarification.
I have a web application, which i making use of some web framework GWT.
I am building my application using
Maven where my pom files contains a plugin definition for the web framework it needs:
The application builds successfully and the .war file is generated.
If I look inside the war archive, it contains framework specific jars plus others inside /WEB-INF/lib/*.jar of my web application. So far everything is good and as per my understanding.
Afterwords I deploy the war file on
Tomcat AS 7 successfully.
Now my question is what if on the Tomcat AS7 under $CATALINA_HOME/lib there are framework (gwt) specific jars also available/copied. And on top of it, let's say the version of the framework specific jars is different between /WEB-INF/lib/ and $CATALINA_HOME/lib.
My question is during my web application run, the classloader would use the framework (GWT) specific jars from which location /WEB-INF/lib/ OR $CATALINA_HOME/lib?
I know ideally we should NOT place web application specific jars as part of the $CATALINA_HOME/lib, but lets assume it is the case and now I need to know which location is the default for the application run?
Thanks.