Is this on the project where it was running previously or a brand new one?
I ran into similar issue when trying to run the webapp that was checked out
into the project with arbitrary naming scheme (extra suffix) ... while this is
perfectly valid anywhere in eclipse, resolving modules from the webapp stopped
working (they seemed to be resolved, but classes could not be found).
What seems to be full proof in this case is to trash all and then reinstall
eclipse, create new workspace and checkout fresh project from svn ... bit time
consuming ... sorry.
HTH,
Jan
On Dec 6, 2010, at 3:29 PM, Will Scheidegger wrote:
>
> Dear Magnolians
>
> I'm trying to follow the best practices here, fighting with Eclipse etc...
>
> In Eclipse I have an webapp project setup up which extends the magnolia
> webapp. Running it from within Eclipse is now giving me problems. This ran
> fine before – while I was under "surveillance" of a Magnolia staff member of
> course ;-) – but now I get a ClassNotFoundException.
>
> Tried:
> - cleaning the project
> - trashing the repository
> - restarting Eclipse
>
> The error log:
>
> Dec 6, 2010 3:18:56 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
> property 'source' to 'org.eclipse.jst.j2ee.server:training-stk-webapp' did
> not find a matching property.
> Dec 6, 2010 3:18:56 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context/Loader}
> Setting property 'useSystemClassLoaderAsParent' to 'false' did not find a
> matching property.
> Dec 6, 2010 3:18:56 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
> Dec 6, 2010 3:18:56 PM org.apache.coyote.http11.Http11Protocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Dec 6, 2010 3:18:56 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 562 ms
> Dec 6, 2010 3:18:56 PM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Dec 6, 2010 3:18:56 PM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
> Dec 6, 2010 3:18:57 PM org.apache.catalina.core.StandardContext
> addApplicationListener
> INFO: The listener "info.magnolia.cms.servlets.MgnlServletContextListener" is
> already configured for this context. The duplicate definition has been
> ignored.
> Dec 6, 2010 3:18:57 PM org.apache.catalina.core.StandardContext listenerStart
> SEVERE: Error configuring application listener of class
> info.magnolia.cms.servlets.MgnlServletContextListener
> java.lang.ClassNotFoundException:
> info.magnolia.cms.servlets.MgnlServletContextListener
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
> at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
>
> Can anyone shed a light on this or tell me what else I could try?
>
> Thanks!
>
> -will
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------