-
Notifications
You must be signed in to change notification settings - Fork 396
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 about maven sub module same name! #2591
Comments
The client which I use is Emacs lsp-java, |
could u help me ? lsp start up failed when I upgrade jdt to lasest snapshot version jdt-language-server-1.22.0-202304130326 |
the error:
|
I would have a look at https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line and also https://github.com/eclipse/eclipse.jdt.ls/blob/42f399555a9c638a9892ac67e63470ec907db7a1/org.eclipse.jdt.ls.product/scripts/jdtls.py#L98-L99 . Certain options like |
I see ,it is due to the fact that lombok is not supported.
remove this custom option or upgrade my lombok.jar , hereby jdt works well |
Upgrade jdtl to jdt-language-server-1.22.0-202304131553.tar.gz, and fixed lombok version . The jdtl process command
|
Do you have a sample project somewhere that could be used to reproduce this issue ? |
@vanniuner could you check lombok edge release ? |
1.18.26 this works well |
@rgrunber Thanks for your helping. |
I can't reproduce the issue. Could you show an error output? |
I made a multi-module Maven project archetype, and then use it to create 2 another projects, SRM project and CRM Project.
SRM and CRM projects both have the same submodule name, they are api, biz, dao, service
The 2 projects structure is as follows:
The artifactId of each pom.xml in the project is equal to the name of the folder to which it belongs,I use groupId to differentiate.
For example the center-srm/api/pom.xml,Declare itsself like this:
For example the center-crm/api/pom.xml,Declare itsself like this:
Something went wrong when the two projects were placed together in one jdt ide.
That is, only one project can provide language services, and the other cannot.
By observing the .project files of SRM and CRM 2 projects, I found them to be almost the same, except for projectDescription.filteredResources.filter.id
I tried changing the folder name of the submodule to make SRM and CRM different,
Of course, it also includes the artifactId of modifying the pom.xml. And then the problem is solved.
Are we need to have different names for maven's submodules to provide language services, even though they are located in different project directories?
Something should go wrong, right?
The text was updated successfully, but these errors were encountered: