몇일동안 계속해서 클래스를 찾을 수 없다고 나왔다.
아래와 같은 에러메시지가 나와서 그냥 통으로 넣어서 검색했더니...
Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException
아래와 같은 친절한 답변이 있었다..
그래서 그대로 따라해 보니..
I had a similar problem when running a spring web application in an Eclipse managed tomcat. I solved this problem by adding maven dependencies in the project's web deployment assembly.
1) Open the project's properties (e.g., right-click on the project's name in the project explorer and select "Properties")
2) select "Deployment Assembly"
3) Click the "Add..." button on the right margin
4) Select "Java Build Path Entries" from the menu of Directive Type and click "Next"
5) Select "Maven Dependencies" from the Java Build Path Entries menu and click "Finish".
You should see "Maven Dependencies" added to the Web Deployment Assembly definition.
드디어 다음 담계로 넘어갔다.
이놈의 ClassNotFoundException은 지금까지 톰캣문제인줄 알았는데 위처럼 해주고 나니 해결됐다는...
'開發日誌' 카테고리의 다른 글
전자정부프레임워크 오브젝트 처리.. (0) | 2012.06.08 |
---|---|
컬럼별으로 묶어서 카운트.. (0) | 2012.05.30 |
@Service @Controller ... 삽질 2일째.. 해결.. (0) | 2012.05.24 |