Skip to content
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

Problems to compile project in Eclipse #3082

Open
oscarvarto opened this issue Mar 2, 2024 · 3 comments
Open

Problems to compile project in Eclipse #3082

oscarvarto opened this issue Mar 2, 2024 · 3 comments

Comments

@oscarvarto
Copy link

I am following instructions from https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/master/CONTRIBUTING.md#b-setting-up-the-jdt-language-server-in-eclipse
but I'm getting errors like:

Conflicting lifecycle mapping metadata (project packaging type="eclipse-plugin"): Mapping defined in 'org.eclipse.m2e.pde.connector_2.1.500.20231119-0901 [305]' and 'org.sonatype.tycho.m2e_0.10.0.20220926-1324 [574]'. To enable full functionality, remove the conflicting mapping and run Maven->Update Project Configuration.

I'm struggling with Eclipse, are there any instructions to be able to compile and code with IntelliJ instead?

@snjeza
Copy link
Contributor

snjeza commented Mar 3, 2024

@oscarvarto Could you try to uninstall Tycho Project Configurators using Help>About>Installation Details?
m2e >=2.0 includes m2e-tycho.

@oscarvarto
Copy link
Author

@snjeza That worked thank you very much! Some other way that had worked for me (some moments ago) was by using JDK 17 instead of JDK 21. But with your solution, JDK 21 compiles fine.

@oscarvarto
Copy link
Author

I also got success with Doom Emacs. The only one that I haven't been able to make it work is IntelliJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants