Problem Solving/문제해결

Removing obsolete files from server...Could not clean server of obsolete files: Cannot invoke "org.eclipse.core.runtime.IPath.toFile()" because "contextPath" is nullCannot invoke "org.eclipse.core.runtime.IPath.toFile()" because "contextPath" is null ..

코집사 2022. 4. 25. 17:07
반응형

host에 127.0.0.1 localhost-A가 등록되어 있었고, 127.0.0.1 localhost-B를 추가로 등록했다. 등록 후, 서버를 키는데 아래와 같이 에러가 발생했다.

 

Removing obsolete files from server...Could not clean server of obsolete files: Cannot invoke "org.eclipse.core.runtime.IPath.toFile()" because "contextPath" is nullCannot invoke "org.eclipse.core.runtime.IPath.toFile()" because "contextPath" is null.

 

도대체 뭐가 문제지? 생각을 정말 많이 했다. contextPath가 없어서 server.xml에서도 path를 확인해도 별 이상이 없었다. 문제에서는 contextPath가 null이어서 그렇다고 하는데.. 설마 eclipse.server.core tmp가 있어서 그런가 생각해서 그냥 서버를 새로 만들었다.

 

 

그냥 서버를 새로 만들어서 다시 셋팅하고 localhost-B:8090으로 접속하니 너무 잘된다.

반응형