Skip to content

Cannot run from src/test anymore #413

Description

(maven project)
Since today I noticed when I try to start debugging something from the src/test folder I get:

Error: Could not find or load main class com.github.whatever.Whatever

When I move the file to the src/main folder it works. Before this was not the case.

It broke from one day to the other, so I guess VSCode or one of the plugins broke.
I have no clue how to tackle this problem. Any help is welcome.

Environment
  • Operating System: OSX 10.12.6
  • JDK version: 1.8
  • Visual Studio Code version: 1.27.1
  • Java extension version: 0.30.0
  • Java Debugger extension version: 0.12.2

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions