D
D
Denis Kuznetsov2019-12-17 00:10:01
Java
Denis Kuznetsov, 2019-12-17 00:10:01

Why is localhost asking for username and password?

Hello, I did earlier projects on spring, launched it, opened the host locale and checked the work. Now there is a need to re-do the project. I start and the local host requires a username and password. I turn on the old project and the local host does not require anything. I completely torn the configuration files and pom.xml from the old project (replacing them with the necessary names), I run it and it still asks for a login and password. admin 1234 do not work))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2019-12-21
@DennisKingsman

You don't have spring boot starter security configured! By default, it requires a password for everything (according to the description)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question