아무거나

다른 패키지의 경로를 접근하게 하는 방법 본문

Java/Spring

다른 패키지의 경로를 접근하게 하는 방법

전봉근 2019. 6. 18. 12:17
반응형

error : No mapping found for HTTP request with URI {} in DispatcherServlet with name 'appServlet'

WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI {} in DispatcherServlet with name 'appServlet'

servlet-context.xml 에서 태그 추가

ex) <context:component-scan base-package="com.deploy.api" />​ 

반응형
Comments