GithubHelp home page GithubHelp logo

Comments (3)

gvanderploeg avatar gvanderploeg commented on May 28, 2024

The ultimate error ("InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty") together with the first warning ("JAVA_HOME
env variable is not set") make me suspicious of your local Java/maven setup.

  • Make sure you have set JAVA_HOME to the home of your JDK
  • Make sure you actually use a JDK and not merely a JRE
  • What OS are you using?

Some interesting troubleshooting info can be found here:
http://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty

Hope this helps.

With kind regards,
Geert

On 15 February 2016 at 13:25, Matthias Keller [email protected]
wrote:

Hi, I want to give this project a try but failed on compiling it; most
likely because mvn is new to me. I checked the provided helps and searched
the web but were not able to resolve my issue. Please, I would appreciate
any hint or assistance. Best regards, Matthias

mvn clean install
Warning: JAVA_HOME environment variable is not set.
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M;
support was removed in 8.0
[INFO] Scanning for projects...
Downloading:
https://build.surfconext.nl/repository/public/releases/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
Downloading:
https://repo.maven.apache.org/maven2/org/apache/maven/wagon/wagon-webdav/1.0-beta-2/wagon-webdav-1.0-beta-2.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin
org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for
org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2 @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]

[ERROR] The project nl.surfnet.apis:apis-parent:1.3.6-SNAPSHOT
(/home/mkeller/apis/pom.xml) has 1 error
[ERROR] Unresolveable build extension: Plugin
org.apache.maven.wagon:wagon-webdav:1.0-beta-2 or one of its dependencies
could not be resolved: Failed to read artifact descriptor for
org.apache.maven.wagon:wagon-webdav:jar:1.0-beta-2: Could not transfer
artifact org.apache.maven.wagon:wagon-webdav:pom:1.0-beta-2 from/to
openconext-releases (
https://build.surfconext.nl/repository/public/releases):
java.lang.RuntimeException: Unexpected error:
java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException


Reply to this email directly or view it on GitHub
#89.

from apis.

mkeller-upb avatar mkeller-upb commented on May 28, 2024

Awesome, twice, first for your fast response, second for hinting the stackoverflow, which let me (in minutes) to another entry claiming some pem's are wrongly configured in Ubuntu (I'm using Ubuntu 15.10). I updated my pems with "update-ca-certificates -f" the maven build was successful. Thanks, best regards, Matthias
(JDK was missing and I installed openJDK 8)

from apis.

gvanderploeg avatar gvanderploeg commented on May 28, 2024

Great to hear it solved your issue.

from apis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.