[Tomcat] 톰캣 Could not publish to the server.java.lang.NullPointerException 에러

꽌뚜루웨이·2022년 7월 28일
0
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을 새로 생성해서 프로젝트를 넣어준다


profile
꽌뚜루웨이가 되기 위해 개발하는 사람

0개의 댓글

관련 채용 정보