반응형
REST API
RestController import 할때 오류가 발생하는 경우.
RestController 사용을 위해 org.springframework.web.bind.annotation.RestController 를 import할때 에러가 발생할 때가 있다. 그 경우에는 다음과 같이 maven의 webmvc 버전을 맞쳐 주어야 한다. org.springframeworkspring-webmvc4.1.6.RELEASE
반응형