Skip to content

Class not found exception during debugging junit tests #962

Closed

Description

@tonylsw

Have problem when debugging junit tests with the latest version of vscode (on osx), after clicking on "debug test" above test case, get error

Exception has occurred: java.lang.ClassNotFoundException: "java.lang.ClassNotFoundException: org.eclipse.jdt.internal.junit.runner.RemoteTestRunner"

No problem running the same test.

Un-installed and reinstalled vscode, same error.

Worked for a short while with vscode insider before getting the same error.

Performed "clean java language server workspace" and restart, didn't help.

Maven project.

Activity

  1. jdneo commented on Mar 13, 2020

    @jdneo
    Member

    Could you provide more information to us?

    • JDK version
    • JUnit 4 or 5?
    • A sample code snippet to repro this issue.
    • Does this issue only occur when debugging? How about run test

    Thanks.

  2. no-response commented on Mar 27, 2020

    @no-response

    This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

  3. jdneo commented on Mar 27, 2020

    @jdneo
    Member

    Tony Lam (@tonylsw) Please provide more information to help us diagnostic the issue. Thanks.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions