microsoft / vscode-maven

VSCode extension "Maven for Java"
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-maven
Other
179 stars 88 forks source link

Imports cannot be resolved despite building from command line #1026

Closed vasba closed 2 weeks ago

vasba commented 4 months ago

Describe the bug I imported an existing Java project in VS Code but some of the imports are not being resolved. However compiling from command line works. It also works in VS Code on Windows and Linux but not on OS X Sonoma.

To Reproduce Well, just import an existing Maven based Java project

Expected behavior If the build from command line passes then it should work in VS Code too

Environments (please complete the following information as much as possible):

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Not sure what context might be relevant.

testforstephen commented 2 weeks ago

The features provided by this extension is limited to Maven task management, goal execution, and project scaffolding.

The project importing feature is related to https://github.com/redhat-developer/vscode-java/issues, pls create an issue there. It's better to provide a sample project to reproduce the issue.