3.5.2 启动报错
从oschina下载的git代码。jdk 1.7
tomcat 7
eclipse 导入 maven项目
使用mvn install 生成的war包。
数据库表初始化完成;数据初始化完成。
登录首页出现以下错误:
type Exception report
message java.lang.NullPointerException
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.lang.NullPointerException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
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.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
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:49)
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:76)
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:119)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
root cause
java.lang.NullPointerException
jodd.util.StringUtil.replace(StringUtil.java:35)
org.jeecgframework.tag.core.easyui.BaseTag.doEndTag(BaseTag.java:71)
org.apache.jsp.webpage.main.shortcut_005fmain_jsp._jspx_meth_t_005fbase_005f0(shortcut_005fmain_jsp.java:536)
org.apache.jsp.webpage.main.shortcut_005fmain_jsp._jspService(shortcut_005fmain_jsp.java:115)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
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.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
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:49)
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:76)
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:119)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
同问同问同问同问,这个论坛怎么死气沉沉的,除了平台作者自己那边发的技术贴和广告贴 找到了解决方案,如果是用hibernate自动生成的表再用程序插入数据是会有这样的问题,但如果是手动把doc中的db文件导入到数据库中就不会有这个问题。把两份数据库备份导出来看确实有不一样的地方,但我也是刚开始学习这个平台,具体哪里有问题却找不出来。希望坛主能关注这个问题。 doupeng 发表于 2015-6-27 11:23 static/image/common/back.gif
找到了解决方案,如果是用hibernate自动生成的表再用程序插入数据是会有这样的问题,但如果是手动把doc中的 ...
你这个路径在什么位置没有找到 jianxia612 发表于 2015-7-6 17:39 static/image/common/back.gif
你这个路径在什么位置没有找到
jeec主目录下 有doc\db\jeecg_mysql_3.5.2-20150607.sql
页:
[1]