MyEclipse: Determining which jar files were loaded or which jar files.. rss245b - May 26, 2012 - 08:10 PM Post subject: Determining which jar files were loaded or which jar files..
Determining which jar files were loaded or which jar files should be in the .classpath file in a a building of a project.
I recently had a problem that I fixed where the project ran fine on windows with MyEclipse running, however, it failed to run on the server because it was missing a couple files:
jstl-1.2.jar and javax.servlet.jsp.jstl.jar
It would be so very helpful if there was a way to determine what .jar files load during the successful execution of a web application on the same workstation/server as the MyEclipse IDE software that it successfully runs on.
How can that be accomplished to save time debuging/searching the internet for the magical missing .jar file????support-swapna - May 28, 2012 - 08:25 AM Post subject:
rss245b,
You should check for correct library deployment policies. You can use user libraries, if not all build path libraries need deploying.
Hope this helps.rss245b - May 28, 2012 - 10:21 PM Post subject: Determining which jar files were loaded or which jar files..
Well I clicked on:
Myeclipse >preferences > MyEclipse >Java Enterprise Project >web project
And verified that the settings for Deployment tab are as follows:
Smart Deployment
All Library Deployment checkboxes are checked
and I must report when I deployed the MyBlogJSFJPA project it failed to include
the jstl-1.2.jar file needed.
Would any other setting have included that jar file in the War file deployment?support-swapna - May 29, 2012 - 08:04 AM Post subject:
rss245b,
The jstl-1.2.jar is part of Java EE 5 libraries. If the 'JARs from Build Path' under library deployment policies is checked, then you should not see this problem when deploying to ME Tomcat on MyEclipse.