|
|
Error on Basic Roo Prj 1.1.0.M3
Hi
I have been pulling out what's left of my hair on this one:
my setup is
Mac OSX 10.6.4
STS 2.3.3.M2
Roo 1.1.0.M3
Apache Tomcat 6.0.29
I have created a very simple project in roo.
entity person string name.
The errors I get are as followsCode:
Sep 21, 2010 10:13:59 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Sep 21, 2010 10:13:59 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:myfave' did not find a matching property.
Sep 21, 2010 10:13:59 PM org.apache.coyote.from11.from11Protocol init
INFO: Initializing Coyote from/1.1 on from-8400
Sep 21, 2010 10:13:59 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 614 ms
Sep 21, 2010 10:13:59 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 21, 2010 10:13:59 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Sep 21, 2010 10:14:00 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class org..web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org..web.context.ContextLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4078)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Sep 21, 2010 10:14:00 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Sep 21, 2010 10:14:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Sep 21, 2010 10:14:00 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/myfave] startup failed due to previous errors
please help I have tried this combo on Mac and PC same issue not sure what is wrong
Cheers
Lee
Hello Lee,
Try vote, petclinic or wedding from the Roo samples first...
I don't have access to Mac, for sure I know they work on PC.
Let's see what happen. We move from there
Thx
jD
Hey jD
Thanx for the reply.. I have been doing some investigating and have noticed that using a non STS version of Tomcat that the runtime Libs like Spring-core,Spring-web etc are not copied to the libs folder on the tomcat instance. Not sure why? but when the Dependent Libs are added to the libs folder it works fine. I thought that m2 would copy them there automatically??
Lee
Lee,
You can leverage your friends: mvn tomcat:run or mvn getty:run
from the the command line too.
There isn't straightest way for deploying a Roo app on developing stage.
An stand alone web server is good too. It is up to you.
Thx jD |
|