javax.servlet.ServletException:
org.apache.struts.tiles.FactoryNotFoundException: null : Can't find file
'/WEB-INF/MVC/tiles-defs.xml'
--------------------------------------------------------------------------------------------------------------------------------------
Key: STR-3140
URL: https://issues.apache.org/struts/browse/STR-3140
Project: Struts 1
Issue Type: Bug
Affects Versions: 1.3.8
Environment: MAC OS
Reporter: shubha s.a.
Assignee: Cedric Beust
Hi,
am trying to execute JUnit test caes for action servlets. When I run it am
getting the following error.
Please help me to resolve this as soon as possible.
15:30:49,789 ERROR I18nFactorySet:194 - null : Can't find file
'/WEB-INF/MVC/tiles-defs.xml'
15:30:49,790 ERROR TilesPlugin:228 - Can't create Tiles definition factory for
module ''.
15:30:49,792 ERROR ActionServlet:364 - Unable to initialize Struts
ActionServlet due to an unexpected exception or error thrown, so marking the
servlet as unavailable. Most likely, this is due to an incorrect or missing
library dependency.
javax.servlet.ServletException:
org.apache.struts.tiles.FactoryNotFoundException: null : Can't find file
'/WEB-INF/MVC/tiles-defs.xml'
at
org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:233)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137)
at
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at
servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:326)
at
servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.