Error while deploying ipp-portal.war, spring libraries [message #954579] |
Tue, 23 October 2012 05:00 |
Florian Kammermann Messages: 19 Registered: July 2012 |
Junior Member |
|
|
When I build the ipp-portal.war with the following build command:
mvn -f product/components-pom.xml -Pipp-build -Dbuild.tools.home=[build.tools] install
from the source and deploy it, I become the following Error:
java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException
It looks like the spring libraries are not included in the war.
I have only the following libraries in the WEB-INF/lib:
spring-web-3.0.5.RELEASE.jar
spring-webmvc-3.0.5.RELEASE.jar
[Updated on: Tue, 23 October 2012 05:09] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Error while deploying ipp-portal.war, spring libraries [message #1033502 is a reply to message #1033026] |
Thu, 04 April 2013 09:38 |
|
Gudrun,
the mvn config Sven described above worked for me. This will create you a tomcat 6 WAR via Maven.
Another option, if you have a RAD envirnment based on Kepler M6 already running, is to
- right-click your RAD project,
- select "Export..."
- expand "Web" and select "WAR file"
This will export the project contents in the right structure to a WAR file. The contents is the same as if you publish to the embedded tomcat server.
Best Regards
Robert
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03840 seconds