티스토리 뷰

반응형



Eclipse에서 Ant를 사용하여 Build를 실행시켰을 때 아래와 같은 메세지가 출력되는 경우가 있다.


com.sun.tools.javac.Main is not on the classpath

위와 같은 경우에는  Eclipse >> Window >> Preference >> Ant >> Runtime 메뉴로 들어가서

ClassPath >> Ant Home Entries 에 Jdk lib 폴더에 있는 tools.jar 를 추가해 주면 된다.


반응형
반응형
최근에 올라온 글
«   2025/02   »
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