Comments (3)
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, Matthiasmvn 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.
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.
Great to hear it solved your issue.
from apis.
Related Issues (20)
- how to get authenticated user info after access token? HOT 1
- on android jax should only be used as a last resort because it will mess with the JavaScript that was originally in place once rebuilt, HOT 4
- GZip supporting
- Restart / Restore of API Server Authentication Credentials HOT 1
- Minimum Java version HOT 1
- PostgreSQL HOT 1
- Not working in distributed environment(when deployed on 2 tomcats) HOT 1
- As cnntributor I'd like to submit a pull request HOT 1
- Deployment and Config documentation
- ar
- Your project OAuth-Apis apis is using buggy third-party libraries [WARNING]
- Authorization as a service suggested alternative
- User consent request for Implicit flow HOT 2
- draft-ietf-oauth-v2-31 vs rfc6749 HOT 1
- OAuth 2.0 Token Introspection - RFC 7662 HOT 4
- Failed to execute goal org.apache.openjpa:openjpa-maven-plugin:2.2.0 HOT 1
- Not working in distributed environment(when deployed on 2 tomcats) HOT 10
- Multiple OAuth apis instances with shared MYSQL DB - Clustering HOT 2
- https for AuthorizationServer at localhost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apis.