MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
rss245b
Post subject: Determining which jar files were loaded or which jar files..  PostPosted: May 26, 2012 - 08:10 PM
Registered Member
Registered Member


Joined: May 03, 2010
Posts: 45

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????
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: May 28, 2012 - 08:25 AM



Joined: Nov 11, 2010
Posts: 2491

rss245b,

You should check for correct library deployment policies. You can use user libraries, if not all build path libraries need deploying.

Take a look at this tutorial for detailed understanding :
http://www.myeclipseide.com/documentation/quickstarts/webprojects/#external_libraries

Hope this helps.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
rss245b
Post subject: Determining which jar files were loaded or which jar files..  PostPosted: May 28, 2012 - 10:21 PM
Registered Member
Registered Member


Joined: May 03, 2010
Posts: 45

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?
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: May 29, 2012 - 08:04 AM



Joined: Nov 11, 2010
Posts: 2491

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.

Are you deploying to any other server ?

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits