I've created a spring project in IntelliJ IDE with Spring Initializr.
When I tried to modify the application.properties file, I realized that it does not autocomplete the code, I mean, it does not show the options like when you type "In" and shows "Integer".
Also, if I try to run the app, localhost:8080/index.html is redirected to http://localhost:8080/login
Any idea about what the problem is? thanks
just realized that import lombok.Data; does not highlight also, even with the dependency is set

To your first question:
...it does not autocomplete the code
You should make sure your "Spring Boot" plugin is enabled. Look here for how to manage plugins in Intellij IDEA.
To your second question:
localhost:8080/index.htmlis redirected tohttp://localhost:8080/login
To fix your redirect problem, you should remove your maven dependency for spring-starter-security (as already stated by user9717940). However, it could be caused by other security-related dependencies, like something Oauth. Go to your maven pom.xml file and look for something like the snippet below and remove it from your dependencies section.
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
<scope>test</scope>
</dependency>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With