Could you please list the steps you followed to get this problem? I just
tried with the Struts basic archetype and it all worked as expected.

Mike

On 11/28/07, hkadejo <[EMAIL PROTECTED]> wrote:
>
>
> xfire-servlet.xml doesn't exist in WEB-INF
> why?
> any solution?
>
> thanks...
>
>
> Yongping wrote:
> >
> > Looks like xfire-servlet.xml doesn't exist in WEB-INF. Please check it.
> > Yongping
> >
> >
> > hkadejo wrote:
> >>
> >> I run mvn jetty:run in projects (Spring and Struts) and...
> >>
> >> [myproject] ERROR [main] ContextLoader.initWebApplicationContext(206) |
> >> Context initialization failed
> >> org.springframework.beans.factory.BeanDefinitionStoreException:
> >> IOException parsing XML document from ServletContext resource
> >> [/WEB-INF/xfire-servlet.xml]; nested exception is
> >> java.io.FileNotFoundException: Could not open ServletContext resource
> >> [/WEB-INF/xfire-servlet.xml]
> >>      at
> >>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
> (XmlBeanDefinitionReader.java:320)
> >>      at
> >>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
> (XmlBeanDefinitionReader.java:290)
> >>      at
> >>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
> (AbstractBeanDefinitionReader.java:142)
> >>      at
> >>
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
> (AbstractBeanDefinitionReader.java:158)
> >>      at
> >>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions
> (XmlWebApplicationContext.java:124)
> >>      at
> >>
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions
> (XmlWebApplicationContext.java:92)
> >>      at
> >>
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory
> (AbstractRefreshableApplicationContext.java:97)
> >>      at
> >>
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory
> (AbstractApplicationContext.java:411)
> >>      at
> >> org.springframework.context.support.AbstractApplicationContext.refresh(
> AbstractApplicationContext.java:338)
> >>      at
> >>
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> ContextLoader.java:251)
> >>      at
> >> org.springframework.web.context.ContextLoader.initWebApplicationContext
> (ContextLoader.java:190)
> >>      at
> >>
> org.springframework.web.context.ContextLoaderListener.contextInitialized(
> ContextLoaderListener.java:45)
> >>      at
> >> org.mortbay.jetty.handler.ContextHandler.startContext(
> ContextHandler.java:539)
> >>      at org.mortbay.jetty.servlet.Context.startContext(Context.java
> :135)
> >>      at
> >> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java
> :1216)
> >>      at
> >> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java
> :509)
> >>      at
> >> org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:447)
> >>      at
> >> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(
> Jetty6PluginWebAppContext.java:110)
> >>      at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
> :40)
> >>      at
> >> org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> >>      at
> >> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(
> ContextHandlerCollection.java:156)
> >>      at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
> :40)
> >>      at
> >> org.mortbay.jetty.handler.HandlerCollection.doStart(
> HandlerCollection.java:147)
> >>      at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
> :40)
> >>      at
> >> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java
> :117)
> >>      at org.mortbay.jetty.Server.doStart(Server.java:222)
> >>      at
> >> org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java
> :40)
> >>      at
> >> org.mortbay.jetty.plugin.Jetty6PluginServer.start(
> Jetty6PluginServer.java:132)
> >>      at
> >> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(
> AbstractJettyMojo.java:337)
> >>      at
> >> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(
> AbstractJettyMojo.java:279)
> >>      at
> >> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(
> AbstractJettyRunMojo.java:203)
> >>      at
> >> org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:182)
> >>      at
> >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:443)
> >>      at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:539)
> >>      at
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
> DefaultLifecycleExecutor.java:493)
> >>      at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:463)
> >>      at
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:311)
> >>      at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (DefaultLifecycleExecutor.java:278)
> >>      at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:143)
> >>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> >>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> >>      at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> >>      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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
> >>      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>      at org.codehaus.classworlds.Launcher.mainWithExitCode(
> Launcher.java:430)
> >>      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> Caused by: java.io.FileNotFoundException: Could not open ServletContext
> >> resource [/WEB-INF/xfire-servlet.xml]
> >>      at
> >>
> org.springframework.web.context.support.ServletContextResource.getInputStream
> (ServletContextResource.java:101)
> >>      at
> >>
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
> (XmlBeanDefinitionReader.java:307)
> >>      ... 49 more
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/AppFuse-2.0.1-Jetty-Error-tf4888900s2369.html#a13993859
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to