Hi Marcus, try using Java 8 instead of Java 9 or upgrade to a version of the Maven JAR plugin which supports Java 9.
See https://issues.apache.org/jira/browse/MJAR-205 <https://issues.apache.org/jira/browse/MJAR-205> for details. Cheers, Jochen > Am 25.09.2017 um 00:03 schrieb Marcus F <[email protected]>: > > I'm trying to work through the Getting Started tutorial, but when I get to > building the jar, I run into this > > [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ hello-world --- > > > [WARNING] Error injecting: org.codehaus.plexus.archiver.jar.JarArchiver > > > java.lang.ExceptionInInitializerError > > > I'm pretty new to the Java world, I have no errors in Eclipse, not really > sure what to do/check/try next. > > java -version > java version "9" > > > Java(TM) SE Runtime Environment (build 9+181) > > > Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode) > > > mvn -version > Java version: 9, vendor: Oracle Corporation > > > Java home: /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home > > > Default locale: en_US, platform encoding: UTF-8 > > > OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac" > > > > > -- > You received this message because you are subscribed to the Google Groups > "dropwizard-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
