aspose file tools*
The moose likes Spring and the fly likes differences between user libraries for Spring and jars in WEB-INF/lib Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "differences between user libraries for Spring and jars in WEB-INF/lib" Watch "differences between user libraries for Spring and jars in WEB-INF/lib" New topic
Forums: Spring IDEs, Version Control and other tools
Author

differences between user libraries for Spring and jars in WEB-INF/lib

Chris Telka
Greenhorn

Joined: Nov 16, 2010
Posts: 1
Hello All!

I am using Eclipse JUNO, and I like to have user libraries, because when I'm creating a project I like to add just a user library (for example Hibernate 3.6 with sources) and BANG! Everything works fine.
The same I would like to do with SPRING 3 but there is a problem.

I would like to know, what can be a workaround in the following problem.

I am trying to do a SPRING 3 MVC tutorial and I discovered this things:

If i put this JAR's into /WEB-INF/lib my application works well



But if I create a Java USER LIBRARY and I add this to the classpath (the same JAR's!)



I added also the /WEB-INF/lib into Web Deployment Assembly


The server don't want to run, or if runs when I try to click on some action there is occured
Is there some workaround in this situation?

Why Tomcat/Glassfish don't want to accept those JAR's from java User Libraries?

Any suggestions?

Regards
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

I added this thread to the IDE forum as this is an IDE problem and not specific to Spring.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: differences between user libraries for Spring and jars in WEB-INF/lib