본문 바로가기

Error

[톰캣 Error] org.springsource.loaded.agent.Watcher determineChangesSince

728x90

Illegal access: this web application instance has been stopped already. Could not load [~]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [~]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.

 

org.springsource.loaded.agent.Watcher determineChangesSince
심각: FileWatcher caught serious error, see cause

 

tomcat error

 

 

 

 

원인

개발할 때 소스 수정하고 톰캣을 재시작 하는 번거로움을 없애려고 설정한 springloaded에서 발생한 문제

 

 

 

해결

 

1. 서버 > Overview > Open launch configuration

server overview

 

 

 

 

2. Edit Configuration > Argument 탭 > VM arguments에서 springloaded jar 선언 부분 삭제

ex) -javaagent:C:\~~~\eGovFrameDev-3.6.0-64bit\springloaded-1.2.5.RELEASE.jar -noverify

 

server overview

 

 

 

3. Modules > 서버선택 > Edit

Auto reloading enabled 체크