2
daCoda
7y

I have a problem with Maven. Every time I use a Maven plugin from Maven central I can't run any of the goals due to a problem with Maven/Java connecting to Maven central over SSL. This is a hugh problem because we have to make a executable Jar for my programming class. Has anyone ever encounterd this problem? Java throws an exception with the message "trustAnchor must not be empty".
Debug log -> https://pastebin.com/BezqJhHK

Comments
  • 0
    1. Use Gradle :^)
    2. Could be a Java issue. Afaik some Java 9 and higher openjdk builds were shipped without any certificates. Try using oracle, or the very latest Java 10 openjdk ones.
Add Comment