root-context.xml
- 로그인 시도 할 때 로그인 정보가 틀리면 리다이렉트 되야하는데,
어느날 갑자기 그렇게 되지 않고 public key retrieval is not allowed 에러 페이지가 나옴. - 해결하려면 url의 value에 아래 코드를 추가한다.
useSSL=false&allowPublicKeyRetrieval=true
<property name="url"
value="jdbc:mysql://localhost:3306/bakingdom?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Seoul">
</property>
'SPRING > 나의 고통(Error)' 카테고리의 다른 글
Could not convert socket to TLS (0) | 2021.08.17 |
---|---|
NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefinitionException (0) | 2021.08.10 |
Could not set parameters for mapping (0) | 2021.07.28 |
Could not convert socket to TLS (0) | 2021.07.26 |
servlet.xml에 namespace탭이 안보일 때 (0) | 2021.07.22 |