struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yasser Zamani (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-5015) Struts 2 unit testing using StrutTestCase class
Date Thu, 07 Feb 2019 09:30:00 GMT

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

Yasser Zamani commented on WW-5015:
-----------------------------------

Yes and please attach the complete stack trace of exception :)

> Struts 2 unit testing using StrutTestCase class
> -----------------------------------------------
>
>                 Key: WW-5015
>                 URL: https://issues.apache.org/jira/browse/WW-5015
>             Project: Struts 2
>          Issue Type: Task
>          Components: Unit Tests
>    Affects Versions: 2.5.17
>            Reporter: vaitsis vagias
>            Priority: Major
>              Labels: test
>             Fix For: 2.5.21, 2.6
>
>         Attachments: stack trace.txt
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Hello,
> I am facing an issue while trying to write a unit test for an action class. Although
i extend StrutsTestCase based on your official documentation, when i run it i get the following
error.
>  
> Unable to load configuration. - interceptor - jar:file:/C:/Users/vaits/.m2/repository/org/apache/struts/struts2-core/2.5.17/struts2-core-2.5.17.jar!/struts-default.xml:228:127
>  
> Could you please consult me  in order to overcome this issue?
>  
> Thank you in advance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message