Thursday, October 14, 2010

Maven troubles on Helios

I created a new working environment on my laptop and checked out my source via clone. After setting up everything i still had troubles deploying my application on glassfish:

|WARNING|glassfish3.0.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=23;_ThreadName=http-thread-pool-4848-(1);|java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

Searching in the net i found out that maven on helios has a bug deploying dependencies on helios.
Here the Link:
http://www.eclipse.org/forums/index.php?t=msg&goto=544809&

I installed and checked everything, in the end i had to change this file:
${PROJECT_HOME}/.settings/org.eclipse.wst.common.component
consumes

No comments: