[Spring Error] The reference to entity "characterEncoding" must end with the ';' delimiter.

반응형

The reference to entity "characterEncoding" must end with the ';' delimiter.

 

 

 

  Spring, Xml Delimiter Error

 xml 작업 중, 이런 에러를 찾아 보게 됩니다.

 

에러가 뜨는 이유는 & 이녀석 때문인데요.

 

xml은 & 문자를 구분하기 어려워합니다.

 

따라서 이 부분을 &로 고쳐주시면 됩니다.

사진과 같이 &를 &로 바꿔주면 끝~

 

 

Befor

<property name="url" value="jdbc:mariadb://localhost:3306/SHOOTING?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC" />

 

After

<property name="url" value="jdbc:mariadb://localhost:3306/SHOOTING?useUnicode=true&amp;characterEncoding=utf-8&amp;serverTimezone=UTC" />

 

반응형

댓글

Designed by JB FACTORY