Skip to content

Debugger for Java suddenly can't run #399

Closed

Description

@bobjiang1988

I have asked here

Environment
  • Operating System: Ubuntu 18.04
  • JDK version: 1.8
  • Visual Studio Code version: 1.26.1

Activity

  1. andxu commented on Sep 3, 2018

    @andxu
    Contributor

    Bob (@bobjiang1988) Can you put your pom.xml and the launch.json here?

  2. andxu commented on Sep 3, 2018

    @andxu
    Contributor

    Your problem is lacking of snake yaml dependency, please add the following dependency

    	<dependency>
    			<groupId>org.yaml</groupId>
    			<artifactId>snakeyaml</artifactId>
    			<version>1.16</version>
    		</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).

  3. bobjiang1988 commented on Sep 3, 2018

    @bobjiang1988
    Author

    Andy Xu(devdiv) (@andxu) It's ok now. Thanks!
    But I really don't know why it runs well in tomcat?

  4. andxu commented on Sep 3, 2018

    @andxu
    Contributor

    tomcat has the reference to snakeyaml

  5. andxu commented on Sep 5, 2018

    @andxu
    Contributor

    Bob (@bobjiang1988) , it is a bug caused by my change, see #402, you would not need to add it in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions