-
Notifications
You must be signed in to change notification settings - Fork 452
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
Compile issue with big maven project which has multiple moudle #3869
Comments
I hive try "clean java language server workspace" several times, issue is still here. |
Hi @XuPengfei-1020 , I've just tried to import the, https://github.com/trinodb/trino and it works like a charm, imported from first try. In this extension there is one tricky thing that might be causing this, and it is guessing/setting the java version for compiler to use, as mentioned here. You can navigate to Project Settings by Double Shift and then ">java: open project settings" If this is the case, then it might be good idea to notify user on the first import whether the Java Version guessed for the project is the correct one. Or perhaps adding to the bottom status bar Java Version used by the project/workspace. |
@mamilic Thanks you for replay! Whats more, you need to run |
I found that if a maven dependency which scope is 'test', then it seems can not be resolved correctly. |
Found a param |
Hi @XuPengfei-1020 , I was able to import it, and run test but only via "Testing", Details
And also I have a buch of JDT compiler issues, But the code navigation somewhat works, as for some methods it takes quite some time to complete the request. |
cannot find symbol
package xxx does not exist
...
What the key point is, if I reopen the vscode or rebuild all projects, the error is changed!
Some errors in A.java this time, it will disappear if I rebuild, meanwhile B.java which previously is all fine but become reported some error this time.
Or if I make some change on pom.xml, the error is gone, but they will come back soon or later....
Am I missing or making wrong config of this extension?
Have you tried some big project like trino or presto in this extension?
The text was updated successfully, but these errors were encountered: