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
Never tried other distributions because I'm going to use JavaFX.
Platform
Ubuntu
macOS (not tested
Windows
Runner type
Hosted
Self-hosted
I'm not sure is this really a bug of setup-java, it might due to different Maven version or GSON, but as it can build on local machine, I suspect it was caused by setup-java. 😢
The text was updated successfully, but these errors were encountered:
Additionally, answer of this StackOverflow question 👇 suggested that newer version of Maven compiler plugin can fix it. I suspect they are somehow related.
Hello @LingkKang, I apologize for the delayed response. Thank you for confirming that the issue was resolved with the latest Maven versions. We have also tested it with the latest stable version, 3.12.1, and the run was successful. Please find the screenshots for reference.
We will proceed to close the issue, as it has been resolved and confirmed.
Please feel free to reach us to reopen the issue in case of any concerns.
Description
To simply put, Maven have downloaded dependencies, but failed at compiling, saying that it can not find module.
I'm using GSON on my project, it runs well locally, but on GitHub action, Maven keeps reporting the error.
Although accroding to the log, it have downloaded dependencies successfully.
Reproduce
I've abstracted away irrelevant things, left this small repo: LingkKang/gson-ci, and the action still failed to run:
-X
and-e
flags)Expected behavior:
Pass the CI.
Actual behavior:
CI failed at Maven compiling.
Task version
Never tried other distributions because I'm going to use JavaFX.
Platform
Runner type
I'm not sure is this really a bug of
setup-java
, it might due to different Maven version or GSON, but as it can build on local machine, I suspect it was caused bysetup-java
. 😢The text was updated successfully, but these errors were encountered: