Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/11/2012, 02:18
slowhands
 
Fecha de Ingreso: noviembre-2012
Mensajes: 4
Antigüedad: 12 años, 1 mes
Puntos: 1
Respuesta: Eclipse Java EE IDE for Web Developers + Tomcat 7

at com.opensymphony.xwork2.config.providers.XmlConfig urationProvider.register(XmlConfigurationProvider. java:243)
at org.apache.struts2.config.StrutsXmlConfigurationPr ovider.register(StrutsXmlConfigurationProvider.jav a:102)
at com.opensymphony.xwork2.config.impl.DefaultConfigu ration.reloadContainer(DefaultConfiguration.java:2 10)
at com.opensymphony.xwork2.config.ConfigurationManage r.getConfiguration(ConfigurationManager.java:66)
... 18 more
Caused by: java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObject Container
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1559)
at com.opensymphony.xwork2.util.ClassLoaderUtil.loadC lass(ClassLoaderUtil.java:152)
at com.opensymphony.xwork2.config.providers.XmlConfig urationProvider.register(XmlConfigurationProvider. java:214)
... 21 more
nov 15, 2012 1:52:31 AM org.apache.catalina.core.StandardContext filterStart
SEVERE: Excepción arrancando filtro struts2
Unable to load configuration. - bean - jar:file:/H:/xampplite/tomcat/webapps/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/joaquin1/WEB-INF/lib/struts2-gxp-plugin-2.3.4.1.jar!/struts-plugin.xml:8:162
at org.apache.struts2.dispatcher.Dispatcher.init(Disp atcher.java:450)
at org.apache.struts2.dispatcher.ng.InitOperations.in itDispatcher(InitOperations.java:74)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrep areAndExecuteFilter.init(StrutsPrepareAndExecuteFi lter.java:51)
at org.apache.catalina.core.ApplicationFilterConfig.i nitFilter(ApplicationFilterConfig.java:277)
at org.apache.catalina.core.ApplicationFilterConfig.g etFilter(ApplicationFilterConfig.java:258)
at org.apache.catalina.core.ApplicationFilterConfig.s etFilterDef(ApplicationFilterConfig.java:382)
at org.apache.catalina.core.ApplicationFilterConfig.< init>(ApplicationFilterConfig.java:103)
at org.apache.catalina.core.StandardContext.filterSta rt(StandardContext.java:4650)
at org.apache.catalina.core.StandardContext.startInte rnal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unkn own Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: Unable to load configuration. - bean - jar:file:/H:/xampplite/tomcat/webapps/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/joaquin1/WEB-INF/lib/struts2-gxp-plugin-2.3.4.1.jar!/struts-plugin.xml:8:162
at com.opensymphony.xwork2.config.ConfigurationManage r.getConfiguration(ConfigurationManager.java:69)
at org.apache.struts2.dispatcher.Dispatcher.init_Prel oadConfiguration(Dispatcher.java:390)
at org.apache.struts2.dispatcher.Dispatcher.init(Disp atcher.java:437)
... 16 more
Caused by: Unable to load bean: type:org.apache.struts2.views.gxp.inject.InjectedO bjectContainer class:org.apache.struts2.views.gxp.inject.Injected ObjectContainer - bean - jar:file:/H:/xampplite/tomcat/webapps/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/joaquin1/WEB-INF/lib/struts2-gxp-plugin-2.3.4.1.jar!/struts-plugin.xml:8:162
at com.opensymphony.xwork2.config.providers.XmlConfig urationProvider.register(XmlConfigurationProvider. java:243)
at org.apache.struts2.config.StrutsXmlConfigurationPr ovider.register(StrutsXmlConfigurationProvider.jav a:102)
at com.opensymphony.xwork2.config.impl.DefaultConfigu ration.reloadContainer(DefaultConfiguration.java:2 10)
at com.opensymphony.xwork2.config.ConfigurationManage r.getConfiguration(ConfigurationManager.java:66)
... 18 more
Caused by: java.lang.ClassNotFoundException: org.apache.struts2.views.gxp.inject.InjectedObject Container
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1559)
at com.opensymphony.xwork2.util.ClassLoaderUtil.loadC lass(ClassLoaderUtil.java:152)
at com.opensymphony.xwork2.config.providers.XmlConfig urationProvider.register(XmlConfigurationProvider. java:214)
... 21 more

nov 15, 2012 1:52:31 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error filterStart
nov 15, 2012 1:52:31 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Falló en arranque del Contexto [/joaquin] debido a errores previos
nov 15, 2012 1:52:32 AM org.apache.catalina.core.StandardContext listenerStop
SEVERE: Excepción enviando evento de contexto destruído a instancia de escuchador de clase org.apache.myfaces.webapp.StartupServletContextLis tener
java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletCont extListener</listener-class>
</listener>

at javax.faces.FactoryFinder._getFactory(FactoryFinde r.java:286)
at javax.faces.FactoryFinder.getFactory(FactoryFinder .java:206)
at org.apache.myfaces.context.servlet.FacesContextImp lBase.getApplication(FacesContextImplBase.java:159 )
at org.apache.myfaces.webapp.AbstractFacesInitializer ._dispatchApplicationEvent(AbstractFacesInitialize r.java:285)
at org.apache.myfaces.webapp.AbstractFacesInitializer .destroyFaces(AbstractFacesInitializer.java:320)
at org.apache.myfaces.webapp.StartupServletContextLis tener.contextDestroyed(StartupServletContextListen er.java:161)
at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160)
at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unkn own Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)

nov 15, 2012 1:52:32 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8088"]
nov 15, 2012 1:52:32 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8007"]
nov 15, 2012 1:52:32 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 35554 ms