[Spring Boot]
Disable spring security default login page
문제
원인
해결
코드
package net.schoolvery.schoolveryserver.global.security;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
@Configuration
@EnableWebSecurity
public class SecurityConfig extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.httpBasic().disable()
.cors().and().csrf().disable();
}
}reference
DB 컬럼명에 underbar 있으면 JPA 쿼리 인식 못하는 문제
✔️ 문제
🙇🏻 해결
reference
java.lang.NullPointerExceptioin
Gradle's dependency cache may be corrupt
reference
h2 console 안보임
BaseEntity null값 들어
원인
해결
reference
Cannot deserialize value of type java.time.LocalDateTime from String
java.time.LocalDateTime from StringQuerydsl setting error
배경
문제
원인
해결
reference
Querydsl cannot find symbol 에러
문제
원인
해결
reference
Table 'DBNAME.TableName' doesn't exist.
원인
해결
reference
Request method 'POST' not supported
원인
해결
주의
What is the difference between @Controller and @RestController
reference
Cannot determine value type from string
reference
Access to DialectResolutionInfo be null when 'hibernate.dialect' not set
Last updated