Error "'void org.jetbrains.idea.maven.server.LongRunningTaskInput.<init>(java.lang.String, com.intellij.platform.diagnostic.telemetry.rt.context.TelemetryContext)'" after reload all maven projects

Answered

Version: 2025.01, 2024.03 (unlimited and communtiy)

OS:macbook m4 Apple chip.

Description:

Project works well with terminal command ‘mvn clean install’, and I can run it using ‘java -jar xxx.jar’.

But this not works with intellij. And situation also happened with other projects after running command ‘mvn clean install -U’

After click ‘reload all maven projects’, error show like the title.

I tried many ways like changing configuration ‘mvn, compile’, ‘reset project structure’, ‘invalid cache and restart’, ‘delete .m2’, nothings work.

0
6 comments
Could you upload the idea logs from (`Help | Collect Logs and Diagnostic Data...`) to https://uploads.jetbrains.com/ and share the upload id with us?
1

I also encountered the same problem

1
Please feel free to create a request at https://intellij-support.jetbrains.com/hc/en-us/requests/new or upload the logs here so we could check the error details.
1

I encountered the same problem too. Upload id: 2025_05_06_27D7SBPCL5mTPQCU8iwo6r (file: idea-logs-20250506-1649114688699941945172432.zip) 

1

Thank you for reporting the issue!

Does the issue affect all Maven-based Projects in your environment or only specific one(s)?

Would it be possible to share the one of the affected Project for further investigation?

0

Problem solved. Unofficial maven-server.jar were used

0

Please sign in to leave a comment.