You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide as much of a code sample as possible.
cd server-with-spring-boot/ && mvn spring-boot:run
provide full stack traces if possible
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environmental Data:
Java Version
java version "1.7.0_261"
OpenJDK Runtime Environment (rhel-2.6.22.2.amzn2.0.1-x86_64 u261-b02)
OpenJDK 64-Bit Server VM (build 24.261-b02, mixed mode)
The server project depends on another maven submodule and the stacktrace is saying that it cannot find that artifact. What you need to do is first run mvn clean install within the root directory.
I also see that you are using java 7, but the documentation mentions to use java 11. That will also resolve other upcoming errors.
Thanks for the quick and detailed follow-up - it seemed that JAVA_HONE was not configured properly. After putting the 2lines on my .bashrc here, it works!
Describe the bug
A clear and concise description of what the bug is.
I'm trying to build with mvn, but it's not working. You can find the output here.
https://gist.github.com/hisashiyamaguchi/7e8ffc6ae8f0db78cd55456078b63204
To Reproduce
cd server-with-spring-boot/ && mvn spring-boot:run
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environmental Data:
Java Version
java version "1.7.0_261"
OpenJDK Runtime Environment (rhel-2.6.22.2.amzn2.0.1-x86_64 u261-b02)
OpenJDK 64-Bit Server VM (build 24.261-b02, mixed mode)
Maven Version
Maven home: /usr/share/apache-maven
Java version: 1.7.0_261, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.261-2.6.22.2.amzn2.0.1.x86_64/jre
Default locale: ja_JP, platform encoding: UTF-8
OS name: "linux", version: "4.14.214-160.339.amzn2.x86_64", arch: "amd64", family: "unix"
OS (Windows/Linux/MacOS)
Linux ip-172-31-18-187.us-east-2.compute.internal 4.14.214-160.339.amzn2.x86_64 javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty #1 SMP Sun Jan 10 05:53:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: