Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on project openpnp-gui: Execution validate of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/tools.jar -> [Help 1]
Failed to access classpath of mojo org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check
Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.17 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.8.0 at specified path /usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/tools.jarError: Could not find or load main class org.openpnp.Main--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/dc336b9a-4f42-4552-a482-10ae17da1ee9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi
I vaguely remember I had the same/similar error. Not sure! I don’t really know maven etc. so I’m just guessing here.
Turned out it was my firewall acting up, preventing dependency updates. I remember the error messages were not helpful, not pointing to network problems.
So perhaps check and recheck your network/internet access. Might also be a repo being temporarily down.
_Mark
Scanning for projects...
[INFO]
[INFO] ----------------------< org.openpnp:openpnp-gui >-----------------------
[INFO] Building openpnp-gui 0.0.1-alpha-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ openpnp-gui ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd /home/pnp/openpnp-dev/openpnp && git rev-parse --verify --short=7 HEAD
[INFO] Working directory: /home/pnp/openpnp-dev/openpnp
[INFO] Storing buildNumber: adc3dfb at timestamp: 1545382976602
[INFO] Storing buildScmBranch: develop
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ openpnp-gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 105 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ openpnp-gui ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ openpnp-gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ openpnp-gui ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 9 source files to /home/pnp/openpnp-dev/openpnp/target/test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.151 s
[INFO] Finished at: 2018-12-21T11:02:57+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project openpnp-gui: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
OpenPnP is developed with OpenJDK o with Oracle JDK?
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/8884e98f-59d3-4f74-a09e-c72c3a57d9b2%40googlegroups.com.

INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.openpnp:openpnp-gui >-----------------------
[INFO] Building openpnp-gui 0.0.1-alpha-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ openpnp-gui ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: /bin/sh -c cd /home/pnp/openpnp-dev/openpnp && git rev-parse --verify --short=7 HEAD
[INFO] Working directory: /home/pnp/openpnp-dev/openpnp
[INFO] Storing buildNumber: adc3dfb at timestamp: 1545459552383
[INFO] Storing buildScmBranch: develop
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ openpnp-gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 105 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ openpnp-gui ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ openpnp-gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ openpnp-gui ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ openpnp-gui ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.493 s
[INFO] Finished at: 2018-12-22T08:19:13+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project openpnp-gui: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /home/pnp/openpnp-dev/openpnp && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xmx256m -jar /home/pnp/openpnp-dev/openpnp/target/surefire/surefirebooter4435274095959849550.jar /home/pnp/openpnp-dev/openpnp/target/surefire/surefire3484503192404433659tmp /home/pnp/openpnp-dev/openpnp/target/surefire/surefire_02476405912306544576tmp
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/2e193764-9758-42bb-91b7-bf2b48253225%40googlegroups.com.
opencv_java342 (Not found in java.library.path)[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< org.openpnp:openpnp-gui >-----------------------
[INFO] Building openpnp-gui 0.0.1-alpha-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ openpnp-gui ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: C:\Users\Markus\git\openpnp
[INFO] Storing buildNumber: 930e792 at timestamp: 1562053585826
[INFO] Storing buildScmBranch: feature/valve-pump-probing-led-actuators
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ openpnp-gui ---
[INFO] Beginne Prüfung...
Prüfung beendet.
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ openpnp-gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 109 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ openpnp-gui ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ openpnp-gui ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ openpnp-gui ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ openpnp-gui ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running BasicJobTest
Configuration directory: C:\Users\Markus\AppData\Local\Temp\1562053589700-0\.openpnp
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.219 sec <<< FAILURE! - in BasicJobTest
testSimpleJob(BasicJobTest) Time elapsed: 0.219 sec <<< ERROR!
java.lang.Exception: Error while reading machine.xml (opencv_java342 (Not found in java.library.path))
at BasicJobTest.testSimpleJob(BasicJobTest.java:58)
Caused by: java.lang.reflect.InvocationTargetException
at BasicJobTest.testSimpleJob(BasicJobTest.java:58)
Caused by: java.lang.UnsatisfiedLinkError: opencv_java342 (Not found in java.library.path)
at BasicJobTest.testSimpleJob(BasicJobTest.java:58)
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/3c881ccb-03e0-4008-94b1-2b8311240d20%40googlegroups.com.
You can still use Oracle JDK <= 11 for free, under the BCL. See "Where can I get information on licensing?" at https://www.oracle.com/technetwork/java/javase/overview/faqs-jsp-136696.html.
All OpenPnP builds are tested with OpenJDK + HotSpot 8-11, so it should work fine.
For the error, try OpenJDK with HotSpot, rather then OpenJ9.
eclipse.ini file, which is side-by-side by the eclipse.exe launcher (not very well designed IMHO).opencv_java342 (Not found in java.library.path)--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/45269ed6-9bfd-4341-bef2-f5a1ccebe1bd%40googlegroups.com.
Then you can select which JDK is used to run a given project in that project's settings
--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/88c0a8b6-6a4d-4819-b46f-04034bfd7843%40googlegroups.com.