-
Notifications
You must be signed in to change notification settings - Fork 295
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
Can't build v3.7.1 with jdk16-headless and maven 3.6.3 #201
Comments
This is Maven bug, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980467 |
Thanks Nicolas! It seems my OS package manager is still serving 3.6.3 while the bug you link says that as of 19 Jan 2021 this is fixed in 3.6.3-2. I can download Maven directly from https://maven.apache.org/download.cgi (3.8.1 as of today) and give it a try, but I always dislike installing s/w from outside the package manager. I think there is still a bug on https://nroduit.github.io/en/getting-started/building-weasis/ that is worth fixing. That page says the requirements are:
which is not accurate. I think it needs to say something along the lines of:
(Assuming it's the combination of JDK16 and Maven 3.6.3 that is broken, but you likely know better that I do what exactly is broken) |
FYI, I uninstalled JDK16 and installed JDK15 from the OS package manager and that seemed to fix the problem. So JDK15 + Maven 3.6.3 seems to work. |
It is also possible to update Maven to use JDK-16. |
resolved my issue in WSL2, thanks! |
never use jdk17 and maven at the same time, downgrade to jdk11, problem will be solved |
#1. cd /home/ubuntu2004/programs/ |
Describe the bug
I am trying to build following the instructions at https://nroduit.github.io/en/getting-started/building-weasis/
However at the
mvn clean install
step I get an error:I seem to have the correct dependencies installed:
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/nroduit/Weasis.git
cd Weasis
git checkout v3.7.1
mvn clean install
Expected behavior
A successful build.
Desktop (please complete the following information):
Additional context
No firewall, no network issues, no anti-virus.
I did install a headless version of the JDK.
Traces
The text was updated successfully, but these errors were encountered: