2
Hello!
I am having following problem in my application. After running the main method just below and enter in the browser the address of my application localhost:9090/restaurantWeb is opening a popup asking for user and password, I thought it would be from Tomcat, but my Tomcat was installed without user and password. If anyone has been there and can help!
@SpringBootApplication()
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
Popup that appears in the browser, error in the background and after clicking cancel
Hello. Spring Boot starts with its own Tomcat by default, otherwise it does not run this method
main
presented in the question. If you say you installed another Tomcat and are running themain
, So you have two different Tomcats, one empty and the other with Spring Boot. What you need to do is pay attention to the Spring Boot boot log, as it will tell you which address is initialized. If you cannot solve, please edit your question by adding more details about this Tomcat and also the log, otherwise you cannot guess the problem. Hug!– utluiz
Okay, thank you utluiz.
– Ger