My folder structure is like this:
- sublime_debug_test
- src
- crap
- Crap.java
- crap.sublime-project
My 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.
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:
When I run I get:
I tried a dozen off small variations and at this point I'm just lost.
I hope someone can give some help.