SEVERE: Servlet.service() for servlet jsp threw exception

 导入的maven项目报下面异常:

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException

解决办法,找到servlet.jsp依赖,加上provided//加上这行代码:


			javax.servlet.jsp
			jsp-api
			2.2
			provided//加上这行代码
		

 

你可能感兴趣的:(java)