关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 9419|回复: 1

[环境搭建] 将myeclipse中项目在eclise中转为web项目后访问报错

[复制链接]
发表于 2017-2-8 11:05:15 | 显示全部楼层 |阅读模式
访问路径:http://localhost:8787/jeecg/

报错信息:
HTTP Status 500 - java.lang.NoClassDefFoundError: JspTagException
type Exception report
message java.lang.NoClassDefFoundError: JspTagException
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NoClassDefFoundError: JspTagException        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:348)        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)        org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:90)        com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
root cause
java.lang.NoClassDefFoundError: JspTagException        java.lang.Class.getDeclaredMethods0(Native Method)        java.lang.Class.privateGetDeclaredMethods(Class.java:2615)        java.lang.Class.privateGetPublicMethods(Class.java:2733)        java.lang.Class.getMethods(Class.java:1472)        java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1280)        java.beans.Introspector.getTargetMethodInfo(Introspector.java:1141)        java.beans.Introspector.getBeanInfo(Introspector.java:416)        java.beans.Introspector.getBeanInfo(Introspector.java:163)        org.apache.jasper.compiler.Generator$TagHandlerInfo.<init>(Generator.java:4034)        org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(Generator.java:2289)        org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1717)        org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1553)        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2450)        org.apache.jasper.compiler.Node$Root.accept(Node.java:474)        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)        org.apache.jasper.compiler.Generator.generate(Generator.java:3581)        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:251)        org.apache.jasper.compiler.Compiler.compile(Compiler.java:374)        org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)        org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662)        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364)        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)        javax.servlet.http.HttpServlet.service(HttpServlet.java:731)        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)        org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:90)        com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)        org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
 楼主| 发表于 2017-2-8 11:31:49 | 显示全部楼层
在项目中导入servlet-api.jar和jsp-api.jar!!!就ok了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表