You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "shubha s.a. (JIRA)" <ji...@apache.org> on 2008/04/18 12:58:05 UTC

[jira] Created: (STR-3140) javax.servlet.ServletException: org.apache.struts.tiles.FactoryNotFoundException: null : Can't find file '/WEB-INF/MVC/tiles-defs.xml'

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.


[jira] Closed: (STR-3140) javax.servlet.ServletException: org.apache.struts.tiles.FactoryNotFoundException: null : Can't find file '/WEB-INF/MVC/tiles-defs.xml'

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli closed STR-3140.
---------------------------------

    Resolution: Not A Problem
      Assignee:     (was: Cedric Beust)

Please do not ask questions in JIRA.
Send a mail to the Struts Users mailing list:
http://struts.apache.org/mail.html

> 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.
>
> 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.