You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"request": "launch",
"name": "Attach to port 5005",
"port": 5005,
}
]
}
When I try to start my debugging session, I'm getting:
Error: Main method not found in class me.jeusdi.slab.nvim
controller.DummyController, please define the main method
public static void main(String[] args)
or a JavaFX application class must extend javafx.applicat
cation
[Process exited 1]
I'm launching my attaching request using DapContinue from src/main/java/me/jeusdi/slab/nvim/neoconf/controller/DummyController.java buffer.
I guess it's trying to locate a main method on my `DummyController.java".
Where my main method is really located is on src/main/java/me/jeusdi/slab/nvim/neoconf/NeoconfApplication.java.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Here my launch.json:
When I try to start my debugging session, I'm getting:
I'm launching my attaching request using
DapContinue
fromsrc/main/java/me/jeusdi/slab/nvim/neoconf/controller/DummyController.java
buffer.I guess it's trying to locate a main method on my `DummyController.java".
Where my
main
method is really located is onsrc/main/java/me/jeusdi/slab/nvim/neoconf/NeoconfApplication.java
.Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions