Main Method Not found
@testforstephen ci sta già lavorando.
Dal 8/10/2022.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The run/debug button on the editor does not respect the launch.json file. I have a particular project which the main class is actually in separate jar file. After configuring the runtime classpath and mainClass in the launch.json, I am able to run it fine using the command debug: start without debugging. However, the run/debug button complains that the main method is not found.
Environment
- Operating System: macOS 12.6
- JDK version: JDK 1.8
- Visual Studio Code version: 1.7.1.2
- Java extension version: RedHat 1.11.0
- Java Debugger extension version: 0.44.0
Steps To Reproduce
- Create a jar file with a main function
- Add it to your classpath and configure the name of the main class
- A project that implements the missing functions in that jar file
- Click the run button
(Can not attach the project)
Current Result
Main method not found
Expected Result
This button should respect to my launch.json file
Additional Informations
- Lingua principale
- TypeScript
- Stelle
- 591
- Fork
- 429
- Merge medio
- 1g 9h
- PR unite (30g)
- 19
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/vscode-java-debug
-
ai-triaged enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
microsoft/vscode-java-debug#1689 · 2 commenti ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 commento · 1 assegnatario ·
-
ai-triaged bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
microsoft/vscode-java-debug#1658 · 1 commento ·
-
ai-triaged enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
microsoft/vscode-java-debug#1628 · 3 commenti ·
-
Feature support. Apertaai-triaged enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
microsoft/vscode-java-debug#1616 · 1 commento ·
Tutte le issue di microsoft/vscode-java-debug
Issue simili
-
comp/dashboard P3 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
NousResearch/hermes-agent#117722 ·
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
-
code-quality refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
langchain-ai/deepagents#6450 ·