스터디 · 모집중
물류 시스템 구현 스터디 모집
- 좋아요수
- 0
- 댓글수
- 0
- 조회수
- 552
스터디 · 모집중
팀프로젝트
질문&답변
Account.java를 EAGER로 바꾸고 Role.java의 toString exclude를 accounts 로 바꾸면 되기는 됩니다
질문&답변
감사합니다
질문&답변
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? 이런 에러가 뜹니다
질문&답변
httpBasic().and()를 설정하니까 작동하네요 이유를 잘 모르겠습니다.
질문&답변
https://github.com/JeongJin984/SpringSecurity/blob/master/SpringSecurity2/src/main/java/com/example/SpringSecurity2/Security/SecurityConfig.java 여기에서 Provider @Autowired 부분에서 passwordEncoder가 오류가 납니다
질문&답변
nginx를 도입하면 문제가 해결되지 않을까요?
질문&답변
api를 쓰게 되면 제가 DB를 사용해야해서 현재 api 폴더내에 db객체를 define하는 js 파일들이 들어 있습니다. 그러면 request가 생길 때 마다 db.sync()를 하게 됩니다. 그러면 느려지는 등의 문제가 생길 수 있지 않나요? 그리고 세션도 만들어야 해서 제 생각에는 custom server로 하는것이 맞다고 생각합니다. 제 생각이 잘못되었나요?
질문&답변
https://jeong-pro.tistory.com/80