Main Method Not found
@testforstephen já está trabalhando nisso.
Desde 8/10/2022.
Avaliação
Esta issue ainda não foi avaliada.
Descrição
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
- Linguagem predominante
- TypeScript
- Estrelas
- 591
- Forks
- 429
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 19
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de microsoft/vscode-java-debug
-
ai-triaged enhancement
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 55/100
microsoft/vscode-java-debug#1689 · 2 comentários ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 comentário · 1 responsável ·
-
ai-triaged bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 48/100
microsoft/vscode-java-debug#1658 · 1 comentário ·
-
ai-triaged enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
microsoft/vscode-java-debug#1628 · 3 comentários ·
-
Feature support. Abertaai-triaged enhancement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
microsoft/vscode-java-debug#1616 · 1 comentário ·
Todas as issues de microsoft/vscode-java-debug
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
area:tools bug good first issue help wanted priority:P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
BasedHardware/omi#15320 ·
-
Dificuldade 2/5 Meio dia Facilidade para iniciantes 78/100
vercel/vercel-plugin#199 ·