struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Struts 2 Testing Actions
Date Tue, 26 Nov 2013 06:39:14 GMT
What Struts version do you use? And can you post source of the test?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/11/24 Damian Blazejewski <damian.blazejewski@gmail.com>:
> Hello,
>
> I have a problem executing Struts 2 action test case.
> I get the following error:
>
>
> *Absent Code attribute in method that is not native or abstract in class
> file javax/servlet/jsp/PageContext *
> I have no clue what can be wrong.
>
> Thank you in advance for your help.
>
> Here are my dependencies:
>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>4.8.2</version>
>             <scope>test</scope>
>         </dependency>
>
>         <dependency>
>             <groupId>org.apache.struts</groupId>
>             <artifactId>struts2-junit-plugin</artifactId>
>             <version>${struts.version}</version>
>             <scope>test</scope>
>         </dependency>
>
>         <dependency>
>             <groupId>org.javassist</groupId>
>             <artifactId>javassist</artifactId>
>             <version>3.16.1-GA</version>
>         </dependency>
>
>         <dependency>
>             <groupId>javax.servlet</groupId>
>             <artifactId>servlet-api</artifactId>
>             <version>2.5</version>
>             <type>jar</type>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>javax.servlet.jsp</groupId>
>             <artifactId>jsp-api</artifactId>
>             <version>2.2</version>
>             <type>jar</type>
>             <scope>test</scope>
>         </dependency>
>
> Pozdrawiam/Best regards,
> Damian Błażejewski
> dblazejewski.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message