thank you,
             my problem has been rectified. i am using all the api's which
are given by the apache. i am not using this spring classes i have removed
that jar file from my lib.it is working fine.One more query is there nay
problem if i use strut2 with tomcat 6.0?

vijay


On 11/17/07, Omkar patil <[EMAIL PROTECTED]> wrote:
>
> Vijay,
>
> Looks like you are using the spring plugin, and the following snippet
> from the stacktrace clearly indicates that the spring classes are not
> available -
>
> java.lang.NoClassDefFoundError:
> org/springframework/context/ApplicationContextAware
>
> If you look at the spring plugin pom.xml, it declares dependency on the
> following spring jars -
>
> spring-beans 2.0.5
> spring-core 2.0.5
> spring-context 2.0.5
> spring-web 2.0.5
>
> If you are using maven, there should not be any problem of dependencies.
> But if you are doing it manually, then you'll need to add all these
> jar's to you lib.
>
> -Omkar
>
> vijay vijay wrote:
> > Hi all
> >          i am getting an error like fallowing way. i have downloded
> latest
> > version copied all the jars  still i am facing this p[roblem.i ma
> running on
> > tomcat5.5 and ide is eclipse.
> >
> > some one help me.plzzzzzzzz
> >
> > Nov 17, 2007 10:58:08 AM
> org.apache.catalina.core.StandardContextfilterStart
> > SEVERE: Exception starting filter struts2
> > Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory class:
> > org.apache.struts2.spring.StrutsSpringObjectFactory - bean -
> > jar:file:/C:/Tomcat%205.5/webapps/DbConect/WEB-INF/lib/struts2-
> > spring-plugin-2.0.11.jar!/struts-plugin.xml:30:132
> >  at
> >
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register
> (
> > XmlConfigurationProvider.java:208)
> >  at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(
> > StrutsXmlConfigurationProvider.java:101)
> >  at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(
> > DefaultConfiguration.java:131)
> >  at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration
> (
> > ConfigurationManager.java:52)
> >  at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(
> > Dispatcher.java:395)
> >  at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
> >  at org.apache.struts2.dispatcher.FilterDispatcher.init(
> > FilterDispatcher.java:201)
> >  at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
> > ApplicationFilterConfig.java:221)
> >  at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
> > ApplicationFilterConfig.java:302)
> >  at org.apache.catalina.core.ApplicationFilterConfig.<init>(
> > ApplicationFilterConfig.java:78)
> >  at org.apache.catalina.core.StandardContext.filterStart(
> > StandardContext.java:3635)
> >  at org.apache.catalina.core.StandardContext.start(StandardContext.java
> > :4222)
> >  at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:760)
> >  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :740)
> >  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :544)
> >  at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java
> :825)
> >  at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :714)
> >  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :490)
> >  at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
> >  at org.apache.catalina.startup.HostConfig.lifecycleEvent(
> HostConfig.java
> > :293)
> >  at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:120)
> >  at org.apache.catalina.core.ContainerBase.backgroundProcess(
> > ContainerBase.java:1306)
> >  at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > (ContainerBase.java:1570)
> >  at
> >
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren
> > (ContainerBase.java:1579)
> >  at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(
> > ContainerBase.java:1559)
> >  at java.lang.Thread.run(Unknown Source)
> > Caused by: java.lang.NoClassDefFoundError:
> > org/springframework/context/ApplicationContextAware
> >  at java.lang.ClassLoader.defineClass1(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at org.apache.catalina.loader.WebappClassLoader.findClassInternal(
> > WebappClassLoader.java:1847)
> >  at org.apache.catalina.loader.WebappClassLoader.findClass(
> > WebappClassLoader.java:873)
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1326)
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1205)
> >  at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >  at java.lang.ClassLoader.defineClass1(Native Method)
> >  at java.lang.ClassLoader.defineClass(Unknown Source)
> >  at java.security.SecureClassLoader.defineClass(Unknown Source)
> >  at org.apache.catalina.loader.WebappClassLoader.findClassInternal(
> > WebappClassLoader.java:1847)
> >  at org.apache.catalina.loader.WebappClassLoader.findClass(
> > WebappClassLoader.java:873)
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1326)
> >  at org.apache.catalina.loader.WebappClassLoader.loadClass(
> > WebappClassLoader.java:1205)
> >  at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(
> > ClassLoaderUtil.java:139)
> >  at
> >
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register
> (
> > XmlConfigurationProvider.java:180)
> >  ... 25 more
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to