-
Notifications
You must be signed in to change notification settings - Fork 52
How to get debugging for Java to work? #313
Copy link
Copy link
Open
Description
My folder structure is like this:
- sublime_debug_test
- src
- crap
- Crap.java
- crap.sublime-projectMy settings look like this:
{
"folders":
[
{
"path": ".",
}
],
"debugger_configurations":
[
{
"type": "java",
"name": "Crap",
"request": "launch",
"mainClass": "crap.Crap",
"modulePaths": ["src"],
"args": "-ea"
},
],
}jdtls is running:
the declared package "crap" does not match the expected package ""
When I run I get:
Error: Could not find or load main class Crap
Caused by: java.lang.ClassNotFoundException: Crap
I tried a dozen off small variations and at this point I'm just lost.
I hope someone can give some help.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels