Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Error Starting on Tomcat

Skip Hollowell

2007-03-09

Replies:

After several Eclipse restarts with -clean and a hundred other options,
I finally gave it the ole reboot and test. I don't think I will ever
truly understand what goes on inside that metal box on my desk, but at
least everything is functioning again.

Thanks for your help.

Skip.

Alex Wibowo wrote:
> I would try to recompile the entire app. NoClassDefFoundError generally
> relates to different JAR files that is shipped .. vs the one that was
> used
> to compile the app.
>
> On 3/9/07, Skip Hollowell <skip@...
> <http://www.nabble.com/user/SendEmail.jtp?type=post&post=9386591&i=0>>
> wrote:
> >
> > This morning, I was playing with my setup in eclipse, and I moved some
> > of my libraries around, and then I decided to move them back to where
> > they originally were. I can no longer start my tomcat instance, as I
> > get the following error:
> >
> > Mar 8, 2007 3:15:17 PM
> org.apache.catalina.core.StandardContextfilterStart
> > SEVERE: Exception starting filter struts2
> > java.lang.NoClassDefFoundError:
> > com/opensymphony/xwork2/config/ConfigurationProvider
> >   at
> > org.apache.struts2.dispatcher.FilterDispatcher.createDispatcher(
> > FilterDispatcher.java:239)
> >   at
> >
> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java
> > :200)
> >   at
> > org.apache.catalina.core.ApplicationFilterConfig.getFilter(
> > ApplicationFilterConfig.java:225)
> >   at
> > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
> > ApplicationFilterConfig.java:308)
> >   at
> > org.apache.catalina.core.ApplicationFilterConfig.<init>(
> > ApplicationFilterConfig.java:79)
> >   at
> >
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java
> > :3563)
> >   at
> >
> org.apache.catalina.core.StandardContext.start (StandardContext.java:4133)
> >   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> > :1012)
> >   at
> org.apache.catalina.core.StandardHost.start (StandardHost.java:718)
> >   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java
> > :1012)
> >   at
> > org.apache.catalina.core.StandardEngine.start (StandardEngine.java:442)
> >   at
> >
> org.apache.catalina.core.StandardService.start (StandardService.java:450)
> >   at
> > org.apache.catalina.core.StandardServer.start (StandardServer.java:680)
> >   at org.apache.catalina.startup.Catalina.start (Catalina.java:536)
> >   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:585)
> >   at org.apache.catalina.startup.Bootstrap.start (Bootstrap.java:275)
> >   at org.apache.catalina.startup.Bootstrap.main (Bootstrap.java:413)
> > Mar 8, 2007 3:15:17 PM org.apache.catalina.core.StandardContext start
> > SEVERE: Error filterStart
> >
> > My web.xml, where the filter is defined, has not changed. The jar
> files
> > are in their 'proper' place WEB-INF/lib now, and eclipse sees them, and
> > there are no compile errors. What else might I be missing in this
> > setup?  Very frustrating as things were progressing nicely up until
> > this point.
> >
> > Thanks for any help,
> >
> > Skip Hollowell
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@...
> <http://www.nabble.com/user/SendEmail.jtp?type=post&post=9386591&i=1>
> > For additional commands, e-mail: user-help@...
> <http://www.nabble.com/user/SendEmail.jtp?type=post&post=9386591&i=2>
> >
> >
>
>
> --
> Best regards,
>
>
> Alex Wibowo
> -------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.