티스토리 뷰

Server Dev

JSP JDOM 에러 해결법...

팔팔청춘 2012. 7. 23. 19:56

java.lang.ClassNotFoundException: org.jdom.JDOMException

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)

at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)



요딴코롬 에러가 난다... 몰라 왜 나는지 나도 몰라.



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.



저위에서 5번만 바꿔서 jdom-1.1.3.jar를 선택했더니.


뙇!!! 됬다^^.


출처 : http://stackoverflow.com/questions/6210757/java-lang-classnotfoundexception-org-springframework-web-context-contextloaderl

댓글
댓글쓰기 폼
공지사항
Total
826,136
Today
94
Yesterday
354
«   2020/07   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
글 보관함