• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic