This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Chris Telka
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added this thread to the IDE forum as this is an IDE problem and not specific to Spring.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic