Error while deploying ipp-portal.war, spring libraries [message #954579] |
Tue, 23 October 2012 01:00  |
Eclipse User |
|
|
|
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 01:09] by Moderator
|
|
|
|
|
|
|
|
|
|
|
Re: Error while deploying ipp-portal.war, spring libraries [message #1053850 is a reply to message #1034014] |
Tue, 07 May 2013 17:20  |
Eclipse User |
|
|
|
Hi
As a novice I tried both approaches. Result: both worked for my Demo server setup - (linux, tomcat, derby)
1. Kepler Stardust RAD created WAR file
2. WAR file built using existing archetype for Helios IPP/Stardust version
1. About Kepler RAD created WAR file:
I was able to create and deploy a Kepler RAD created Stardust WAR file to a tomcat server installed on a Linux desktop vm.
Only real hurdle I had to overcome was to set up the embedded derby db as a standalone db and make appropriate
config file changes to connect to the db. Essentially I now have a demo linux server for Stardust running on tomcat and derby db.
(Better don't forget to change CARNOT.MODEL_REQUIRED to FALSE in WEB-INF/web.xml for this approach)
Reason for the workaround was that the directory path for the embedded db contained spaces - something that did not work using Kepler RAD installed on linux. I ended up installing Kepler RAD on Windows, exported the embedded db using ddlutil and imported it on my Demo server running Linux. Maybe the directory path should be changed ?
The Eclipse Cheat Sheets were a great help to get started with developing business processes.
Hoping that Stardust 1.0 will come out this summer with an initial set of archetypes for building (including tomcat,mysql,Camel integrated) or similar setup solution.
2. About WAR file built using existing archetype for Helios IPP version
I was able to build a WAR file for -DarchetypeArtifactId=tc6-ipp-portal-war and add Camel "ISB"-specific Maven Dependencies
I found this IPP/Stardust and Camel deployment option to be referred to as: "Embedding Camel in a Standard dynamic web project containing IPP facet".
Cheers,
Gudrun
|
|
|
Powered by
FUDForum. Page generated in 0.04263 seconds