Connection is read-only. Queries leading to data modification are not allowed 에러 해결 에러 메세지Connection is read-only. Queries leading to data modification are not allowed 원인Service 전체에 @Transactional(readOnly = true) 를 붙여주어 read 권한만 허용한 상황해결필요한 메서드에 @Transactional 를 붙이거나,readOnly가 없는 클래스로 이동시키면 됨 IT정보/Error 2024.05.23