-
Notifications
You must be signed in to change notification settings - Fork 385
Closed
microsoft/java-debug
#458Description
[provide a description of the issue]
Environment
- Operating System:
- JDK version:
- Visual Studio Code version:
- Java extension version:
- Java Debugger extension version:
Steps To Reproduce
- .vscode/settings.ison as follows:
"[java]": {
"files.encoding": "utf8"
},
The command line is shown below:
java @*.argfile com.example.demo.MainApp
错误: 无法初始化主类 com.example.demo.MainApp
原因: java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContext - The encoding of the file *.argfile is utf-8 ,java couldn't identify it correctly
- I want to set the encoding of the file to GBK ,what should I do ?
The following settings are not valid:
"[bat]": {
"files.encoding": "gbk"
},
"files.associations": {
"*.argfile": "bat"
}
[attach a sample project reproducing the error]
attach logs