You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The java -jar target/demo-0.0.1-SNAPSHOT.jar is another way of launching different with our ways(we use target/classes as the class path rather than the demo-0.0.1-SNAPSHOT.jar, you can delete demo-0.0.1-SNAPSHOT.jar to see whether vscode java can be debug-able).
Activity
andxu commentedon Sep 3, 2018
Bob (@bobjiang1988) Can you put your pom.xml and the launch.json here?
bobjiang1988 commentedon Sep 3, 2018
Andy Xu(devdiv) (@andxu) Click me to get the demo project.
andxu commentedon Sep 3, 2018
Your problem is lacking of snake yaml dependency, please add the following dependency
The java -jar target/demo-0.0.1-SNAPSHOT.jar is another way of launching different with our ways(we use target/classes as the class path rather than the demo-0.0.1-SNAPSHOT.jar, you can delete demo-0.0.1-SNAPSHOT.jar to see whether vscode java can be debug-able).
bobjiang1988 commentedon Sep 3, 2018
Andy Xu(devdiv) (@andxu) It's ok now. Thanks!
But I really don't know why it runs well in tomcat?
andxu commentedon Sep 3, 2018
tomcat has the reference to snakeyaml
andxu commentedon Sep 5, 2018
Bob (@bobjiang1988) , it is a bug caused by my change, see #402, you would not need to add it in next release