Parsing Error Processing Resource Path File Struts-config.xml
This Site Careers Other all forums Forum: Struts Parsing error processing resource path /WEB-INF/struts-config.xml Anjali Peshkar Greenhorn Posts: 1 posted 9 years ago Hi, When i deploy my struts application in tomcat 5.0.28 it works fine. But the same application when deployed in tomcat 5.0.14 gives the following error. ERROR [http8080-Processor1] action.ActionServlet (ActionServlet.java:768) - Parsing error processing resource path /WEB-INF/struts-config.xml java.lang.reflect.InvocationTargetException at org.apache.commons.digester.Digester.createSAXException(Digester.java:2792) at org.apache.commons.digester.Digester.createSAXException(Digester.java:2818) at org.apache.commons.digester.Digester.startElement(Digester.java:1289) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1572) at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:738) at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:687) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:333) at javax.servlet.GenericServlet.init(GenericServlet.java:256) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1044) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads https://coderanch.com/t/56202/Struts/framework/Parsing-error-processing-resource-path with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: http://stackoverflow.com/questions/19875210/javax-servlet-unavailableexception-missing-configuration-resource-for-path-web Sign up javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml up vote 3 down vote favorite I am new to Struts and I am trying to run a sample login web-application using Struts but I am unable to get the result due to (javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml) the error. I had done everything in configuring struts in eclipse. I even don't no what the exception is? please anyone help me the errors I am getting are: javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.xml at org.apache.struts.action.ActionServlet.splitAndResolvePaths(ActionServlet.java:1872) at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:683) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:356) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMet
Tag/Forum map, and to http://spring.io/questions http://forum.spring.io/forum/other-spring-related/architecture/34780-parsing-error-processing-resource-path-web-inf-struts-config-xml for a curated list of stackoverflow tags that http://grokbase.com/t/struts/user/02a4xhrtn9/parsing-error-processing-resource-path-web-inf-struts-config-xml Pivotal engineers, and the community, monitor. Announcement Announcement Module Collapse No announcement yet. Parsing error processing resource path /WEB-INF/struts-config.xml Page Title Module Move Remove Collapse X Conversation Detail Module Collapse Posts parsing error Latest Activity Search Forums Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts nmv_mani Junior Member Join Date: parsing error processing Sep 2007 Posts: 3 #1 Parsing error processing resource path /WEB-INF/struts-config.xml Sep 3rd, 2007, 04:50 AM Hello All, I am getting the following exception with Tomcat5.5. I am using struts and spring combined frame work... Does anybody know what would be the problem? -Mani org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/emplace-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'strutsWrappingController' defined in ServletContext resource [/WEB-INF/emplace-servlet.xml]: Invocation of init method failed; nested exception is javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:534) org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 46) org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:166) org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:243) org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:167) org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:351) org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:689) org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:358) org.springframework.web.servlet.FrameworkServlet.c reateWebApplicationContext(Framework
any body help me?-----Original Message-----From: Ramu, Manjukumar [PRDUS]Sent: Friday, October 04, 2002 12:09 PMTo: 'Struts Users Mailing List'Subject: Parsing error processing resource path/WEB-INF/struts-config.xmlHello All,I am getting the following exception with Weblogic 6.1 SP3 in UNIX.My applciation is working fine in WINDOWS 2000, Just I copied theapplication to the Unix platform, I am getting the following error. Doesanybody know what would be the problem?Thanks for the Help!-Manjujavax.servlet.UnavailableException: Parsing error processing resource path/WEB-INF/struts-config.xmlatorg.apache.struts.action.ActionServlet.initApplicationConfig(ActionServlet.java:780)atorg.apache.struts.action.ActionServlet.init(ActionServlet.java:417)at javax.servlet.GenericServlet.init(GenericServlet.java:258)atweblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:713)atweblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:656)atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:601)atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2272)atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2216)atweblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:495)atweblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49) reply Tweet Search Discussions Search All Groups user 7 responses Oldest Nested Galbreath, Mark I am no Unix guru, but it seems to me your path is not Unix-enough. A "/" in Unix is your root (home) directory, not relative unless interpretted by a web server. Try an absolute path to WEB-INF. Mark -----Original Message----- From: Ramu, Manjukumar [PRDUS] Sent: Friday, October 04, 2002 1:20 P