Open mojo2012 opened 6 years ago
Are you trying to open the SAP Hybris sources in vscode or opening a Java project in SAP Hybris?
Sorry for the misunderstanding. I have a huge SAP hybris codebase. Currently I'm still using eclipse for that. I've been trying to switch to vscode for some time now. But I can't get it to build successfully (it's hard in eclipse too!).
Some of the hybris extension projects are not well configured (different eclipse project definitions, some have non, etc).
Vscode seems to have problems with one extension in particular: webservicescommons.
It always complains about not finding it: message: Project 'smartedit' is missing required Java project: 'webservicescommons';code: 964
- although I can see it in the explorer tree.
I'm trying to load a reasonably sized old Eclipse project that is composed of a root folder and two subprojects, one of which references the other. I am also getting org.eclipse.core.internal.resources.ResourceException: Invalid project description.
Put me down as a vote for "surface information indicating specifically what is invalid about the project".
I also get exactly the same error as OP about Project X is missing required Java project Y
, and just like OP, it's definitely on disk, just in some way not visible to the plugin. Information about where the plugin is looking would be awesome!
When I open the first class in my SAP Hybris workspace the language server starts up and then after some time outputs the following log:
It would be nice to know which project it is and what caused this
Environment
Steps To Reproduce
See above
[attach a sample project reproducing the error] -> that's exactly the problem!! attach logs
Current Result
Only stacktrace is printed to the console
Expected Result
Output more infos, so that the issue can be fixed.