0
I’m using the Intellij
and I’m with a web project and with the Wildfly
already configured in the options Run
. I created a class with the main method for testing in this same project and I want to run it. How can I do it ? Always when I click on Run wildfly is iniciado
.
public class Testes {
public void main(String[] args) {
System.out.println("Teste");
}
}
Try
Shift + Alt + F10
– nullptr
@nullptr it opens a popup with Wildfly and Edit Configurations.
– Roknauta
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000156824-How-to-choose-main-class
– nullptr
@nullptr in mine don’t have any options there :/
– Roknauta