hi all...

i am newbie trying to run some artemis examples... using artemis 2.9.0 with java 1.8.0_172. i run some examples successfully, but when i try the examples for REST in examples\features\standard\rest i get the below error when running mvn jetty:run

i looked at Substitutions$Target_PauseNode.class and it seems it is compiled with java 9... but i read artemis requires java 8+

how should i proceed?

thank you and
kind regards.
luigi



Caused by: java.lang.RuntimeException: Error scanning entry META-INF/versions/9/org/wildfly/common/lock/Substitutions$Target_PauseNode.class from jar file:///C:/Users/Luigi%20Suardi/.m2/repository/org/wildfly/common/wildfly-common/1.5.1.Final/wildfly-common-1.5.1.Final.jar     at org.eclipse.jetty.annotations.AnnotationParser.parseJar (AnnotationParser.java:891)     at org.eclipse.jetty.annotations.AnnotationParser.parse (AnnotationParser.java:837)     at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call (AnnotationConfiguration.java:159)     at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run (AnnotationConfiguration.java:464)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:672)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:590)
    at java.lang.Thread.run (Thread.java:748)
Caused by: java.lang.IllegalArgumentException
    at org.objectweb.asm.ClassReader.<init> (Unknown Source)
    at org.objectweb.asm.ClassReader.<init> (Unknown Source)
    at org.objectweb.asm.ClassReader.<init> (Unknown Source)
    at org.eclipse.jetty.annotations.AnnotationParser.scanClass (AnnotationParser.java:959)     at org.eclipse.jetty.annotations.AnnotationParser.parseJarEntry (AnnotationParser.java:940)     at org.eclipse.jetty.annotations.AnnotationParser.parseJar (AnnotationParser.java:887)     at org.eclipse.jetty.annotations.AnnotationParser.parse (AnnotationParser.java:837)     at org.eclipse.jetty.annotations.AnnotationConfiguration$ParserTask.call (AnnotationConfiguration.java:159)     at org.eclipse.jetty.annotations.AnnotationConfiguration$1.run (AnnotationConfiguration.java:464)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob (QueuedThreadPool.java:672)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run (QueuedThreadPool.java:590)
    at java.lang.Thread.run (Thread.java:748)

Reply via email to