1. 서버 구동하는데
Could not publish to the server.
Cannot invoke "org.eclipse.core.runtime.IPath.isPrefixOf(org.eclipse.core.runtime.IPath)" because the return value of "java.util.Iterator.next()" is null
원인 불명의 오류 뜸
Could not publish to the server.
java.lang.NullPointerException
2. 해결방법
a. [프로젝트 우클릭 > properties > server] 으로 들어간 뒤
b. <None>으로 선택되어 있으면 원하는 톰캣을 선택한 뒤 적용해준다
3. 만약 위의 방법처럼 해도 안된다면?
a. Tomcat을 새로 생성해서 프로젝트를 넣어준다