aspose file tools*
The moose likes Other Application Frameworks and the fly likes Wicket + Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Wicket + Spring" Watch "Wicket + Spring" New topic
Author

Wicket + Spring

yusuf Kaplan
Ranch Hand

Joined: Mar 11, 2011
Posts: 58
Hi all,

Im just trying to setup a basic project structure in Eclipse with Wicket and Spring. I think its pretty smart to separate both Wicket and Spring into two different Eclipse projects, isnt it? Thus, I created an Eclipse project for the Web part and one for the Spring (and later Hibernate as well) part.
Now when I start Tomcat with Eclipse I get "...Caused by: java.lang.NoClassDefFoundError: org/springframework/context/ConfigurableApplicationContext"
Thats not rocket science. After adding the corresponding Spring lib to the WEB-INF/lib folder another error message appears after server startup telling me that another class is missing from a different jar. Probably I will end up adding all Spring jars into my WEB-INF/lib folder. But thats not what I what. I dont want to add any Spring Core jar in my Web project (Reasons should be clear). I already added all Spring related jars into my different Spring Eclipse project.
Any suggestions.

Cheers,
Y
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Wicket + Spring