Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
479 views

External CSS file doesn't work if I turn on auth

External CSS file doesn't work if I turn on auth with Spring Security. @EnableWebSecurity @Configuration class SecurityConfig { @Bean fun security(http:HttpSecurity):SecurityFilterChain{ ...
de6igz's user avatar
  • 1
0 votes
0 answers
647 views

Fail to login into system with Whitelabel Error Page error

This is my configure method Configuration for role based login. @Override protected void configure(HttpSecurity http) throws Exception { http .authorizeRequests() ...
Nirmalya Roykarmakar's user avatar
1 vote
1 answer
1k views

CSS stylesheet doesn't work with Spring Security + Spring Boot + Thymeleaf

After much research, I haven't been able to find a solution. I have a project implemented with Spring Boot + Spring Security + Thymeleaf. I have a REST API multi-module project and a web client built ...
Jqk3's user avatar
  • 37
2 votes
2 answers
3k views

Can't load my css when using spring security and thymeleaf

I am not able to load my css file while using spring security and thymeleaf. Whenever i use rel="stylesheet" it gives me Strict MIME enable error. My css file is in resources/static folder My html ...
vagish dixit's user avatar
2 votes
2 answers
190 views

How can I prevent using Spring Security with Thymeleaf from breaking CSS formatting?

I'm using Thymeleaf and Spring Security. I have a dropdown-menu with list items in it. Unfortunately, since the Thymeleaf + Spring Sec integration uses a div as you see below, that means that we now ...
D. Thaler's user avatar
  • 111
0 votes
1 answer
1k views

CSS refuses to load with Springboot / Spring Security / Thymeleaf

I precise that I am a french student in 1st year of Java Developper. I know this topic has been dealt and solved already, but any off solutions I saw online has worked for me. CSS files just don't ...
John Student's user avatar