Hi, I get different issues :(
Here is my setup: Apache Maven 3.3.9 (NON-CANONICAL_2016-07-01T11:53:38Z_mockbuild; 2016-07-01T13:53:38+02:00) Maven home: /usr/share/maven Java version: 9, vendor: Oracle Corporation Java home: /home/test/tools/jdk-9+181 Default locale: en_GB, platform encoding: UTF-8 OS name: "linux", version: "4.11.12-200.fc25.x86_64", arch: "amd64", family: "unix" At first I got weird ClassNotFoundErrors and nearly all tests failed. After updating maven-surefire-plugin to 2.20 many tests are working. The ones that still fail try to load resoures by ClassLoader but with java 9 we don't get hold of an URLClassLoader anymore and resources are not found. The ClassLoader type is: jdk.internal.loader.ClassLoaders$AppClassLoader HTH Christoph > From: Yasser Zamani <yasser.zam...@live.com> > To: "dev@struts.apache.org" <dev@struts.apache.org>, > Date: 11.08.2017 14:52 > Subject: Re: s2 and jdk9: works with newer snapshot builds > > So far I found out IntelliJ IDEA can load > javax.script.ScriptEngineManager from a jrt file system at > jrt:/java.scripting but command line can not. > > ...now working to find out how to enable command line also... > > On 8/11/2017 1:40 AM, Yasser Zamani wrote: > > You are right! I get same result with last jdk9. i.e. a lot of tests > > fail in windows cmd and also IntelliJ IDEA's maven run but IntelliJ > > IDEA's debug passes that test ! (I tested first one reported i.e. > > org.apache.struts2.components.ComponentTest). > > > > ...still working to find out why!... > > > > On 8/11/2017 12:21 AM, Lukasz Lenart wrote: > >> 2017-08-10 21:48 GMT+02:00 Yasser Zamani <yasser.zam...@live.com>: > >>> With pleasure... > >>> > >>> C:\Users\user>java -version > >>> java version "1.9.0-ea" > >>> Java(TM) SE Runtime Environment (build 1.9.0-ea-b52) > >>> Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b52, mixed mode) > >> > >> This an old build ... maybe that's why > >> > >>> However, now, as you use latest jdk, I'm going to download and try [1] > >>> to see it's result if is like your. > >> > >> Yeah, please let me know > >> > >>> and did you mean 2.5.13-SNAPSHOT or 2.3.33-SNAPSHOT? my result is for > >>> first one with goal clean install -DskipAssembly. > >> > >> 2.5.x only, we do not plan to support 2.3.x on Java 9 > >> > >> > >> Regards > >> > > > B�KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB�� > [��X��ܚX�KK[XZ[�]�][��X��ܚX�P��]˘\X�K�ܙ�B��܈Y][ۘ[�� > [X[��K[XZ[�]�Z[��]˘\X�K�ܙ�B�B > > This Email was scanned by Sophos Anti Virus