기술지원 문의
에러 메세지 좀 봐 주세요
한마음 / 2002-11-18 00:00
엔진이 잘 올라오다가,
다음과 같은 에러가 반복해서 올라옵니다.
조언 부탁드릴께요~~
500 Servlet Exception
Resin cant load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change
the compiler to an external one with
java.lang.ClassNotFoundException: sun.tools.javac.Main
Re:에러 메세지 좀 봐 주세요
관리자 / 2002-11-19 00:00
에러는 class를 찾지 못한다는 뜻인데요.
tools.jar가 classpath에 잡혀있는 지 확인해보세요.
일반적으로 JDK를 설치했으면
bin/httpd.sh -verbose 하고 실행하면
classpath가 나타나는데 거기에 tools.jar가 없으면
안됩니다. 그러면 명시적으로 bash의 경우
export CLASSPATH=$JAVA_HOME/lib/tools.jar하시고
resin을 재실행해 보세요.
--한마음 님의 글 [2002-11-18 16:16:21]
>엔진이 잘 올라오다가,
다음과 같은 에러가 반복해서 올라옵니다.
조언 부탁드릴께요~~
500 Servlet Exception
Resin cant load sun.tools.javac.Main. Usually this means that the JDK
tools.jar is missing from the classpath, possibly because of using a JRE
instead of the JDK. You can either add tools.jar to the classpath or change
the compiler to an external one with
java.lang.ClassNotFoundException: sun.tools.javac.Main