struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Damian Blazejewski <damian.blazejew...@gmail.com>
Subject Struts 2 Testing Actions
Date Sun, 24 Nov 2013 21:11:28 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message