[Daliy]
[2019.12.05]
재래김유진
2019. 12. 5. 09:55
728x90
반응형
root-context.xml에 스프링이 스캔 할수 있도록 코드를 추가해줬다.
1
2
3
4
|
<!-- scan -->
<context:component-scan base-package="kr.or.service"></context:component-scan>
<context:component-scan base-package="kr.or.dao"></context:component-scan>
<context:component-scan base-package="kr.or.vo"></context:component-scan>
|
근데 The prefix "context" for element "context:component-scan" is not bound. 에러가 났다.
해결 : root-context.xml 하단에 Namespaces에 context 체크해줌ㅎ
[spring boot]
에러 : the selection cannot be run on any server
요기 체크 해제 해주면 됨
근데 톰캣 포트를 이미 사용하고 있다고 한다.
[톰캣 포트 중복 에러]
[windows버튼 + R ] 관리자 모드로 cmd창 열어서
8080포트 PID number 확인.
taskkill /F /PID 17132
8080포트를 죽여준다. (띄어쓰기 주의)
[이클립스] eclipse 톰캣 포트 충돌 시 해결
이클립스 서버 포트 충돌 해결 Several ports (8005, 8080, 8009) required by myTomcatServer2 are already in use. The server may already be running in another process, or a system process may be using t..
dololak.tistory.com
728x90
반응형