-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
[BUG] Install issue on Mac M1 #242
Comments
@yuericlin have you been able to install java 11 and get building working? |
no, I have not found any work-around yet. :( |
@yuericlin can you try pulling the latest master branch and running |
yes, it works now, thank you so much! however, there were some errors in the log, |
I think that that is a problem with your environment, not this software. Please work on downgrading your Java to 11 as that solved this issue previously. A different maven version may be needed. |
I has downgraded my java to 11.0.20.1, but the maven installed by brew was built with java 20.0.2. |
Can you look for a lower version of maven that uses Java 11? |
Can you also delete and re-pull this image and try to use it: |
@yuericlin if I don't hear from you in the next two weeks I will close this issue due to inactivity
|
Thank you @spacether , and sorry for the late response. confirmed that symbolic link error is not appearing, but the other errors are still remaining, because I couldn't figure a straight forward way to downgrade maven without manually build from source (the maven build installed with brew only have java 20). btw, I did downgrade my java compiler to 11 even at the time we had the live debugging section. So, feel free to close the ticket, since I can build the tool successfully. |
Right but maven reports what Java it is using. When you did that maven was still using Java 20. Does docker now work for you? |
Closing per the above feedback. @yuericlin feel free to keep responding here. |
Bug Report Checklist
User @yuericlin was unable to build the java program or run the docker image
Description
java build
Java build: one test failing: testGetServerURLWithVariables
note: java version (20) is higher than 11
brew installed version of maven says that it was built with java 20
Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: /opt/homebrew/Cellar/maven/3.9.4/libexec Java version: 20.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/20.0.2/libexec/openjdk.jdk/Contents/Home Default locale: en_US, platform encoding: UTF-8 OS name: "mac os x", version: "13.5.2", arch: "aarch64", family: "mac" brew does not have 3.9.3
system info
Chip: Apple M1 Max
macOS: 13.5.2
docker run issue
docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/86deda23b4fa75c8f536064cd2a1e289f3beae71592d41a3d3151d82fd3a1092-init/merged: too many levels of symbolic links.
openapi-json-schema-generator version
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
similar-to install issue was resolved by installing java 11
Suggest a fix
The text was updated successfully, but these errors were encountered: