Hỏi & Đáp
Unable to evaluate the expression Method threw 'org.hibernate.LazyInitializationException' exception. 이라는 에러가 뜹니다.
Account.java를 EAGER로 바꾸고 Role.java의 toString exclude를 accounts 로 바꾸면 되기는 됩니다
- Lượt thích
- 0
- Số bình luận
- 2
- Lượt xem
- 1063
Hỏi & Đáp
Account.java를 EAGER로 바꾸고 Role.java의 toString exclude를 accounts 로 바꾸면 되기는 됩니다
Hỏi & Đáp
감사합니다
Hỏi & Đáp
Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'passwordEncoder'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'securityConfig': Unsatisfied dependency expressed through field 'customAuthenticationProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customAuthenticationProvider': Unsatisfied dependency expressed through field 'passwordEncoder'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'passwordEncoder': Requested bean is currently in creation: Is there an unresolvable circular reference? 이런 에러가 뜹니다
Hỏi & Đáp
httpBasic().and()를 설정하니까 작동하네요 이유를 잘 모르겠습니다.
Hỏi & Đáp
https://github.com/JeongJin984/SpringSecurity/blob/master/SpringSecurity2/src/main/java/com/example/SpringSecurity2/Security/SecurityConfig.java 여기에서 Provider @Autowired 부분에서 passwordEncoder가 오류가 납니다
Hỏi & Đáp
nginx를 도입하면 문제가 해결되지 않을까요?
Hỏi & Đáp
api를 쓰게 되면 제가 DB를 사용해야해서 현재 api 폴더내에 db객체를 define하는 js 파일들이 들어 있습니다. 그러면 request가 생길 때 마다 db.sync()를 하게 됩니다. 그러면 느려지는 등의 문제가 생길 수 있지 않나요? 그리고 세션도 만들어야 해서 제 생각에는 custom server로 하는것이 맞다고 생각합니다. 제 생각이 잘못되었나요?
Hỏi & Đáp
https://jeong-pro.tistory.com/80
Hỏi & Đáp
Google's OAuth 2.0 endpoint is at https://accounts.google.com/o/oauth2/v2/auth . This endpoint is accessible only over HTTPS. Plain HTTP connections are refused. The Google authorization server supports the following query string parameters for web server applications: google에 이렇게 설명이 되어있는데 혹시 http라서 문제가 된건 아닐까요?
Hỏi & Đáp
흑흑 너무 감사합니다.