You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/10/12 13:24:16 UTC

[jira] [Commented] (WW-4446) Struts2-Spring & JUnit plugin warn "java.io.FileNotFoundException: class path resource [org/apache/struts2/dispatcher/error.ftl]"

    [ https://issues.apache.org/jira/browse/WW-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14952966#comment-14952966 ] 

Hudson commented on WW-4446:
----------------------------

SUCCESS: Integrated in Struts-JDK7-master #371 (See [https://builds.apache.org/job/Struts-JDK7-master/371/])
WW-4446 Adds wrapper around Dispatcher in tests to avoid overwhelming  (lukaszlenart: rev 46b28e0b6365531bb25dac4a427258e70a2c24a9)
* core/src/test/java/org/apache/struts2/views/freemarker/FreemarkerResultMockedTest.java
* core/src/main/java/org/apache/struts2/util/StrutsTestCaseHelper.java


> Struts2-Spring & JUnit plugin warn "java.io.FileNotFoundException: class path resource [org/apache/struts2/dispatcher/error.ftl]"
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WW-4446
>                 URL: https://issues.apache.org/jira/browse/WW-4446
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Dispatch Filter, Plugin - JUnit, Plugin - Spring
>    Affects Versions: 2.3.20
>         Environment: Windows7-64bit
> Apache Tomcat 7.0.54
> Struts2.3.20
>            Reporter: A-pZ
>            Assignee: Lukasz Lenart
>            Priority: Minor
>              Labels: test
>             Fix For: 2.3.24
>
>         Attachments: RegisterActionTest.java, SpringJUnit_2.3.20.log
>
>
> I wrote JUnit test , Struts2,Spring-plugin,JUnit-plugin version 2.3.16.3 is work fine.
> And I replace Struts2 new version (
> Struts2.3.20 + Spring-plugin2.3.20 + JUnit-plugin2.3.20) cause internal exception and output stacktrace and wait few seconds all tests , but tests work successfully.
> I guess since 2.3.17 , org.apache.struts2.dispatcher.Dispatcher#serviceAction(HttpServletRequest, HttpServletResponse, ServletContext, ActionMapping) was deprecated, test class extends StrutsJUnit4TestCase or StrutsSpringJUnit4TestCase  not received Spring configuration or missing classpath at start up test methods.
> regards.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)