IT팁/IT 기타

eclipse에서 tomcat 구동시 "The JRE could not be found. Edit the server and change the JRE location" error

로로아빠 2023. 1. 17. 11:44

이클립스에서 톰캣을 실행시킬 때 아래와 같은 에러가 발생한다면?

The JRE could not be found. Edit the server and change the JRE location.

해결방법은 톰캣과 연결된 JRE를 수정해 주시면 됩니다.

Tomcat 6 => JRE6

Tomcat 7 => JRE7

이렇게 매칭이 된다고 보시면 됩니다.

이클립스에서 아래와 같이 JRE 설정만 바꿔주시면 됩니다.

이렇게 설정해 주시면 잘 될 겁니다.