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

Kiran Kumar commented on WW-5032:
---------------------------------

pom.xml

 

<project xmlns="http://maven.apache.org/POM/4.0.0";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
 <modelVersion>4.0.0</modelVersion>
 <groupId>com.mkyong.common</groupId>
 <artifactId>Struts2Example</artifactId>
 <packaging>war</packaging>
 <version>com.mkyong.common</version>
 <name>Struts2Example Maven Webapp</name>
 <url>http://maven.apache.org</url>
 <dependencies>

<!-- jUnit -->


 <!-- Struts 2 -->
 <dependency>
 <groupId>org.apache.struts</groupId>
 <artifactId>struts2-core</artifactId>
 <version>2.5.20</version>
 <!-- <exclusions>
 <exclusion>
 <groupId>org.apache.tomcat</groupId>
 <artifactId>servlet-api</artifactId>
 </exclusion>
 </exclusions> -->
 </dependency>
 <dependency>
 <groupId>org.apache.struts</groupId>
 <artifactId>struts2-junit-plugin</artifactId>
 <version>2.5.20</version>
 </dependency>
 <dependency>
 <groupId>org.springframework</groupId>
 <artifactId>spring-test</artifactId>
 <version>4.3.20.RELEASE</version>
 <scope>test</scope>

</dependency>
 <dependency>
 <groupId>org.apache.struts</groupId>
 <artifactId>struts2-spring-plugin</artifactId>
 <version>2.5.20</version>
 </dependency>
 <dependency>
 <groupId>org.springframework</groupId>
 <artifactId>spring-core</artifactId>
 <version>4.3.20.RELEASE</version>
 </dependency>
 <dependency>
 <groupId>org.springframework</groupId>
 <artifactId>spring-context</artifactId>
 <version>4.3.20.RELEASE</version>
 </dependency>
 <dependency>
 <groupId>org.springframework</groupId>
 <artifactId>spring-beans</artifactId>
 <version>4.3.20.RELEASE</version>
 </dependency>

<!-- <dependency> -->
<!-- <groupId>org.apache.struts</groupId> -->
<!-- <artifactId>struts2-junit-plugin</artifactId> -->
<!-- <version>2.5.20</version> -->
<!-- </dependency> -->
 <dependency>
 <groupId>junit</groupId>
 <artifactId>junit</artifactId>
 <version>4.12</version>
 </dependency>
 <dependency>
 <groupId>org.apache.tomcat</groupId>
 <artifactId>tomcat-catalina</artifactId>
 <version>9.0.16</version>

</dependency>
 
 <dependency>
 <groupId>org.springframework</groupId>
 <artifactId>spring-context-support</artifactId>
 <version>4.3.20.RELEASE</version>
 </dependency>

<!-- MySQL database driver -->
 <dependency>
 <groupId>mysql</groupId>
 <artifactId>mysql-connector-java</artifactId>
 <version>5.1.9</version>
 </dependency>

<!-- Hibernate core -->


 <dependency>
 <groupId>commons-logging</groupId>
 <artifactId>commons-logging</artifactId>
 <version>1.1.1</version>
 </dependency>

<dependency>
 <groupId>commons-collections</groupId>
 <artifactId>commons-collections</artifactId>
 <version>3.2.1</version>
 </dependency>

<dependency>
 <groupId>cglib</groupId>
 <artifactId>cglib</artifactId>
 <version>2.2</version>
 </dependency>
 <dependency>
 <groupId>org.apache.logging.log4j</groupId>
 <artifactId>log4j-core</artifactId>
 <version>2.11.2</version>
 </dependency>
 <dependency>
 <groupId>org.apache.logging.log4j</groupId>
 <artifactId>log4j-api</artifactId>
 <version>2.11.2</version>
 </dependency>

</dependencies>
 <build>
 <plugins>
 <plugin>
 <groupId>org.apache.maven.plugins</groupId>
 <artifactId>maven-compiler-plugin</artifactId>
 <version>3.8.0</version>
 <configuration>
 <source>11</source>
 <target>11</target>
 <excludes>
 <exclude>${project.basedir}\src\main\java\module-info.java</exclude>
 </excludes>
 <release>11</release>
 </configuration>
 </plugin>
 </plugins>
 <finalName>Struts2Example</finalName>

</build>
</project>

> Struts 2 Junit Plugin is not working with Zulu JDK11
> ----------------------------------------------------
>
>                 Key: WW-5032
>                 URL: https://issues.apache.org/jira/browse/WW-5032
>             Project: Struts 2
>          Issue Type: Dependency
>          Components: Core, Plugin - JUnit
>    Affects Versions: 2.5.20
>         Environment: Zulu JDK 11.0
> Struts 2.5.20
> Struts 2 Junit Plugin V 2.5.20
> Junit 4.12
>            Reporter: Kiran Kumar
>            Priority: Blocker
>         Attachments: Error.PNG
>
>
> Unable to execute Junit test cases on Struts 2 using JDK 11.0 platform.Please 
> find the screens shots of the issues we are facing. Would really appreciate 
> your help with this as we are stuck and unable to move forward and losing 
> time for a key deliverable.[^Junit_JDK 11.0_Struts 2 _Issue.docx]



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

Reply via email to