Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Issues #10

Open
everettperiman opened this issue Feb 24, 2022 · 2 comments
Open

Compilation Issues #10

everettperiman opened this issue Feb 24, 2022 · 2 comments

Comments

@everettperiman
Copy link

I am having some issues getting MVN to compile correctly on my Ubunut 20.04 system. I currently have JDK 10 installed but I get this error code.

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< nl.tudelft:yardstick >------------------------
[INFO] Building Yardstick 2.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/3.0.0-M5/maven-failsafe-plugin-3.0.0-M5.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.425 s
[INFO] Finished at: 2022-02-24T17:57:57-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-failsafe-plugin:jar:3.0.0-M5: Could not transfer artifact org.apache.maven.plugins:maven-failsafe-plugin:pom:3.0.0-M5 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/3.0.0-M5/maven-failsafe-plugin-3.0.0-M5.pom: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [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/PluginResolutionException

@jdonkervliet
Copy link
Member

jdonkervliet commented Feb 28, 2022

Hi @everettperiman, thanks for reaching out. I'm not exactly sure what causes this dependency issue. I'll try to reproduce the error locally today and see if I can find out more.

@jdonkervliet
Copy link
Member

The issue seems to be caused by the SSL certificates installed (with Java). Which JRE/JDK version are you using (e.g., OpenJDK or Oracle + version number). Could you try updating your Java version?

anmolbhatia05 pushed a commit that referenced this issue May 8, 2023
add TileSquare packet, fix liquid update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants