microsoft / vscode-java-dependency

Manage Java projects in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency
MIT License
140 stars 68 forks source link

error by output by .jar #819

Closed EfreetAria closed 4 months ago

EfreetAria commented 4 months ago

Error: No valid classpath found in the export jar configuration. Please make sure your configuration contains valid classpath(s).

why this error happened? i changed computer,this problem only happened in specific computer

EfreetAria commented 4 months ago

Snipaste_2024-02-21_23-25-35

It can also happen on a new project

EfreetAria commented 4 months ago

i may find out the problem is in setting.json

"java.project.referencedLibraries": [ "lib/*/.jar"

but my simple code don't have referenced lib,delete this will succed output.

jdneo commented 4 months ago

Close as the issue has been resolved.