JEECG快速开发平台 - 官方论坛

标题: JEECG 常见问题大全 [打印本页]

作者: admin    时间: 2014-6-24 11:21
标题: JEECG 常见问题大全
大家还有什么问题,请跟帖,谢谢支持。。
JEECG常见问题大全
Jeecg文档 http://jeecg3.mydoc.io
JeecgBoot常见问题新版点击我
MiniDao文档 http://minidao.mydoc.io
Jeewx常见问题JeeWx点击我

1. jeecg数据库脚本问题
   注意:jeecg3.5.2之前版本,不需要数据库脚本,程序会自动初始化数据库。从3.5.2+开始,需要手工执行SQL脚本,初始化数据库。  

2-1.   Eclipse内存溢出
2014-6-27 15:29:21 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
严重: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
  解决方案: 配置下maven启动jdk内存
  1. -DMAVEN_OPTS=-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M
复制代码
180603nlzdweex0p668tpo.png

2-2. Tomcat内存溢出
2014-6-27 15:29:21 org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler process
严重: Error reading request, ignored
java.lang.OutOfMemoryError: PermGen space
  解决方案:
     
在tomcat\bin目录下找到bin \ catalina.bat文件,用编辑形式打开,找到以下的内容:加入下边红色的Tomcat内存设置语句就可以了:
rem ----- Execute The Requested Command
  1. set JAVA_OPTS=-Xms1024m -Xmx4096m -XX:PermSize=128m -XX:MaxPermSize=256m
复制代码

linux下

bin/ catalina.sh

rem ----- Execute The Requested Command
  1. CATALINA_OPTS="-Xms2048m -Xmx2048m -XX:PermSize=512M -XX:MaxNewSize=256m -XX:MaxPermSize=1024m"
复制代码


3-1.maven依赖下载慢,下载不来怎么办?
     方式一:JEECG官方maven镜像配置方法
                  http://jeecg3.mydoc.io/?t=279437
     方式二:下载官方提供的maven本地仓库,直接覆盖本地
                  http://git.oschina.net/jeecg/jeecg-local-maven

3-2.maven 转非maven项目常见错误
   org.apache.jasper.JasperException: /webpage/login/login.jsp(3,0) Unable to read TLD "META-INF/c.tld" from JAR file
    解决方案:把jsp-api.jar和servlet-api.jar从my web-inf/lib里删掉。

3-3. JEECG 非maven版本下载地址
     https://github.com/zhangdaiscott/jeecg-nomaven

4. jeecg依赖都已经上传jeecg官方maven私服,如果有下载不来,请按照下面操作,从私服下载
       适合项目: jeecg 、jeewx、jeecg-p3
       注意:构造红色三个,snapshot是更新snapshot-jar,jeecg官方会实时更新依赖。
                  第一个不要构中,钩中的话,maven依赖不会下载。
       124358she8h59hbd9u98ue.png


5-1. 代码生成器配置问题
   代码生成器目前分两种:GUI和onlinecoding在线web方式(推荐)
   方式一:GUI工具类
                 src/main/java/test/JeecgOneGUI.java (单表)
                 /src/main/java/test/JeecgOneToMainUtil.java(一对表)
TIM图片20190227205455.png

   方式二:Online对接代码生成器
   onlinecoding代码生成器菜单:onlinecoding-->表单配置
    115507m3ouu34knux33jkj.jpg

   代码生成器配置文件:
                    a.数据库配置  src/main/resources/jeecg/jeecg_database.properties(代码生成器和项目的数据库配置是分开的)
                    b.代码生成器相关配置文件src/main/resources/jeecg/jeecg_config.properties(比如代码生成根路径)
                    详细请参看文档《JEECG 开发指南》第7节代码生成器专题
                 特别注意参数:
                   代码生成器是单独的数据库配置文件,而且database_name参数必须配置,否则提示错误
                     132052vqi2dfussp3s07sp.png


5-2.  代码生成后,项目启动,提示找不到对应的control,需要spring扫描配置(entity、service、controller)
      http://www.jeecg.org/forum.php?mod=viewthread&tid=1832&extra=
     注意:如何不配置,会出现空指针错误。
       154939lojjc5oot8jc4je9.png


5-3. 代码生成的时候说表名不存在问题?
     代码生成器数据库配置文件: src/main/resources/jeecg/jeecg_database.properties
      注意: database_name 必须跟数据库名一致。
TIM图片20190227192316.png

      另外: 请注意数据库不要区分大小写(Linux下mysql,区分大小写,会导致有问题),
                因为jeecg默认用大写的表名去读取表结构信息。
      http://www.jeecg.org/forum.php?m ... 3052&extra=page%3D1

5-4. 代码已经生成了  但是我修改了生成的代码  页面请求没有任何变化
     回答:这个问题是因为, online的表单访问地址和代码生成后的地址是不一样的,代码生成后,应该修改访问地址,不应该还用online的访问地址;
               另外采用online方式配置的权限,代码生成后需要重新配置,规则变了。

6.eclipse卡,可以关闭validation
  原因:jeecg项目功能多,js文件也比较多,所以eclipse校验js文件有时会导致cpu爆满
  解决:关闭eclipse的validation -->  打开下面截图,按照步骤点击Disable All,保存。
TIM图片20190227192417.png

   
   eclipse加速之禁用JS、jsp等文件的语法验证:   
                          https://blog.csdn.net/testcs_dn/article/details/39058959
   汇总解决方案: https://blog.csdn.net/zhuchunyan_aijia/article/details/50499198

7. 表单自定义按钮问题
    jeecg表单弹出采用的技术是lhgdialog ,技术链接:http://www.lhgdialog.com/
    目前添加和修改的方法是写的通用的,都在src/main/webapp/plug-in/tools/curdtools.js里面
    所以看不到js方法,如果用户想定义模仿里面的写法即可,可以任意扩展按钮
  1. $.dialog({
  2.                         content: 'url:'+addurl,
  3.                         lock : true,
  4.                         //zIndex:1990,
  5.                         width:width,
  6.                         height:height,
  7.                         title:title,
  8.                         opacity : 0.3,
  9.                         cache:false,
  10.                     ok: function(){
  11.                             iframe = this.iframe.contentWindow;
  12.                                 saveObj();
  13.                                 return false;
  14.                     },
  15.                     cancelVal: '关闭',
  16.                     cancel: true /*为true等价于function(){}*/
  17.                 })
复制代码
8.  列表自定义查询条件问题
   jeecg默认生成的查询条件,布局如果满足不了需求可以自定义查询条件
说明:命名规则按照datarid的name进行命名,参考下面规则,js方法会自动生成
   
t:datagridname = {userList2}
查询域divid={userList2}tb
查询对应JS方法{userList2}search();
重置对应JS方法searchReset('{userList2}');
  参考代码:src/main/webapp/webpage/system/user/userList2.jsp
  参考demo如下:
140125roagtkwa6pq6atis.png




9. jeecg_v3.6 按钮权限和数据权限教程
    注意admin拥有超级权限,换其他号测试;
    如果是采用标签的datagrid页面,自定义按钮权限控制是有效的;
    如果未采用标签的列表页面,想使用按钮权限的话,需要在页面引用下标签,在页面底部写如下代码
  1. <t:authFilter/>
复制代码
注意:权限测试,不要用admin,admin有超级权限,不受权限控制。
    [1]. JEECG 简单实例讲解权限控制  http://blog.csdn.net/zhangdaiscott/article/details/50233453   
    [2]. 简单实例讲解JEECG ONLINE表单权限控制  http://blog.csdn.net/zhangdaiscott/article/details/50381050

10. 菜单设置 “访问类型”,左侧菜单不显示?
       说明: 访问类型 ,是用于数据权限使用,不作为菜单展示使用。

11. 配置行级数据权限不生效,常见问题
      常见问题一: url地址配置错误,大家长犯错误配置页面访问地址,应该配置数据加载地址
                         例如:
                                    正确地址: testPersonController.do?datagrid
                                    错误地址: testPersonController.do?list (此为页面地址,非列表数据加载地址,一定注意)

12. 如何让请求,排除权限拦截
      配置文件: src/main/resources/spring-mvc.xml
      165613by01p100z0mx105y.png


13.配置权限时报undefind
      http://www.jeecg.org/forum.php?m ... 4855&extra=page%3D1

14. 上传word模板报错问题
    onlinecoding上传word模板采用的是组件jacob,该组件需要在window系统下,而且需要做对应的配置,如果你是linux系统,请采用fck编辑器,将word内容复制进去;
详细参考文档《JEECG Online Coding开发手册》
http://yun.baidu.com/s/1iCkb


15.jeecg上传文件组件其他方案
http://www.jeecg.org/forum.php?mod=viewthread&tid=935&extra=

16. jeecg上传附件简易方案
     http://www.jeecg.org/forum.php?mod=viewthread&tid=935&extra=page%3D1

17.jeecg 上传组件,打开很慢问题解决
     fileTypeExts包含zip,rar 就会延迟打开,建议不限制 fileTypeExts
    原因看文章:https://segmentfault.com/q/1010000007501929/a-1020000007546108

18-1. 上传控件不好用问题(谷歌浏览器(Chrome)遇到Flash崩溃的处理办法)
       Upload(上传标签)采用flash方式,不同的浏览器对flash支持不同,会出现上传有问题,建议重装flash组件
       http://blog.csdn.net/zhangdaiscott/article/details/43585049
     
18-2. 谷歌浏览器上传提示报的302错误
       手工添加flash安全网站
  1. chrome://settings/content/flash
复制代码
https://jingyan.baidu.com/article/15622f24216841fdfdbea570.html

19.老的上传标签upload, 默认转换文档  openoffice  ,如何控制不转换?
      通过参数 swfpath, 转换SWF(不设值则不转换)
182043kn7nv3zn793wk7mm.png




20.项目启动,提示initLinster监听找不到
a. 错误截图:
      131740zaqh1g4jucanuzbb.png

143247i3356y5f6lf93v6c.png

     
b.排查下问题 确认下:resource没在classpath里面
180350etsfgbfvmry258cj.png

手工remove掉,然后再手工加进来(这个步骤很管用)
c. 解决方案:通过eclipse   clean下项目,生成class
    131819bunnu3yqnf8k3y1n.png



21.jeecg_v3.6 定时任务使用文档
   http://blog.csdn.net/zhangdaiscott/article/details/50903499
   http://wiki.jeecg.org/pages/viewpage.action?pageId=1376468

22.如果屏蔽定时任务(jeecg老版本)
     修改配置文件:src/main/resources/spring-mvc-timeTask.xml
     注释掉:
         183049vfp9pux5eeqzn9er.png

   Jeecg最新版方案:
   
如何你想一台机器,部署多个应用,但只限一个应用执行定时任务该如何配置?
很简单,如下:找到spring-mvc-timeTask.xml配置文件,将此配置文件删除。

23.JEECG新版集群定时任务使用方法
   https://my.oschina.net/aini3884/ ... af5d3fd14d775bfee85


24. jeecg用hibernate效率会不会低?有没有mybatis
   解答: jeecg有自己的轻量级持久层封装框架 minidao,类似mybatis写sql,建议复杂业务逻辑采用minidao来实现

25.默认首页风格切换方法
   http://blog.csdn.net/zhangdaiscott/article/details/51177823

26.文件在线预览不好用
   回复:jeecg在线文档预览采用OpenOffice,所以需要本地安装【Apache_OpenOffice_incubating_3.4.0_Win_x86_install_zh-CN.exe】,并且需要修改配置文件,设置openoffice安装路径
    165208fh14rhuw1mur4r61.png

27.多数据源使用文档
     http://www.jeecg.org/forum.php?mod=viewthread&tid=2328
  

28.jeecg的parent引用报错【jeecg-p3-pom】
   
113403eauz1q25b1gahspy.png

     解决方法: 这个依赖在jeecg的maven私服上面,通过执行install 或者下载命令,就可以通过私服下载来,不需要额外配置。

     很多朋友maven不熟悉,请大家一定按照以下截图配置好maven参数
   112939colwv7d4v9s0d09x.png

112908v4jytdclefbpevac.png



29.JEECG兼容那些浏览器,是否兼容IE?
      jeecg兼容所有的浏览器 IE、谷歌、火狐等浏览器都支持。
      jeecg的首页和登录页面分很多套:登录页面有三套,首页有5套
      五套首页IE支持情况,菜单三级支持情况列表:
首页风格IE兼容性菜单支持三级
ACE平面风格支持IE10+不支持
ShortCut风格支持IE6+支持
经典风格支持IE6+支持
Sliding云桌面支持IE8+  不支持
H+平面风格支持IE10+  不支持

30. 最新版本(3.6.4)登录后首页乱码   
       170208i9poee0ej0p80jvs.png

    解决办法:
    1.浏览器兼容问题,建议谷歌浏览器
    2. 底层jar是旧的,更新jeecg maven依赖,特别是snapshot类型的,更新后会解决该问题,如果不熟悉maven可以下载官方提供本地仓库 http://git.oschina.net/jeecg/jeecg-local-maven

31.jeecg的数据表 必须得有id这个字段么?
     不是,jeecg的实体必须是id,数据库主键通过注解与实体映射即可。

32.切换数据库类型,比如从mysql改成oracle需要注意修改位置
     平台DB配置文件:src/main/resources/dbconfig.properties
     代码生成器配置文件:src/main/resources/jeecg/jeecg_database.properties
     minidao配置修改:src/main/resources/spring-minidao.xml
      164050vcmju67jzjujg3zz.png
              


34. jeecg 与 jeecg-p3区别?
      http://www.jeecg.org/forum.php?mod=viewthread&tid=3581&extra=page%3D1

35.jeecg中ckfinder的使用
    链接地址:http://jingyan.baidu.com/article ... qq-pf-to=pcqq.group

36. 如何改造列表默认模糊查询?
    注意:目前列表查询是全匹配查询,需要模糊查询的话,是在输入框的内容前后加*,例如按照“名字”迷糊查询: *张三*
         为什么这么设计?因为如果系统默认全按照模糊查询,数据量大的情况会导致系统很慢,所以模仿SAP的这种规则模式。
        如果用户需要默认模糊查询,可以自行改造hql查询过滤器
       http://blog.csdn.net/zhangdaiscott/article/details/74980298


40. jeecg老版本 SQLSERVER支持问题?
常见问题:
    105543vzff7i9eobyzt9ip.png

解决方案:(替换下驱动包)
修改pom.xml文件,删除原来sql server2005的驱动包,添加如下驱动包
      <dependency>
                  <groupId>com.microsoft.sqlserver</groupId>
                  <artifactId>sqljdbc4</artifactId>
                  <version>4.0</version>
       </dependency>

41. jeecg restful请求如何访问?
      control的请求需要加上“rest/”前缀,例如:
      181333u99489ygiijgdzzi.png


42.jeewx与jeecg区别?
    jeecg是快速开发平台,jeewx是在jeecg 3.4.2版本上开发的微信管家系统。

43.jeecg 在线聊天功能如何配置?
    http://blog.csdn.net/zhangdaiscott/article/details/52351494

44.JEECG默认查询是单表,怎么实现两张表关联查询啊
     案例:有一张人员表和部门表,因为人员表只有部门的ID,怎么让查询结果显示部门名字
    方案一: 通过针对分页查询的结果集,进行循环处理处理(拓展字段)
102331e8jxs5ppwpld4jxz.png
  1. this.gzUserInfoYwService.getDataGridReturn(cq, true);
  2. List<GzUserInfoYw> gzUserInfoList = dataGrid.getResults();
  3. Map<String,Map<String,Object>> extMap = new HashMap<String, Map<String,Object>>();
  4. for(GzUserInfoYw temp:gzUserInfoList){
  5.         //此为针对原来的行数据,拓展的新字段
  6.         Map m = new HashMap();
  7.         m.put("departmentName", "财务部");
  8.         m.put("orgName", "组织机构名称");
  9.         extMap.put(temp.getId(), m);
  10. }
  11. TagUtil.datagrid(response, dataGrid,extMap);
复制代码
JSP页面用法(跟实体字段一样):
175259a009v0bsd1an0sbb.png


方案二: 直接采用minidao(类mybatis)写原生态SQL实现多表关联查询,案例参考: jeecg常用示例->Minidao列表
45.online表单,默认模板设置
     src/main/java/org/jeecgframework/web/cgform/util/TemplateUtil.java
     属性: public static final String TEMPLET_CODE_DEFAULT = "default";
                  //Online默认样式:default(easyui)  
                  // Online默认样式:ledefault(ace)

48. 项目Maven启动报错
      The argument does not represent an annotation type: ContextConfiguration
      
   解决方案(需修改两点):
1. org.jeecgframework.core.junit.AbstractUnitTest 类的依赖类 需要导入本地junit4 测试包
  1. <!-- spring -->
  2. <dependency>
  3. <groupId>org.springframework</groupId>
  4. <artifactId>spring-test</artifactId>
  5. <version>${spring.version}</version>
  6. </dependency>
复制代码
注释: 把原来的<scope>test</scope>去掉

2. 将类AbstractUnitTest改成抽象类
  1. public abstract class AbstractUnitTest
复制代码

50. 在页面当中打开一个新的tab页面 ,弹出窗口,提示消息等通用JS都在文件
   curdtool*.js (分中文和英文)
    路径: src/main/webapp/plug-in/tools/curdtools_zh-cn.js
51. 弹出窗口增加按钮
  1. 重写plug-in/tools/curdtools_zh-cn.js文件中createdetailwindow方法(重命名),复制重写的方法到对应的 *-list文件中,修改录入、修改、查看或者删除方法的调用方法名为重写的方法
  2. 弹窗组件API 参考网址 http://www.lhgdialog.com/
复制代码
52. 获取当前登录用户信息
  1. TSUser user = ResourceUtil.getSessionUserName();
复制代码
53. 获取当前日期
  1. String date  = DateUtils.date2Str(new Date(), DateUtils.date_sdf);
复制代码
54. rest风格请求地址调用方法
  1. 例如:
  2. 查询list :http://localhost:8080/系统名称/rest/tZzxtDictionaryController/
  3. 查询1条数据:http://localhost:8080/系统名称/rest/tZzxtDictionaryController/{id}
  4. 其他方法去对应的controller里面找
复制代码
55. 判断非空,转换string To int 等方法在工具类
  1. org.jeecgframework.core.util.oConvertUtils
复制代码
56. 给列表单元格加背景色
  1. <t:dgCol title="任务类型"  field="type" align="center" extendParams="'styler':fmtype;" query="true" queryMode="single"  width="100"></t:dgCol>
复制代码
extendParams属性添加js方法,然后再调用方法
  1. function fmtype(val,row,index){
  2.     var s1 = 'background-color: #f89406;;border-radius: 5px;color:#fff;';
  3.     var s2 = 'background-color: #3a87ad;border-radius: 5px;color:#fff';
  4.     if (val =='W') {
  5.         return s1
  6.     }
  7.     if (val =='J') {
  8.         return s2
  9.     }
  10. }
复制代码
60. validform校验规则选择3情况下,弹出提示框在IE下跑偏问题
       问题效果:
             144232udgajwuwz4g79797.png

       解决方法:
            在对应的jsp页面头部加上:
  1. <!DOCTYPE html>
复制代码
就可以解决这个问题。

61.Online二次开发,
JS增强实现POPUP的返回多赋值
    http://blog.csdn.net/zhangdaiscott/article/details/72639785

62.Jeecg 如何执行批量insert或者update操作,高效率
     方法:org.jeecgframework.core.common.dao.jdbc.SimpleJdbcTemplate.batchUpdate
     原理: 基于springjdbc封装,批量提交
     相关博客:http://blog.csdn.net/kiwi_coder/article/details/12749325

63.如何去掉在线聊天功能?
修改页面src/main/webapp/webpage/main/hplus_main.jsp,删掉引用<%@include file="/context/layui.jsp"%>
120001oy7dc96pp6c96pd6.png

64.列表字段过多情况下,实现左右拖动效果,参数设置

        修改列表<t:datagrid ,设置参数, fitColumns="false"

65.表单时间控件,带.0处理方案

      赋值的时候,格式化<fmt:formatDate value='${jeecgDemoPage.birthday}' type="date" pattern="yyyy-MM-dd"/>
    115435xuym6kf6vffuxuyo.png


66. jeecg 图标样式IE兼容性问题
     jeecg 3.7版本以后,提供两套图标设置防范
      
EasyUI图标设置支持IE(如果使用IE,
建议采用这种方式)
Font Awesome不支持IE(谷歌浏览器,
效果更棒)
   easyui风格
120405sic9q9ca84hi7pp6.png

   Font Awesome风格
120503jzajpyvzojb2yjzx.png



   
68.jeecg部署weblogic 修改配置方法
    http://blog.csdn.net/zhangdaiscott/article/details/73277955


70.jeecg如何定位对应的Controller类

     通过谷歌浏览器,F12进入调试模式,访问页面查看请求,通过请求去定位。     jeecg的类都是命名规范,通过快捷键Ctrl+Shift+R 可以快速定位



81.JEECG 页面多个用户选择器只显示最后一个
    http://blog.csdn.net/u014361679/article/details/76209047

82.JEECG 页面字典控件与Popup使用
   http://blog.csdn.net/zhangdaiscott/article/details/72639785


84.如何提升优化jeecg web访问效率,解决easyui访问慢问题
    http://blog.csdn.net/zhangdaiscott/article/details/77509517
    http://blog.csdn.net/zhangdaiscott/article/details/77509555
    http://blog.csdn.net/zhangdaiscott/article/details/30035805

85. plug-in-ui  位置,在底层插件 jar中
      位置:
org\p3framework\jeecg-p3-ui\1.1.3\jeecg-p3-ui-1.1.3.jar/plug-in-ui
86.前端性能优化知识,包括css和js
     http://blog.csdn.net/zhangdaiscott/article/details/74344519



88.IE8下 DIV风格美化方案
    方案不足: 不兼容I8兼容模式,会导致提交不了。
     修改文件:src/main/webapp/plug-in/Validform/css/divfrom.css
     增加属性:
  1. position:relative;
  2. z-index:2;
  3. behavior:url(plug-in/diy/htc/PIE.htc);
复制代码
89. jeecg开发模式和发布模式如何切换?
    修改配置文件: src/main/resources/sysConfig.properties
    参数:  
#DEV(开发模式)/PUB(生产模式)
sqlReadMode=PUB


90. JEECG_3.7.1 列表多表头的用法

    http://blog.csdn.net/zhangdaiscott/article/details/77988776


92. 弹出框不能放大了,问题原因
      185842fgqdfqffggdgkdlf.png

    问题原因: 因为myeclipse2016版里面有个codelive导致的


94. 【开发工具】 JEECG_3.7新版开发工具
       http://blog.csdn.net/zhangdaiscott/article/details/78072438

95. t:formvalid中定义callback函数
如果dialog="true"的话
      callback="@Override functionName" 调用的是当前页面的方法
      callback="functionName" 调用的是父页面的方法
如果dialog="false"
      callback="functionName" 调用的是当前页面的方法

96、自定义弹框的大小
           <t:dgToolBar title="common.add.param" width="20%" height="30%" operationCode="addOptButton"
langArg="common.user" icon="icon-add" url="userController.do?addorupdate" funname="add"></t:dgToolBar>


97. online一对多结构,附表数据大于256条时报错
      java.lang.IndexOutOfBoundsException: Index: 256, Size: 256
      http://bbs.csdn.net/topics/390511418/
      

      有两个地方  一个是 BaseController 中  一个是MyWebBinding
      binder.setAutoGrowCollectionLimit(Integer.MAX_VALUE);
      

98. 二级三级联动问题
   一级联动例子参考:常见示例-原生态组件-联动下拉省市区
   TIM图片20190227194204.png

TIM图片20190227194217.png


99.jeecg中如何调用存储过程?
    方案: 采用springjdbc调用存储过程
    参考: http://blog.csdn.net/zjw10wei321/article/details/44151751

100.启动报启动Velocity失败
     首先clean下项目,尝试重启看是否成功
     如果不成功采用以下方案尝试
   
是velocity初始化引擎的问题,修改下配置就可以了
修改 velocity.property  
注释runtime.log.logsystem.class = org.apache.velocity.runtime.log.Log4JLogChute
新加一下配置
runtime.log.logsystem.class = org.apache.velocity.runtime.log.SimpleLog4JLogSystem
runtime.log.logsystem.log4j.category=velocity
runtime.log.logsystem.log4j.logger=velocity

runtime.log = velocity.log

启动成功

101. 启动不正常,卡住不动了
     可能是ehcache端口冲突问题,去修改下src/main/resources/ehcache.xml配置文件
      100913uv25vvd7rvy03v87.png


     



102. jeecg Error was Port already in use: 40001解决办法
       http://blog.csdn.net/zhangdaiscott/article/details/78731387

103. jeecg_3.7.1版本用户添加不上问题
       http://www.jeecg.org/forum.php?m ... 4764&extra=page%3D3


105.列表标签datagrid的自定义JS方法如何传递参数
     http://www.jeecg.org/forum.php?m ... 4879&extra=page%3D1

106.jeecg通过hibernate查询的实体,设置实体字段值会自动更新数据库问题
    原因:jeecg采用了hibernate的缓存机制,所以会自动更新数据库。
    如何不更新数据库,关闭hibernate 的session
  1. 关闭session
  2. //-------------关闭hibernate Session-------------------------------
  3. SessionFactory sessionFactory = (SessionFactory) ApplicationContextUtil.getContext().getBean("sessionFactory");
  4. Session session = sessionFactory.getCurrentSession();
  5. session.close();
  6. //-------------关闭hibernate Session-------------------------------
复制代码
107. JEECG 行编辑示例源码
      http://www.jeecg.org/forum.php?m ... 4951&extra=page%3D1

108.JEECG_3.7.1分页报错问题解决
      http://www.jeecg.org/forum.php?mod=viewthread&tid=4968&extra=

109.minidao条件like写法
  1. <#if ( employee.name )?? && employee.name ?length gt 0>
  2.             /* 雇员名 */
  3.                 and e.NAME  like CONCAT('%', :employee.name ,'%')
  4. </#if>
复制代码
110.jeeccg 数据列表,如何扩展个性化效果
     通过标签参数 formatterjs
     代码参考:
  1. <t:dgCol title="头像"  field="touxiang"   queryMode="group"  formatterjs="<font color="#ff0000">statusFmt</font>" width="60"></t:dgCol>
复制代码
  1. function <font color="#ff0000">statusFmt</font>(value, row, index){  
  2.                 if (value != null && value != '')
  3.                         return '<span style="color:green;font-size: 16px;">✔</span>';
  4.                 return '<span style="color:red;font-size: 16px;">x</span>';
  5.         }
复制代码
效果:
194250smzjokrptdjd5d3e.png

实践帖子:http://www.jeecg.org/forum.php?m ... 5004&extra=page%3D1
     
111.列表标签exp表达式用法
[1]、支持exp   有多个值     比如 state  in(1,4,5,6,8)
语法:status#eq#N,Y  多个以逗号隔开
[2]、判断空
空判断:status#empty#true  非空false

112.连接外部数据库,系统访问慢问题解决
      http://www.jeecg.org/forum.php?m ... e=1&extra=#pid13786

113.JEECG-P3如何做细化权限控制?
     http://www.jeecg.org/forum.php?m ... 5275&extra=page%3D1

114. 3.7.3新春版本,无法添加用户
    http://www.jeecg.org/forum.php?m ... 5345&extra=page%3D1

115. minidao 提示sql文件不存在,实际sql存在
     类似截图:
      TIM图片20190227225110.png

     问题原因: 此为minidao提示不准确问题,真正问题是sql模板freemarker语法错误。
     解决方案:可以引用minidao最新版1.6.3
  1. <dependency>
  2.                         <groupId>org.jeecgframework</groupId>
  3.                         <artifactId>minidao-pe</artifactId>
  4.                         <version>1.6.3</version>
  5.                         <exclusions>
  6.                     <exclusion>
  7.                     <groupId>org.springframework</groupId>
  8.                     <artifactId>spring-asm</artifactId>
  9.                 </exclusion>
  10.                 <exclusion>
  11.                     <groupId>org.junit</groupId>
  12.                     <artifactId>com.springsource.org.junit</artifactId>
  13.                 </exclusion>
  14.              </exclusions>
  15.                 </dependency>
复制代码
116. my97时间控件选择时间后,validform验证无效,焦点再次指向输入框,后再次校验通过
        解决方案:
        时间控件事件放到input框外面,如下图:
        
        实例代码: t:base 标签引入 DatePicker
  1. <div class="form">
  2.         <label class="Validform_label"> 时间: </label>
  3.         <input id="d12" type="text" datatype="*" errormsg="该字段不为空"/>
  4.         <img onclick="WdatePicker({el:'d12'})" src="plug-in/easyui/themes/black/images/datebox_arrow.png"
  5.              style="opacity: 0.6;height:17px;width:17px;" align="absmiddle">
  6.         <span class="Validform_checktip"></span>
  7. </div>
复制代码
117. 启动错误解决 java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.core.util.EhcacheUtil
      http://www.jeecg.org/forum.php?mod=viewthread&tid=5453&extra=

118.jeecg 默认字段值是如何注入的?
       通过hibernate拦截器 org.jeecgframework.core.aop.HiberAspect
TIM图片20190227225403.png

119. 3.7.2 版本bug,online配置唯一校验生成代码后,显示数据类型未定义
    http://www.jeecg.org/forum.php?m ... 0%E6%A0%A1%E9%AA%8C

120. jwt接口常见问题,没有配置redis服务
    http://www.jeecg.org/forum.php?m ... 5485&extra=page%3D1

122. jeecg_3.7.3 新版定时任务用法讲解
   (新版)https://blog.csdn.net/zhangdaiscott/article/details/77504229

123. jeecg_3.7版本菜单加载慢问题解决,实现菜单1秒开

   http://www.jeecg.org/forum.php?mod=viewthread&tid=5577&extra=page%3D1

124. 关于minidao1.6.2最新版本与spring boot整合
  http://www.jeecg.org/forum.php?m ... 5604&extra=page%3D1
  http://www.jeecg.org/forum.php?m ... 5458&extra=page%3D1

125.关于配置表单权限修改后字段值变成空问题
  http://www.jeecg.org/forum.php?mod=viewthread&tid=5655&fromuid=11298

126.jeecg导入excel数字列带.0

     解决方案: 把excel这一列改成文本类型

127 工作流版本问题
工作流版本为商业版,只对公司用户提供。社区提供了JEECG集成工作流学习版本(供大家学习):
http://www.jeecg.org/forum.php?m ... 1800&extra=page%3D1


129.jeecg webservice如何使用?
     jeecg集成cxf 配置文件:src/main/resources/cxf-servlet.xml
     客户端测试代码:src/main/java/org/jeecgframework/web/demo/ws/test/JeecgWServiceClient.java
      请求示例:http://localhost:8080/jeecg/cxf/JeecgWService
       171838evcyuy6cycdc575j.png


     特殊说明:jeecg默认是注释了webservice功能,降低jeecg的复杂度;如果需要可以全文搜“暂时注释掉提高平台性能,需要此功能,可以放开注释” 找到注释的地方,放开注释。还有pom.xml的引用放开;

130. Minidao报错 Object_toString.sql not found
       此问题是写的sql语法有错误,minidao版本低,提示错误不准确,请升级minidao版本
  1. <dependency>
  2.                         <groupId>org.jeecgframework</groupId>
  3.                         <artifactId>minidao-pe</artifactId>
  4.                         <version>1.6.4</version>
  5.                 </dependency>
复制代码
131. jeecg集群部署,redis session共享,登录权限为空的问题
     http://www.jeecg.org/forum.php?m ... =%E9%9B%86%E7%BE%A4

132. jeecg_3.7.6版本为了提高平台性能,注释掉了不常用的功能:
            swagger-ui、cxf webservice、跨域方案,如果需要用,请解开注释
           全文搜索: 关键词“暂时注释掉提高平台性能,需要此功能,可以放开注释” ,打开对应的注释
     例如:http://www.jeecg.org/forum.php?m ... 6137&extra=page%3D1

133. jeecg_3.7.6 新特性,权限做了缓存,权限授权变更后,请点击重置缓存
      

134.弹出页面遮挡在表单后面的问题
      http://www.jeecg.org/forum.php?m ... e=1&extra=#pid17016

135. jeecg启动不成功,报maven错误,找不到 commons-logging:commons-logging:jar:[1.1,)
       http://www.jeecg.org/forum.php?mod=viewthread&tid=6630

136.minidao批量查询如何写?循环集合
    http://www.jeecg.org/forum.php?m ... 6644&extra=page%3D1

137. oracle下代码生成报错
http://www.jeecg.org/forum.php?mod=viewthread&tid=5663&page=1

138. jeecg 3.7.6 bug 请教解决加载的JS类库和CSS文件上下文一直是127.0.0.1的错误bug
   http://www.jeecg.org/forum.php?m ... 6704&extra=page%3D2

139.WebUploader上传路径配置

      文件:src/main/resources/sysConfig.properties
      属性:webUploadpath

140.【弹窗问题】第二层弹窗操作关闭,导致遮罩丢失问题
    http://www.jeecg.org/forum.php?mod=viewthread&tid=6831&extra=

141. 3.7.7 新版代码生成器模板,生成为空的问题解决
       http://www.jeecg.org/forum.php?mod=viewthread&tid=6862&extra=

142. 3.7.7 新版代码生成器模板,生成报错空指针问题解决
       http://www.jeecg.org/forum.php?m ... 6969&extra=page%3D1

143. swagger UI 3.7 出不来的问题
     解决:因为jeecg默认是注释掉了这个功能,如何解开,请参考下面的 “技巧十一

144.jeewx报systemService bean找不到
       TIM图片20190227225547.png

   解决方案:
     【1】注意jeewx 3.0版本,不支持jdk8;把jdk换成7
     【2】把pom.xml中的依赖包jboss-vfs 注释掉
  1. <!--<dependency>
  2.                         <groupId>org.jboss</groupId>
  3.                         <artifactId>jboss-vfs</artifactId>
  4.                         <version>3.1.0.Final</version>
  5.                 </dependency>-->
复制代码
145. IE8 低版本兼容问题
   http://www.jeecg.org/forum.php?mod=viewthread&tid=7164&extra=page%3D1

146. jeecg开源项目的IDEA的部署
       网友制作

147. jeecg上传替换方案详细文档
      https://my.oschina.net/u/2425353/blog/1935155
      https://my.oschina.net/u/2425353/blog/1935204

148. springboot2与minidao集成示例代码
      https://download.csdn.net/download/zhangdaiscott/10741713

149.Excel导出复杂效果怎么实现?
     jeecg默认自带excel导入和导出功能,但是复杂的导出会显得不灵活,针对这种情况,给大家建议:
     采用原生态的写法,自己实现导出功能,采用jxls模板更灵活更方便(类似freemaker)
     
150. 集成CMS插件,ueditor编辑器图片上传一直显示正在读取目录.
   http://www.jeecg.org/forum.php?m ... 7537&extra=page%3D1

技巧一:
    //清理垃圾菜单权限配置
        delete from  t_s_role_function where  functionid not in(select id from t_s_function)

技巧二:
           在线聊天工具配置文件:
        1. websocket配置:
           src/main/webapp/plug-in/layim/config.js
                修改IP和项目访问地址
        2. 必须使用tomat7以上

技巧三:切换my97皮肤方法
        修改My97DatePicker/WdatePicker.js文件参数skin:"green" ,标准风格default
        
技巧四: 切换列表风格{easyui,jqgrid}
        org.jeecgframework.tag.core.easyui.DataGridTag.style

技巧五: 拦截排除注解JAuth的使用--@JAuth(auth=Permission.SKIP_AUTH)
        在controller上添加表示该类下所有请求直接通过url拦截器
        在方法上添加则表示只有该方法的请求直接通过url拦截器
        auth值若不配置或配置成auth=Permission.NORMAL则表示走默认逻辑

技术六:权限拦截支持请求URL(目前支持带一个参数,但格式有要求,不能带等号)
        loginController.do?login
        loginController.do

        不支持模式:
        loginController.do?name=2

技巧七:jeecg的排序可以用列表的sort属性,也可以cq.addOrder("userName", SortDirection.desc);编码方式,
                   编码方式优先于标签的,在排序前面。

技巧八:jeecg对外接口文档
       http://localhost:8080/jeecg/swagger/index.html

技巧九:restful接口时间格式化处理方法
               实体时间字段set方法加注解
               @JsonDeserialize(using = CustomJsonDateDeserializer.class)

       online模板加载类
       src/main/java/org/jeecgframework/web/cgform/engine/DBTempletLoader.java

技巧十一: 暂时注释可以不需要的功能,降低内存占用
        //暂时注释掉的功能: 1.单点机制
                                        2. sql注入拦截器
                                        3. webservice 功能
                                        4. 跨域问题
                                        5. swaggerUI
                                        6.API 接口验签拦截器
        //如何放开,全文搜索关键词: (暂时注释掉提高平台性能,需要此功能,可以放开注释)  ,找到解开注释      
        
技巧十二:jeecg内存占用多有一个重要原因是因为easyUI,采用的iframe模式

技巧十三:freemaker的空指针报错问题,online和minidao有特殊处理,采用classic_compatible模式
                 特殊点: online里面的include必须用绝对路径

                        其他:代码生成器采用原始模式,不设置classic_compatible参数。
               FreemarkerHelper工具类,不设置。
        
技巧十四:本地化图文服务接口用法(文件独立目录)
         类: src/main/java/org/jeecgframework/web/system/servlet/ImgServerServlet.java
        webUploadpath图片访问地址
                     格式:/img/server/{图片相对路径}

                举例:http://localhost:8080/jeecg/img/service/20170519/profile_small.jpg
               下载模式: 请带参数 ?down=true
               举例: http://localhost:8080/jeecg/img/service/20170519/profile_small.jpg?down=true
               
技巧十五: 菜单打开两种方式(默认是Iframe)
          graphReportController.do?list&isIframe
          graphReportController.do?list&isHref

技巧十六: 分布式部署缓存存在问题
                        目前动态数据源连接池缓存本地class static级别,不支持分布式缓存,需要每台服务tomcat单独操作。
         org.jeecgframework.core.util.ResourceUtil.dbSources

技巧十七: 诡异问题
          jeecg列表自定义js方法,参数不能有空格,不然js方法不好用。(空格会导致js参数错位)      

技巧十八: online word模板生成
                 代码生成后代码格式不好,建议用eclipse进行格式化



关注JEECG官方公众号,获取更多信息

qrcode_for_gh_aee88273a8f5_258.jpg

作者: MRJJR007    时间: 2014-6-24 11:33
开发文档里面没有生成代码的spring配置(entity、service、controller)
作者: admin    时间: 2014-6-24 11:42
MRJJR007 发表于 2014-6-24 11:33
开发文档里面没有生成代码的spring配置(entity、service、controller)

http://www.jeecg.org/forum.php?m ... tid=1832&extra=
作者: 上官萧浪    时间: 2014-6-24 21:58
:):):)
作者: MRJJR007    时间: 2014-6-25 11:26
online  coding  的表单 如何添加输入验证啊  校验字典是咋弄的
作者: hlvictor    时间: 2014-6-27 10:14
在V3.4.1的更新中提到webservice集成方案与实施,但在框架中没有找到。文档中也没有相关的资料。希望能补上这部分的文档和democ。
作者: modell    时间: 2014-7-8 10:38
popup问题没有给连接啊
另外咨询一下online开发表单 树形如何配置,选上无效
作者: lokevin    时间: 2014-8-14 13:50
我要用的数据库  你们的jdbcUtil里面 没有怎么办  
作者: Arcko    时间: 2014-9-4 13:12
lokevin 发表于 2014-8-14 13:50
我要用的数据库  你们的jdbcUtil里面 没有怎么办

自己加,或者等待更新
作者: jeecg菜鸟想学习    时间: 2014-11-19 14:42
求jeecg_database.properties中关于sql server 2005的配置
作者: 1054522381    时间: 2015-4-11 20:05
严重: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.InitListener
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'systemService' is defined
作者: Qinxd    时间: 2015-4-20 18:26
可以使用mybatis开发吗?如果可以改动的东西大吗?
作者: lyb    时间: 2015-5-6 12:29
标题: 运行时出错
严重: Parse error in application web.xml file at jndi:/localhost/jeecg-bpm-framework-MF/WEB-INF/web.xml
java.io.FileNotFoundException: Could not resolve XML resource [null] with public ID [null], system ID [joa.xml] and base URI [jndi:/localhost/jeecg-bpm-framework-MF/WEB-INF/web.xml] to a known, local entity.
作者: weibkreuz    时间: 2015-9-22 15:28
动态报表中,查询按钮貌似不起作用。。。求解决方式
作者: 健J    时间: 2015-10-15 14:06
第四个链接没有的
作者: xia    时间: 2015-11-12 13:23


作者: 271003963    时间: 2016-1-2 15:21
一直听别人说jeecg开源框架很强大,自己就试着接触,第一次下载maven项目的时候,有很多jar包下载不下来,不知道为什么有些jar包就是下不下来,.m2下出现了很多临时文件,问了很多人,也没解决;无奈只好下载非Maven版本,事先我先导入了doc下的sql文件到数据库,启动之后,我登陆,再初始化数据库,提示错误异常: SQLException
看了很多资料,由于基础不好,对这个框架还不是很了解,不知道生成的东西是不是依赖于这个框架,我设计或者生成的文件如何做成一个独立的项目?之前看了陈旭的毕业设计,一直不知道他是怎么独立弄出来的,也没找到相关的视频学习,本人太笨,请求楼主指点,给些通俗的资料

在初始化数据库的时候报错

在初始化数据库的时候报错
小Q截图-20160102151151.png

maven项目不能下载jar

maven项目不能下载jar

作者: a892111    时间: 2016-3-4 08:26
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project jeecg: Unable to generate classpath: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
maven项目打包不成功,我是最新的手,大神帮帮我
作者: 小旋风vs    时间: 2016-4-10 17:08
  initializationError(org.jeecgframework.AbstractUnitTest): No runnable methods
不管执行maven打包命令,还是执行mvn test都报这个错误,是什么原因
作者: 小旋风vs    时间: 2016-4-10 17:43
登录的时候一直报:用户名或者密码错误,而且后台也不打日志。
作者: 小旋风vs    时间: 2016-4-10 20:44
271003963 发表于 2016-1-2 15:21
一直听别人说jeecg开源框架很强大,自己就试着接触,第一次下载maven项目的时候,有很多jar包下载不下来, ...

Field 'jform_category' doesn't have a default value  我也报这个错误,你是这么解决的
作者: 过节查询菌    时间: 2016-4-20 14:54
项目启动,提示initLinster监听找不到,按照那种发放做了,还是错,为什么,求解
作者: javaduke    时间: 2016-4-27 16:20
怎么去掉jeecg访问路径中的上下文
myeclipse->web 改了
实际路径还是要访问127.0.0.1/jeecg/
作者: yql99999    时间: 2016-5-6 16:16
linux更改内存部分显示成了图标,直接复制过去会有问题
作者: LiangLiang    时间: 2016-5-28 09:23
新手搭环境是启动tomcat出现内存溢出,报错截图


已经设置了tomcat


报错截图

报错截图

tomcat设置截图

tomcat设置截图

作者: yzhht    时间: 2016-7-8 13:54
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarker' defined in file [D:\2014Workspaces\.metadata\.me_tcat7\webapps\jeewx\WEB-INF\classes\spring-mvc-cgform.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
作者: s1040342522    时间: 2016-7-19 14:18
The import weixin cannot be resolved


请问这个包在哪里
作者: ndwzl    时间: 2016-7-31 22:44
C:\Users\YanLong\Pictures\bug.png三级联动选择第二级后,第一级出现变化
作者: ndwzl    时间: 2016-7-31 22:46
请问3.6.5版本的查询设置为模糊查询
作者: 668    时间: 2016-9-23 15:06
这个东西在哪里   怎么没发现

MD5Util 貌似找不到

MD5Util 貌似找不到

作者: Ayugawa    时间: 2016-9-26 09:48
请问我现在要把查询功能里的*号去掉,要在什么地方进行修改啊??
作者: baowenshou    时间: 2016-9-29 10:58
Mac  上有java.net.SocketException: Can't assign requested address 的错误。

下面是Log截取部分。
3373 [localhost-startStop-1] WARN  n.s.e.d.RMICacheManagerPeerListener - Explicitly setting the listener hostname to 'localhost' is not recommended. It will only work if all CacheManager peers are on the same machine.
3438 [localhost-startStop-1] ERROR n.s.e.d.MulticastRMICacheManagerPeerProvider - Error starting heartbeat. Error was: Can't assign requested address
java.net.SocketException: Can't assign requested address
        at java.net.PlainDatagramSocketImpl.join(Native Method) ~[na:1.7.0_80]
        at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:179) ~[na:1.7.0_80]
作者: yiguxianyun    时间: 2016-11-4 20:34
<script type="text/javascript" src="plug-in-ui/hplus/js/contabs.js"></script>

这个plug-in-ui源文件在哪里?遍寻不着呀
作者: lonely_wollf    时间: 2016-11-9 16:02
怎么在线demo里有流程管理,可是下载回来的源码里没有了?
作者: yiguxianyun    时间: 2016-11-12 17:06
SCRIPT438: 对象不支持“addEventListener”属性或方法………………

IE基本用不了……喜欢她自动用资源管理器打开局域网文件的功能,其他Google只能网页形式打开
作者: yiguxianyun    时间: 2016-11-21 20:18
页面控件权限不起作用呢?  页面控件权限配置手册上有4项(页面控件名称+页面控件编码+规则类型+状态),现在状态这一项不见了……是要收费了么?
作者: zhouhl    时间: 2016-11-29 21:40
项目启动后报这个错误是什么原因呀?
严重: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.OnlineListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'freemarker' defined in file [E:\workspace\Documents\workspace-maxvalues\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\jeewx-os\WEB-INF\classes\spring-mvc-cgform.xml]: Initialization of bean failed; nested exception is org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4994)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5492)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.FatalBeanException: Failed to obtain BeanInfo for class [freemarker.template.Configuration]; nested exception is java.beans.IntrospectionException: type mismatch between read and write methods
        at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:262)
        at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:149)
        at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:324)
        at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptors(BeanWrapperImpl.java:331)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.filterPropertyDescriptorsForDependencyCheck(AbstractAutowireCapableBeanFactory.java:1242)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1101)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        ... 20 more
Caused by: java.beans.IntrospectionException: type mismatch between read and write methods
        at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:659)
        at java.beans.PropertyDescriptor.setReadMethod(PropertyDescriptor.java:256)
        at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:282)
        at org.springframework.beans.ExtendedBeanInfo.addOrUpdatePropertyDescriptor(ExtendedBeanInfo.java:180)
        at org.springframework.beans.ExtendedBeanInfo.<init>(ExtendedBeanInfo.java:100)
        at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:224)
        ... 26 more
作者: ufohjg    时间: 2016-12-22 13:50
好东西,收藏!
作者: spiderman_an    时间: 2017-1-17 18:11
求教,执行jeecg3.6.5-mysql-20160718.sql 脚本报错。
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''<table cellspacing=\"0\" cellpadding=\"0\" align=\"center\"><tbody><tr style=\"' at line 1
SQLState:  42000
ErrorCode: 1064
Error occurred in:
INSERT INTO `auto_form` VALUES ('4028138151a9dc0c0151aa3f1d450002', 'employee_entry_form', '员工入职单', '', '<table cellspacing=\"0\" cellpadding=\"0\" align=\"center\"><tbody><tr style=\";height:11px\" class=\
作者: ooyy    时间: 2017-4-21 15:14
本帖最后由 ooyy 于 2017-4-21 15:16 编辑

图片1.png

我没找到这里面有关部门表的代码,我按照此方法改的file:///C:\Users\Administrator\AppData\Roaming\Tencent\Users\12471484\QQ\WinTemp\RichOle\Q76EMXKF)JKKCAOGIDZJP8N.png

图片2.png

可是最后再datagrid里的内容就变成
图片3.png

我还是觉得上面的代码有问题,可不知道怎么去修改

作者: leon    时间: 2017-4-28 14:10
请问我已经配置好了但是却不能登录,使用哪个默认的账号密码admin,123456,实在不行的话可以告诉我jeecg中的加密代码在哪里吗,我实在是找不到了
作者: truthsun22    时间: 2017-5-19 14:44
lhgdialog控件有问题,或者集成lhgdialog的公共JS存在弹出多个框后zindex混乱导致新弹出框被遮盖,这个有没有好的解决办法?
作者: truthsun22    时间: 2017-5-23 17:34
不知咋的,之前一直没事,今天启动项目,突然报ehcache相关错误,错误如下
严重: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.InitListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templetContext' defined in URL [file:/D:/apache-tomcat-7.0.77/webapps/jeecg/WEB-INF/classes/org/jeecgframework/web/cgform/common/spring-mvc-cgform.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1077)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1070)
        ... 26 more
Caused by: net.sf.ehcache.CacheException: error setting options
        at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:99)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:362)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:299)
        at net.sf.ehcache.CacheManager.create(CacheManager.java:697)
        at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:717)
        at org.jeecgframework.web.cgform.engine.TempletContext.<clinit>(TempletContext.java:46)
        ... 33 more
作者: aa3485367    时间: 2017-6-12 14:28
jeecg的CriteriaQuery对象可以进行关联查询吗?

作者: jeecg_hxt    时间: 2017-6-23 20:10
请问easypoi导出excel在哪里 !急急急
作者: lvcheng    时间: 2017-6-26 13:58
<link href="plug-in-ui/hplus/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="plug-in-ui/hplus/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
以上是非maven版的jsp引用路径,项目里找不到这些文件,但是在浏览器却可以访问,听说是用的底层插件,我现在想改部分样式,求详细解答。
作者: zhqs    时间: 2017-6-28 15:41
一直不明白关联其他表查询是怎么做;比如我一个表只存了创建者的id,查询列表时是查创建者的名字
作者: fendo    时间: 2017-6-29 10:21
eclipse导入Jeecg报错:The import net.sf.ehcache.Cache cannot be resolved
作者: 张帅VVVVV    时间: 2017-7-4 14:48
QQ截图20170704144455.jpg

QQ截图20170704144508.jpg

配置图表 选择不显示明细的时候 他只是不显示明细的数据 会有明细的框
这个框应该怎么去掉啊?



作者: zhangchun1997    时间: 2017-7-11 10:29
[img]file:///C:/Users/Yang/Desktop/%7B3ENGP~%7B(%5BR9CGH14R8[$_O.png[/img]
Online表单开发不能用
作者: 新人一枚    时间: 2017-7-13 17:13
如何更改hplus风格下面的菜单图标?在菜单管理那里改了也不行,新增系统图标也没用。一直都是默认的fa-column 的图标,要更换得怎么弄?
作者: yph    时间: 2017-8-28 11:14
无法使用在下聊天在浏览器中报websocket连接失败
1.png

作者: 李荣1013    时间: 2017-9-7 17:40
jeewx项目启动报错:clean编译class还是不起作用,求大神怎么解决?
严重: Error configuring application listener of class org.jeecgframework.web.system.listener.InitListener
java.lang.ClassNotFoundException: org.jeecgframework.web.system.listener.InitListener
作者: 中国银    时间: 2017-9-18 22:00
请教两个问题
1、 右侧的表单列表 鼠标点击选中后,想再次点击取消选中,如何修改配置?
2、右边表单里的内容有变化后,如何让表单进行自动刷新,目前只能是把tab页关闭,再重新打开才行
3、图文素材里ueditor 上传图片时,之前只能是jpg和png,想增加gif格式,除了修改config.json配置外,还需要修改哪里?总是提示文件格式不允许
作者: soloclimax    时间: 2017-9-20 15:19
jeecg 3.7.1版本向下兼容么

作者: chaers    时间: 2017-9-22 16:12
jeecg中datagrid如何直接在单元格内修改数据
作者: xiaozhang0507    时间: 2017-10-11 09:45

作者: 韵达    时间: 2017-10-16 18:55
3.7.1版本定时任务,发现tSSmsService没有注入进去,tSSmsService为null
20171016185220.png

作者: wangsh_yy    时间: 2017-10-18 18:47
请问这个jar包无法下载是版本更新了吗?

作者: gongweiqiao    时间: 2017-11-17 21:01
weibkreuz 发表于 2015-9-22 15:28
动态报表中,查询按钮貌似不起作用。。。求解决方式

你看看你的查询条件是不是大写了,必须是小写的才可以。

作者: gongweiqiao    时间: 2017-11-17 21:01
weibkreuz 发表于 2015-9-22 15:28
动态报表中,查询按钮貌似不起作用。。。求解决方式

你看看你的查询条件是不是大写了,必须是小写的才可以。

作者: Robert    时间: 2017-11-29 16:44
开发环境的配置文件:如支付配置文件。我们开发是一个环境,线上是一个环境。基于我们这个框架如何做配置。
作者: zyhhenr@163.com    时间: 2017-12-2 14:04
登录完成 过段时间后,点击功能时候拦截器不好用,不会再跳到登录页面,还是能够直接进入方法。ResourceUtil.getSessionUser()方法获取user数据为空
作者: dingding503407    时间: 2017-12-5 15:42
用到校验字典设置下拉框出现问题,查询显示正常,但是编辑和录入会隐藏一个数据,求解
作者: ayado    时间: 2018-1-24 16:27
[ERROR] [net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider:98] Error starting heartbeat. Error was: Can't assign requested address
java.net.SocketException: Can't assign requested address
请问这个问题怎么解决
作者: lanweixiong    时间: 2018-4-2 11:39
C:\Users\lan\Desktop\问题1.png
作者: heixia    时间: 2018-4-10 19:03
本帖最后由 heixia 于 2018-4-10 19:05 编辑

pop控件使用问题:
1、pop控件在单表中使用没问题,但在一对多的子表中使用时,选择空间能弹出,却没办法赋值。
2、当使用popup控件的文本框作为表的查询条件时,能弹出,也能选择,但不能把选择的值带回来,选值后返回给目标文本框一个undefined。
使用环境win7 64位,maven jeecg3.7.1,不知道在后续版本中有没有这个问题。
作者: xwh    时间: 2018-4-11 19:11
执行mysql的脚本时报这个错误,不知道怎么解决

[SQL] /*
Navicat MySQL Data Transfer

Source Server         : 192.168.1.199(内网)
Source Server Version : 50710
Source Host           : 192.168.1.199:3306
Source Database       : jeecg_3.7.3

Target Server Type    : MYSQL
Target Server Version : 50710
File Encoding         : 65001

Date: 2018-03-29 19:10:59
*/

SET FOREIGN_KEY_CHECKS=0;
影响的数据栏: 0
时间: 0.000ms

[SQL]

-- ----------------------------
-- Table structure for cgform_button
-- ----------------------------
DROP TABLE IF EXISTS `cgform_button`;
影响的数据栏: 0
时间: 0.000ms

[SQL]
CREATE TABLE `cgform_button` (
  `ID` varchar(32) NOT NULL COMMENT '主键ID',
  `BUTTON_CODE` varchar(50) DEFAULT NULL COMMENT '按钮编码',
  `button_icon` varchar(20) DEFAULT NULL COMMENT '按钮图标',
  `BUTTON_NAME` varchar(50) DEFAULT NULL COMMENT '按钮名称',
  `BUTTON_STATUS` varchar(2) DEFAULT NULL COMMENT '按钮状态',
  `BUTTON_STYLE` varchar(20) DEFAULT NULL COMMENT '按钮样式',
  `EXP` varchar(255) DEFAULT NULL COMMENT '表达式',
  `FORM_ID` varchar(32) DEFAULT NULL COMMENT '表单ID',
  `OPT_TYPE` varchar(20) DEFAULT NULL COMMENT '按钮类型',
  `order_num` int(11) DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`ID`),
  KEY `index_formid` (`FORM_ID`) USING BTREE,
  KEY `index_button_code` (`BUTTON_CODE`) USING BTREE,
  KEY `index_button_status` (`BUTTON_STATUS`) USING BTREE,
  KEY `index_button_order` (`order_num`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING BTREE,
  KEY `index_button_code` (`BUTTON_CODE`) USING BTREE,
  KEY `ind' at line 13


作者: admin    时间: 2018-4-11 19:23
把所有的 USING BTREE 去掉
作者: xwh    时间: 2018-4-17 15:00
admin 发表于 2018-4-11 19:23
把所有的 USING BTREE 去掉

已经成功了 谢谢楼主  不过还有一个问题

在服务器启动成功后,从浏览器登录的时候  后台报了 两个错  是因为依赖的问题吗 还是缺少jar包  怎么解决

[2018-04-17 14:26:39] [INFO] [org.jeecgframework.web.system.controller.core.LoginController:441] login 资源路径returnURL:null
四月 17, 2018 2:26:39 下午 org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2018-04-17 14:26:39] [INFO] [org.jeecgframework.web.system.controller.core.LoginController:441] login 资源路径returnURL:null
四月 17, 2018 2:26:43 下午 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [springMvc] in context with path [/jeecg] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen space] with root cause
java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:389)
        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:250)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)

[2018-04-17 14:27:24] [INFO] [org.jeecgframework.core.util.LogUtil:228] [org.jeecgframework.web.system.sms.util.task.SmsSendTask:run():30] - ===================推送消息定时任务开始===================
[2018-04-17 14:27:24] [INFO] [org.jeecgframework.core.util.LogUtil:228] [org.jeecgframework.web.system.sms.service.impl.TSSmsServiceImpl:send():106] - ===============消息发扫描开始=================
[2018-04-17 14:27:24] [INFO] [org.jeecgframework.core.util.LogUtil:228] [org.jeecgframework.web.system.sms.util.task.SmsSendTask:run():36] - ===================推送消息定时任务结束===================
[2018-04-17 14:27:24] [INFO] [org.jeecgframework.core.util.LogUtil:228] [org.jeecgframework.web.system.sms.util.task.SmsSendTask:run():39] - 总耗时25毫秒
四月 17, 2018 2:27:25 下午 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [springMvc] in context with path [/jeecg] threw exception [Handler processing failed; nested exception is java.lang.OutOfMemoryError: PermGen space] with root cause
java.lang.OutOfMemoryError: PermGen space
作者: kenny    时间: 2018-4-25 15:37
1.升级jquery后会出现各种问题,是不支持升级jquery吗?
2.有把office文档转换成html的例子吗?
作者: a674128881    时间: 2018-4-28 14:14
就是代码生成的情况,在新增录入页面或者编辑页面,如何控制表单的指定元素不显示或者禁用?我在页面添加了<t:authFilter/>,tr加了id,和页面控件规则加了规则,授权后,没效果
作者: 是时候了    时间: 2018-5-6 12:57
启动tomcat就一直卡死在这smsTask种 QQ图片20180506125305.png

作者: yy454    时间: 2018-5-9 09:43
启动项目报这个错误:
五月 09, 2018 9:25:05 上午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTask' defined in file [C:\yangzq\develop tools\jeecg-master\jeecg-master\target\classes\spring-mvc-timeTask.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:519)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
        at $Proxy137.findByExample(Unknown Source)
        at org.jeecgframework.core.timer.DynamicTask.loadTask(DynamicTask.java:248)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1682)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1621)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
        ... 43 more
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:304)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169)
        at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)
        at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:160)
        at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1309)
        at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:477)
        ... 58 more
Caused by: com.alibaba.druid.pool.GetConnectionTimeoutException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:1074)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:756)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:644)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4530)
        at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:659)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4526)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:626)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:618)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:79)
        at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:164)
        at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
        at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:277)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297)
        ... 63 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at sun.reflect.GeneratedConstructorAccessor69.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2575)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.GeneratedConstructorAccessor66.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)
        at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:136)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1271)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1325)
        at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1215)
Caused by: java.lang.NullPointerException
        at com.mysql.jdbc.ConnectionImpl.getServerCharacterEncoding(ConnectionImpl.java:3286)
        at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1987)
        at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1913)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
        ... 15 more

五月 09, 2018 9:25:05 上午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.InitListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTask' defined in file [C:\yangzq\develop tools\jeecg-master\jeecg-master\target\classes\spring-mvc-timeTask.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:519)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
        at $Proxy137.findByExample(Unknown Source)
        at org.jeecgframework.core.timer.DynamicTask.loadTask(DynamicTask.java:248)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1682)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1621)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
        ... 43 more
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:304)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169)
        at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)
        at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:160)
        at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1309)
        at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:477)
        ... 58 more
Caused by: com.alibaba.druid.pool.GetConnectionTimeoutException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:1074)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:756)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:644)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4530)
        at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:659)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4526)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:626)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:618)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:79)
        at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:164)
        at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
        at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:277)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297)
        ... 63 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at sun.reflect.GeneratedConstructorAccessor69.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2575)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.GeneratedConstructorAccessor66.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)
        at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:136)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1271)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1325)
        at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1215)
Caused by: java.lang.NullPointerException
        at com.mysql.jdbc.ConnectionImpl.getServerCharacterEncoding(ConnectionImpl.java:3286)
        at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1987)
        at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1913)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
        ... 15 more

五月 09, 2018 9:25:05 上午 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.jeecgframework.web.system.listener.OnlineListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dynamicTask' defined in file [C:\yangzq\develop tools\jeecg-master\jeecg-master\target\classes\spring-mvc-timeTask.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:519)
        at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420)
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
        at $Proxy137.findByExample(Unknown Source)
        at org.jeecgframework.core.timer.DynamicTask.loadTask(DynamicTask.java:248)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1682)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1621)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
        ... 43 more
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
        at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
        at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:304)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:169)
        at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)
        at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:160)
        at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1309)
        at org.springframework.orm.hibernate4.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:477)
        ... 58 more
Caused by: com.alibaba.druid.pool.GetConnectionTimeoutException: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at com.alibaba.druid.pool.DruidDataSource.pollLast(DruidDataSource.java:1074)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:756)
        at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:644)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4530)
        at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:659)
        at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4526)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:626)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:618)
        at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:79)
        at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:164)
        at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)
        at org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:277)
        at org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:297)
        ... 63 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.
        at sun.reflect.GeneratedConstructorAccessor69.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.Util.getInstance(Util.java:386)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2575)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.GeneratedConstructorAccessor66.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:142)
        at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:211)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:136)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1271)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1325)
        at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:1215)
Caused by: java.lang.NullPointerException
        at com.mysql.jdbc.ConnectionImpl.getServerCharacterEncoding(ConnectionImpl.java:3286)
        at com.mysql.jdbc.MysqlIO.sendConnectionAttributes(MysqlIO.java:1987)
        at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1913)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
        ... 15 more
作者: cwts495    时间: 2018-5-10 15:38
位什么我把代码生成器生成的代码  只要有改动的地方    值能传过去 问什么还是说空 求大神帮忙  

能打印值出来 后面还是空

能打印值出来 后面还是空

这样传值有问题???

这样传值有问题???

生成的代码和我修改的

生成的代码和我修改的
QQ截图20180510152345.png
QQ截图20180510152711.png
QQ截图20180510153106.png

作者: yy454    时间: 2018-5-11 16:50
cwts495 发表于 2018-5-10 15:38
位什么我把代码生成器生成的代码  只要有改动的地方    值能传过去 问什么还是说空 求大神帮忙   ...

你好,在吗,我搭建好项目,启动就报错,你能帮我看看嘛?
作者: yd123w    时间: 2018-5-21 10:10
请问多级父子表怎么创建?比如 省 市 县 村镇 他们分别是一个独立的表 怎么关联父子关系?
作者: 夜雨颖雪    时间: 2018-5-28 00:52
C:\Users\Administrator\Desktop
新手上路,下个3.75非maven版jeecg,用myeclipse导入,工具也是按提示加的 Tomcat7和jdk1.7但是弄好之后还是一直报这两个错
1: The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet.http.HttpServletRequest. Fix the build path then try building this project
2:The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files
这是什么原因??
作者: yonge    时间: 2018-6-13 21:36
今天下载,maven run报错
[2018-06-13 20:56:54] [INFO] [org.quartz.impl.StdSchedulerFactory:1362] Quartz scheduler 'schedulerFactory' initialized from an externally provided properties instance.
[2018-06-13 20:56:54] [INFO] [org.quartz.impl.StdSchedulerFactory:1366] Quartz scheduler version: 2.3.0
[2018-06-13 20:56:54] [INFO] [org.quartz.core.QuartzScheduler:2287] JobFactory set to: org.jeecgframework.web.system.sms.util.JQuartzJobFactory@5b30bf22
[2018-06-13 20:56:55] [ERROR] [com.alibaba.druid.pool.DruidDataSource:2469] create connection SQLException, url: jdbc:mysql://localhost:3306/jeecg?useUnicode=true&characterEncoding=UTF-8, errorCode 0, state S1009
java.sql.SQLException: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
        at com.mysql.jdbc.ConnectionImpl.buildCollationMapping(ConnectionImpl.java:1074)
        at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3600)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2541)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:149)
        at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:218)
        at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:143)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1515)
        at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578)
        at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466)
Caused by: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long
        at com.mysql.jdbc.ConnectionImpl.buildCollationMapping(ConnectionImpl.java:1019)
        ... 18 more

求助
作者: 搬山工    时间: 2018-7-23 11:36
[2018-07-23 11:12:46] [ERROR] [org.springframework.web.context.ContextLoader:336] Context initialization failed
java.lang.NoClassDefFoundError: javax/websocket/Session
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.getDeclaredMethods(Unknown Source)
        at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersistenceMetadata(PersistenceAnnotationBeanPostProcessor.java:406)
        at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:333)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:909)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.startContainer(AbstractRunMojo.java:558)
        at org.codehaus.mojo.tomcat.AbstractRunMojo.execute(AbstractRunMojo.java:255)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.ClassNotFoundException: javax.websocket.Session
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
        ... 49 more
请各位看下这个问题是什么原因导致的
作者: qq394085448    时间: 2018-8-4 00:27
按照入门教程设置完,使用maven启动成功后输入网址出现错误,然后根据新手教程里面所有的文件都下载完成后工程里面依然有错误,可以看一下么?

启动出错

启动出错
2.JPG
3.JPG
4.JPG
5.JPG

作者: buerguo    时间: 2018-8-18 22:38
sql语句查询结果集封装好后给前台, 分页只能展示第一页的内容, page只是1, total只是第一页最大条数, 下面是我写的:

dao:====================
/**
* 查询客户信息
*
* @param resultVo
* @param page
* @param rows
* @param request
* @return
*/
@Override
public DataReturn getAllEntities(ResultVo resultVo, int page, int rows, HttpServletRequest request) {
    StringBuilder sql = new StringBuilder(
            " SELECT " +
            " a.acc_no, " +
            " a.address, " +
            " a.premise_type, " +
            " b.BALANCE, " +
            " m.meter_id " +
            " FROM " +
            " A_CUSTOMER_INFO a " +
            " LEFT JOIN A_ACCT_BAL b ON a.acc_no = b.ACC_NO " +
            " LEFT JOIN A_METER_INFO m ON a.acc_no = m.acc_no " +
            " WHERE 1=1 "
);

    StringBuilder condition = new StringBuilder("");
    ArrayList params = new ArrayList();

    String accNo = resultVo.getAccNo();
    if (accNo != null && !"".equals(accNo)) {
        condition.append(" and a.acc_no like ? ");
        params.add("%" + accNo + "%");
    }

    String sqlQuery = sql.append(condition.toString()).toString();
    Query q = getSession().createSQLQuery(sqlQuery);

    if (params != null && params.size() > 0) {
        for (int i = 0; i < params.size(); i++) {
            q.setParameter(i, params.get(i));
        }
    }
    q.setFirstResult((page - 1) * rows).setMaxResults(rows);
    List<Object[]> list = q.list();

    List<ResultVo> resultVos = new ArrayList<>();
    DecimalFormat df = new DecimalFormat("0.00");
    if (list != null && list.size() > 0) {
        ResultVo resultVo1 = null;
        for (int i = 0; i < list.size(); i++) {
            resultVo1 = new ResultVo();
            Object[] objects = list.get(i);
            if (objects != null) {
                resultVo1.setAccNo(objects[0] != null ? (String) objects[0] : "");
                resultVo1.setAddress(objects[1] != null ? (String) objects[1] : "");
                resultVo1.setPremiseType(objects[2] != null ? (String) objects[2] : "");
                if (objects[3] != null) {
                    BigDecimal big3 = ((BigDecimal) objects[3]).setScale(2, BigDecimal.ROUND_HALF_UP);
                    double db3 = big3.doubleValue();
                    String format = df.format(db3);
                    BigDecimal bigbal = new BigDecimal(format);
                    resultVo1.setBalance(bigbal);
                }
                resultVo1.setMeterId(objects[4] != null ? (String) objects[4] : "");
                resultVos.add(resultVo1);
            }
        }
    }

    int count = list.size();
    DataReturn data = new DataReturn();
    data.setRows(resultVos);
    data.setTotal(count);

    return data;
}

controller:====================
@RequestMapping(params = "definedDatagrid")
public void definedDatagrid(ResultVo resultVo, HttpServletRequest request, HttpServletResponse response, DataGrid dataGrid) {
   DataReturn dataReturn = this.topupRecordService.getAllEntities(resultVo,dataGrid.getPage(),dataGrid.getRows(),request);
   dataGrid.setResults(dataReturn.getRows());
   dataGrid.setTotal((int)dataReturn.getTotal());
   TagUtil.datagrid(response, dataGrid);
}

jsp:====================
<div class="easyui-layout" fit="true">
    <div region="center" style="padding:0px;border:0px">
        <t:datagrid name="collectionAgentInfoList" checkbox="false" pageSize="10" sortName="accNo" pagination="true" fitColumns="true" title="Collection Agent Information List"
                        superQuery="false" actionUrl="topupRecordController.do?definedDatagrid" idField="accNo" fit="true" queryMode="group" filter="true" >
            <t:dgCol align="center" title="Account No." query="true" field="accNo" width="100"></t:dgCol>
            <t:dgCol align="center" title="Credit Balance" field="balance" width="80"></t:dgCol>
            <t:dgCol align="center" title="Premise Type" field="premiseType" width="80"></t:dgCol>
            <t:dgCol align="center" title="Meter No." field="meterId" width="120"></t:dgCol>
            <t:dgCol align="center" title="Customer Address" field="address" width="200"></t:dgCol>
        </t:datagrid>
    </div>
</div>
我写的哪里有问题吗?怎么修改呢

作者: buerguo    时间: 2018-8-28 11:14
登录界面选了英文, 日期控件还是中文?
作者: Co码小猫咪    时间: 2018-10-17 16:09
zhouhl 发表于 2016-11-29 21:40
项目启动后报这个错误是什么原因呀?
严重: Exception sending context initialized event to listener ins ...

你好,请问这个问题你解决了吗?要怎么做?
作者: Rain、    时间: 2018-10-30 14:53
请问这个问题怎么解决?
7BAD37A7-D87F-48dc-BD44-E76FAD4B3257.png

作者: caoting781    时间: 2018-11-2 10:09
请问表格行编辑不行是怎么回事?
作者: 1776690062    时间: 2018-11-3 15:18
建立增删改查菜单后,点击出现
错误异常: UnsatisfiedServletRequestParameterException
错误描述:

Parameter conditions "addorupdate" not met for actual request parameters: person={}
错误信息:

org.springframework.web.bind.UnsatisfiedServletRequestParameterException: Parameter conditions "addorupdate" not met for actual request parameters: person={} at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:233) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:301) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:248) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:57) at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:299) at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1098) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:910) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852) at javax.servlet.http.HttpServlet.service(HttpServlet.java:624) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
作者: 18613879273    时间: 2018-11-7 14:35
Rain、 发表于 2018-10-30 14:53
请问这个问题怎么解决?

遇到同样问题,查了下是tomcat某个版本后限制了url中的字符
作者: 18613879273    时间: 2018-11-7 15:33
Rain、 发表于 2018-10-30 14:53
请问这个问题怎么解决?

我这儿解决了
1.修改系统上传文件目录webUploadpath=F://jeecgs 对应本地存在的目录即可
2.修改聊天配置文件保存目录local_path=F://jeecgs
3.清空历史聊天记录表jp_chat_message_his

作者: 18613879273    时间: 2018-11-7 15:46
上手后先自己跟自己聊天
2个普通用户聊天没问题,发送给管理员的消息管理员看不到,过几秒刷新页面后全出来了后台报这个
[2018-11-07 15:44:13] [INFO] [com.jeecg.chat.web.WebSocket:250] 发生错误
[2018-11-07 15:44:13] [DEBUG] [com.jeecg.chat.web.WebSocket:153] java.util.concurrent.ExecutionException: java.net.SocketException: Software caused connection abort: socket write error
[2018-11-07 15:44:13] [INFO] [com.jeecg.chat.web.WebSocket:250] 当前在线用户:1
作者: xia185177726    时间: 2018-12-21 10:38
maven install报错
程序包jp.sourceforge.qrcode.data不存在

项目启动报错
java.lang.ClassNotFoundException: org.jeecgframework.web.erp.scoringpaper.deal.PaperImageDeal

每次win10一更新就会这样,有时候会自己又好了
作者: xucy3001    时间: 2018-12-22 19:15
启动后进首页就出错
严重: Servlet.service() for servlet [jsp] in context with path [/jeecg] threw exception
java.lang.UnsupportedOperationException: Method not decompiled: org.jeecgframework.core.aop.GZipFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain):void
        at org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:150)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
作者: 橘遥    时间: 2018-12-29 08:57
生成的代码应该放在那里啊
作者: 橘遥    时间: 2018-12-29 09:06
qq394085448 发表于 2018-8-4 00:27
按照入门教程设置完,使用maven启动成功后输入网址出现错误,然后根据新手教程里面所有的文件都下载完成后 ...

这个应该是版本不一致
作者: tina    时间: 2019-1-8 10:04

JDK1.8 java.lang.OutOfMemoryError: PermGen space 问题 应该改成如下:
PermSize 和 MaxPermSize 在 JDK1.8 取消了
改成了
元空间
MetaSpaceSize 和 MaxMetaSpaceSize
作者: DaySurperise    时间: 2019-3-19 10:41
您好,楼主,我想问下JEECG是否支持以下功能?1.数据源为redis和 csv 怎么支持 2.级联查询条件  例如:省市区 如何配置 3.是否支持前端的列排序和列隐藏 4.能换前端UI为layUI的吗?

作者: daisy    时间: 2019-3-28 18:04
jeecg 3.8 版本  代码生成时报错 麻烦楼主看一下为什么
Servlet.service() for servlet [springMvc] in context with path [/jeecg] threw exception [Handler processing failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtil] with root cause
java.lang.NoClassDefFoundError: Could not initialize class org.jeecgframework.codegenerate.util.CodeResourceUtil
        at org.jeecgframework.web.cgform.controller.generate.GenerateController.gogenerate(GenerateController.java:130)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
        at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
        at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:747)
        at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:676)
        at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:114)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
作者: 铭毅小子    时间: 2019-5-31 10:18
jeecg3.7,3.8版本,,经常重新运行好程序之后,直接刷新登录界面会报空指针。


HTTP Status 500 - java.lang.NullPointerException
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:549)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
        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:728)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
        org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
        org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:267)
        org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1221)
        org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1005)
        org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:952)
        org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
        org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
        org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
        org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:119)
        com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)
        org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(Character





2019-05-31 09:59:25] [INFO] [org.jeecgframework.web.system.controller.core.LoginController:307] login 资源路径returnURL:null
五月 31, 2019 9:59:26 上午 org.apache.catalina.core.ApplicationDispatcher invoke
严重: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
        at org.jeecgframework.web.system.pojo.base.TSFunction.hasSubFunction(TSFunction.java:168)
        at org.jeecgframework.web.system.pojo.base.TSFunction.hasSubFunction(TSFunction.java:160)
        at org.jeecgframework.core.util.ListtoMenu.getHplusMultistageTree(ListtoMenu.java:969)
        at org.jeecgframework.tag.core.easyui.MenuTag.end(MenuTag.java:126)
        at org.jeecgframework.tag.core.easyui.MenuTag.doEndTag(MenuTag.java:50)
        at org.apache.jsp.webpage.main.hplus_005fmain_jsp._jspx_meth_t_005fmenu_005f0(hplus_005fmain_jsp.java:696)
        at org.apache.jsp.webpage.main.hplus_005fmain_jsp._jspService(hplus_005fmain_jsp.java:158)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
        at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:209)
        at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:267)
        at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1221)
        at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1005)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:952)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)
        at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)
        at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:852)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.jeecgframework.core.aop.GZipFilter.doFilter(GZipFilter.java:119)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:140)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
        at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)




欢迎光临 JEECG快速开发平台 - 官方论坛 (http://www.jeecg.org/) Powered by Discuz! X2.5