spring-project
spring boot 에서 mybatis 설정 시에 'Content is not allowed in prolog. 오류
가는가래
2020. 4. 30. 07:23
증상 : spring boot에서 mybatis 설정 시 'Content is not allowed in prolog. 오류 발생
원인 : 'application.properties' 파일에 'mybatis/mappers' 로 경로 설정하여 경로가 맞지 않음.
수정 : 아래와 같이 경로 수정 후 정상 동작
mybatis.mapper-locations=mybatis/mappers/*.xml