用intelliJ IDEA导入myeclipse项目

导入项目,安装了SQL Server,附件了相应的数据库,运行出现以下错误:

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.login_jsp
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	com.accp.myoa.filter.EncodingFilter.doFilter(EncodingFilter.java:26)

root cause

java.lang.ClassNotFoundException: org.apache.jsp.login_jsp
	java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
	org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
	org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	com.accp.myoa.filter.EncodingFilter.doFilter(EncodingFilter.java:26)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.


Apache Tomcat/7.0.23

为了解决这个问题,我百度了一上午都没有解决,后来把JDK的版本由原来的1.8改为1.7,出现了error:java:无效的源发行版:1.8的错误,然后再看到有篇文章说将use compiler 改为eclipse,果然解决了问题。

你可能感兴趣的:(用intelliJ IDEA导入myeclipse项目)