반응형
● 증상
- 어제까지만 해도 잘 돌아가던 Tomcat이 작동되지 않음
- 아래와 같은 오류 메세지 창 표출
'Starting [서버명]' has encountered a problem.
The JRE could not be found. Edit the server and change the JRE location.
● 원인
- 연결된 JRE가 현재 Eclipse와 맞지 않음
- 어쩌다 IntelliJ랑 Eclipse를 같이 쓰면서 뭔가 꼬인 게 아닐까 의심이 된다.
● 해결
1. Window > Preferences
2. Server > Runtime Environments 이동 및 사용 중인 Tomcat 선택
선택하자마자 하단에 The JRE could not be found. Edit the server and change the JRE location.이라는 문구가 뜬다.
3. Edit 클릭 후 JRE selectbox를 클릭 해 알맞은 jdk 선택
4. Apply and Close 클릭
반응형
댓글