• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat bootstrap recognize references of projects dependences dynamically

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[Hi Guys,

Some help please!

I have two projects : SpringProj and StrutsProj configured in the same workspace from my eclipse helios.


Scenary: The project StrutsProj recognizes the SpringProj because I had configured it in eclipse classpath. But, when I start my Tomcat the error appear to me: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

Alternative resolution: put all the libs from "SpringProj/lib" to "StrutsProj/Web-INF/lib" and only restart the tomcat .... its OK works!!!

But I wish have 2 projects: One for spring classes and other for my struts views actions (2 projects separateds);

Note 1 : I already try to add the SpringProj project in bootstrap of eclipse tomcat server configuration (Tomcat v7.0 Server at localhost > Open Lauch configuration > classpath > Bootstrap entries), but I did not have success... The errors continues the same : java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener ...

Note 2: I do not wish generate the jar, for exemple, SpringProj.jar and put it on the StrutsProj/Web-INF/lib.

Any suggestions?

Thanks
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic