public key retrieval is not allowed
해결
root-context.xml 파일 mysql 연결부분
<property name="url" value="jdbc:mysql://localhost:3306/yse_spring_mvc?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8" />
이부분 추가 : useSSL=false&allowPublicKeyRetrieval=true
'IT개발정보 > spring and java' 카테고리의 다른 글
[Spring] 톰캣 재시작 없이 Java 파일 변경 적용 - Spring Loaded (0) | 2023.02.10 |
---|---|
spring MVC 프로젝트 구조 와 동작순서 (0) | 2023.02.09 |
[error] org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: (0) | 2023.02.08 |
Spring Framework 버젼 확인 (0) | 2023.02.08 |
Spring Annotation (0) | 2023.02.07 |