issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "thinkgem", "jeesite" ]
### Affected Versions The latest version of jeesite (commit `857cc884991184ae3e4c283f9d8bcea272382415`). ### Describe the vulnerability There is an SQL injection vulnerability in URL `/jeesite/a/oa/leave/list`. The root cause is at `src/main/resources/mappings/modules/oa/LeaveDao.xml`. As the following codes show, parameter `ids` is wrapped by `$` instead of `#`. ```xml <select id="findList" resultType="Leave"> SELECT <include refid="leaveColumns"/> FROM oa_leave a <include refid="leaveJoins"/> WHERE a.del_flag = #{DEL_FLAG_NORMAL} <if test="createDateStart != null"> AND a.create_date &gt;= #{createDateStart} </if> <if test="createDateEnd != null"> AND a.create_date &lt;= #{createDateEnd} </if> <if test="leaveType != null and leaveType != ''"> AND a.leave_type = #{leaveType} </if> <if test="ids != null and ids != ''"> AND a.id IN (${ids}) </if> ${sqlMap.dsf} ORDER BY a.id DESC </select> ``` And the parameter `ids` is obtained by `getIds` in `src/main/java/com/thinkgem/jeesite/modules/oa/entity/Leave.java`. ```java public String getIds() { List<String> idList = Lists.newArrayList(); if (StringUtils.isNotBlank(ids)){ String ss = ids.trim().replace(" ", ",").replace(" ",",").replace(",", ",").replace("'", ""); for(String s : ss.split(",")) { // if(s.matches("\\d*")) { idList.add("'"+s+"'"); // } } } return StringUtils.join(idList, ","); } ``` If an attacker pass value `\,)/**/UNION/**/SELECT/**/......(evil sql)......#` to parameter `ids`, the final SQL will be like `SELECT ... FROM ... WHERE ... AND a.id IN ('\',')/**/UNION/**/SELECT/**/......(evil sql)......#') ... ORDER BY ...`. So, the attacker escapes from quote `'` and parentheses `()`. Then the attacker can execute any evil SQLs. ### To Reproduce (Attacking Vector) Go to `jeesite/a/oa/leave/list`, and just type a slash `\` in `请假编号` and click button `查询` will cause an `MySQLSyntaxErrorException`. ![1](https://github.com/thinkgem/jeesite/assets/52629090/f826e241-01ef-42c2-bc3c-e99d8010688b) ![2](https://github.com/thinkgem/jeesite/assets/52629090/e68878f3-2de1-42f5-a374-500b3368bfb8) And if you type `\,)/**/UNION/**/SELECT/**/......(evil sql)......#` in `请假编号` and click button `查询`, any evil SQL will be executed. Note that space and comma are preprocessed in `src/main/java/com/thinkgem/jeesite/modules/oa/entity/Leave.java`. Attackers can use comments `/**/` to bypass space limitation. That is, write `SELECT/**/1` instead of `SELECT 1`. And attackers can write `SELECT * FROM ((SELECT 1)A JOIN (SELECT 2)B JOIN (SELECT 3)C)` instead of `SELECT 1,2,3` to bypass comma limitation. And also note that, in the frontend, there's content length limitation `maxlength="50"` of input textbox `请假编号`. But this limitation does not exist in the backend.
There is an SQL injection vulnerability in URL `/jeesite/a/oa/leave/list`
https://api.github.com/repos/thinkgem/jeesite/issues/522/comments
1
2024-04-29T07:51:00Z
2024-04-30T02:36:08Z
https://github.com/thinkgem/jeesite/issues/522
2,268,358,305
522
[ "thinkgem", "jeesite" ]
济南综合部这个普通用户可以随意删除管理员用户创建的模型。 The ordinary user "济南综合部" can freely delete models created by administrator users. 问题代码发生在com.thinkgem.jeesite.modules.act.web.ActModelController 中的delete方法中 The problematic code occurs in the 'delete' method of the 'ActModelController' class in com.thinkgem.jeesite.modules.sys.web. 系统管理员新建一条模型: The system administrator creates a new model. ![图片4](https://github.com/thinkgem/jeesite/assets/75260666/b77a8ece-b8ec-40a7-a844-1604113fc479) 登录济南综合部,点击删除 Logging in as the ordinary user "济南综合部," click on "Delete." ![图片5](https://github.com/thinkgem/jeesite/assets/75260666/269342e8-a717-46c9-87e6-2a4779a11609) 删除成功 Deletion successful. ![图片6](https://github.com/thinkgem/jeesite/assets/75260666/df45eb0a-ce32-4a16-a5ae-d0183c31702b) 问题代码截图 Screenshot of problem code ![图片7](https://github.com/thinkgem/jeesite/assets/75260666/4b00b8c0-7d5b-4a84-9d43-9021c8c147cf)
普通用户可以随意删除管理员用户创建的模型
https://api.github.com/repos/thinkgem/jeesite/issues/520/comments
0
2023-07-20T17:40:10Z
2023-07-20T17:40:10Z
https://github.com/thinkgem/jeesite/issues/520
1,814,496,355
520
[ "thinkgem", "jeesite" ]
济南综合部这个普通用户可以随意删除管理员用户创建的菜单。 The ordinary user "济南综合部" can freely delete menus created by administrator users. 问题代码发生在com.thinkgem.jeesite.modules.sys.web.MenuController中的delete方法中 The problematic code occurs in the 'delete' method of the 'MenuController' class in com.thinkgem.jeesite.modules.sys.web. 这里登录济南综合部,删除“日志查询”这个字段 Here, logging in as the ordinary user "济南综合部," I will delete the "日志查询" (Log Query) field. ![图片1](https://github.com/thinkgem/jeesite/assets/75260666/e9f7cafc-277c-478d-bd24-354af690d2a4) 删除成功: Deletion successful. ![图片2](https://github.com/thinkgem/jeesite/assets/75260666/47f65655-5d73-4c35-b0c7-937aba014065) 问题代码截图: Screenshot of problem code <img width="477" alt="图片3" src="https://github.com/thinkgem/jeesite/assets/75260666/f6f941ba-c34a-4aa9-b05f-cab8f513328f">
济南市场部随意删除菜单信息
https://api.github.com/repos/thinkgem/jeesite/issues/519/comments
0
2023-07-20T17:14:46Z
2023-07-20T17:14:46Z
https://github.com/thinkgem/jeesite/issues/519
1,814,459,162
519
[ "thinkgem", "jeesite" ]
管理员角色对普通用户是不可见的,但是普通用户可以通过id来删除管理员的角色信息,以下展示了普通用户请求url:http://localhost:8080/jeesite/a/sys/user/delete?id=2 删除id为2的管理员的角色信息 The administrator role is not visible to regular users, but regular users can still delete the administrator's role information by using the 'id'. The following shows an example of a regular user requesting the URL: http://localhost:8080/jeesite/a/sys/user/delete?id=2 to delete the role information of the administrator with ID 2. 问题代码出现在com.thinkgem.jeesite.modules.sys.web.UserController类中的delete函数 The issue code is present in the 'delete' function of the 'UserController' class in com.thinkgem.jeesite.modules.sys.web. 管理员可见的 Visible to administrators. ![299f56c54c374e227621c66f4ae67137](https://github.com/thinkgem/jeesite/assets/75260666/ab4b0100-17c9-44e2-9be4-bd7e4c239480) 发送请求尝试删除山东省总公司的id为2,用户名为sd_admin的 Attempting to delete the record with ID 2 and username "sd_admin" for the Shandong Provincial Headquarters by sending a request. ![dbb386c4bab1e0032ebba21295dcf6eb](https://github.com/thinkgem/jeesite/assets/75260666/20f51f62-05e0-402d-b531-bf6b546f9b7a) 删除成功 Deletion successful. ![3031c968dedb560a5ed8580ee9b38277](https://github.com/thinkgem/jeesite/assets/75260666/ee5e72b7-9358-4144-ba67-9b5d9bc84133) 登录管理员查看登录名为ad_admin的角色已经被删除 After logging in as an administrator, it is noticed that the role with the login name "ad_admin" has been deleted. ![ef00daf824a159e25f2701cba28ce499](https://github.com/thinkgem/jeesite/assets/75260666/141870af-8334-4722-b80d-4ada21e1366b) 问题代码 The problematic code. ![77d44bfc5637b324d468859ae1206fad](https://github.com/thinkgem/jeesite/assets/75260666/694517a3-b286-4b56-8915-d871d88d70ad)
普通用户可以删除不可见的管理员信息
https://api.github.com/repos/thinkgem/jeesite/issues/518/comments
0
2023-07-19T17:14:34Z
2023-07-19T17:14:34Z
https://github.com/thinkgem/jeesite/issues/518
1,812,369,969
518
[ "thinkgem", "jeesite" ]
普通用户可以删除管理员添加的通知 Regular users can delete notifications added by administrators. 问题代码出现在com.thinkgem.jeesite.modules.oa.web.OaNotifyController类中的delete方法中 The problematic code appears in the 'delete' method of the 'OaNotifyController' class in com.thinkgem.jeesite.modules.oa.web. 管理员添加了一条通知 The administrator added a notification. ![493c00697cd83187e342a047c30d5d50](https://github.com/thinkgem/jeesite/assets/75260666/b7b3f286-e698-416c-9204-73f4bda0bea2) 登录普通用户删除: Deleted by a regular user after logging in. ![aa827ae9533d24d21b13b99bcb2b031f](https://github.com/thinkgem/jeesite/assets/75260666/b3581a21-f659-4385-9a56-07ffcb9744ca) 删除成功: Deletion successful. ![149f95f1eefae9a8e2c9f5edc381cee6](https://github.com/thinkgem/jeesite/assets/75260666/dfde4af9-5f4b-4f93-9de1-72be3e359857) 代码定位: code localization. ![e543490811c8431e1e6fd5228ed1c8dd](https://github.com/thinkgem/jeesite/assets/75260666/08266c71-0f84-48be-882e-abc23ec3e57f)
普通用户可以删除管理员添加的通知
https://api.github.com/repos/thinkgem/jeesite/issues/517/comments
1
2023-07-19T16:42:19Z
2023-07-19T17:06:48Z
https://github.com/thinkgem/jeesite/issues/517
1,812,317,640
517
[ "thinkgem", "jeesite" ]
# Description ReDoS vulnerability is an algorithmic complexity vulnerability that usually appears in backtracking-kind regex engines, e.g. the python default regex engine. The attacker can construct malicious input to trigger the worst-case time complexity of the regex engine to make a denial-of-service attack. In this project, [here](https://github.com/thinkgem/jeesite/blob/1b6e9d67be655c07416d9c319fd5f9ee5ad17f69/src/main/webapp/static/ckeditor/_source/plugins/adobeair/plugin.js#L217) has used the ReDoS vulnerable regex `(<body[^>]*>)([\s\S]*)(?=$|<\/body>)` that can be triggered by the below PoC: ```js const arg = require('arg'); const args = arg( { '--foo': String }, { argv: ['/' + '<body<'.repeat(22361)] } ); ``` # How to repair The cause of this vulnerability is the use of the backtracking-kind regex engine. I recommend the author to use the RE2 regex engine developed by google, but it doesn't support lookaround and backreference extension features, so we need to change the original regex and add additional code constraints. Here is my repair solution: ```js const RE2 = require('re2'); //(<body[^>]*>)([\s\S]*)(?=$|<\/body>) function safe_match(html) { const r1 = new RE2('(<body[^>]*>)([\s\S]*)', 'g'); return input_str.replace(/(?=$|<\/body>)/g, '') .replace(r1, function (match, startTag, innerHTML) { doc.getBody().setHtml(innerHTML); var attrs = CKEDITOR.htmlParser.fragment.fromHtml(startTag).children[0].attributes; attrs && doc.getBody().setAttributes(attrs); }); } ``` The match semantics of the new regex + code constraint above is equivalent to the original regex. I hope the author can adopt this repair solution and I would be very grateful. Thanks!
ReDoS vulnerability in plugin.js
https://api.github.com/repos/thinkgem/jeesite/issues/516/comments
1
2023-06-29T14:33:19Z
2023-06-29T14:34:44Z
https://github.com/thinkgem/jeesite/issues/516
1,780,960,994
516
[ "thinkgem", "jeesite" ]
**sql mappings** 以下的**${businessTable}**存在SQL注入的风险 ```xml src/main/resources/mappings/modules/act/ActDao.xml <mapper namespace="com.thinkgem.jeesite.modules.act.dao.ActDao"> <update id="updateProcInsIdByBusinessId"> UPDATE ${businessTable} SET proc_ins_id = #{procInsId} WHERE id = #{businessId} </update> </mapper> ``` **RequestMapping** **com.thinkgem.jeesite.modules.act.web.ActTaskController** 类中的 **start** 方法 ![image-20230516154826781](https://github.com/thinkgem/jeesite/assets/15136865/c7e729c4-a7a0-4eff-b4b0-3aabad780cae) **Call Stack** ![image-20230516154624692](https://github.com/thinkgem/jeesite/assets/15136865/02908bc4-6cc1-431c-9c77-d08e5691872d) **SQL Inject** 当用户为jdbc.url添加**&allowMultiQueries=true**并启动程序后,此时Spring允许批量更新,就能进行SQL注入了 <img width="816" alt="image-20230516154115876" src="https://github.com/thinkgem/jeesite/assets/15136865/fe2d4b43-f5d5-4b44-936a-5ccf2e07765b"> 测试表为**aa表** <img width="306" alt="image-20230516153725737" src="https://github.com/thinkgem/jeesite/assets/15136865/7bef7e38-6bf9-4a39-88bf-ce07c0dbc6e7"> 任意用户执行以下url, url: http://localhost:8080/jeesite/a/act/task/start?procDefKey=test_audit&title=dd&businessTable=79&businessId=oa_test_audit%20set%20proc_ins_id%20=%20%271%27%20where%20id=%2779%27;drop%20table%20aa;-- Mybatis将SQL进行拼接并删去**aa表**, <img width="1413" alt="image-20230516153844650" src="https://github.com/thinkgem/jeesite/assets/15136865/e2482add-c1b7-4cd6-bf80-6eec18049007"> 再次执行上述url时,此时已经不存在**aa数据表**了 <img width="919" alt="image-20230516153929226" src="https://github.com/thinkgem/jeesite/assets/15136865/432f42fd-d4df-4931-854b-ae26651824ee"> 查看mysql,发现**aa表**已经被删除 <img width="309" alt="image-20230516153902090" src="https://github.com/thinkgem/jeesite/assets/15136865/a8d3238b-9e1d-449b-bcbe-970c0f67b743">
mybatis tablename sql injection
https://api.github.com/repos/thinkgem/jeesite/issues/515/comments
2
2023-05-16T08:01:37Z
2023-05-27T16:02:16Z
https://github.com/thinkgem/jeesite/issues/515
1,711,470,466
515
[ "thinkgem", "jeesite" ]
``` "D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\bin\catalina.bat" run [2022-08-31 02:31:32,881] Artifact jeesite:war exploded: Waiting for server connection to start artifact deployment… NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED Using CATALINA_BASE: "C:\Users\KRICSS\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\be26a554-10e2-4784-b009-9588eaff1343" Using CATALINA_HOME: "D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65" Using CATALINA_TMPDIR: "D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\temp" Using JRE_HOME: "C:\Program Files\Java\jdk-11.0.15" Using CLASSPATH: "D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\bin\bootstrap.jar;D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\bin\tomcat-juli.jar" Using CATALINA_OPTS: "" 31-Aug-2022 14:31:38.843 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server.鏈嶅姟鍣ㄧ増鏈�: Apache Tomcat/9.0.65 31-Aug-2022 14:31:38.848 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄦ瀯寤�: Jul 14 2022 12:28:53 UTC 31-Aug-2022 14:31:38.848 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏈嶅姟鍣ㄧ増鏈彿: 9.0.65.0 31-Aug-2022 14:31:38.848 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鎿嶄綔绯荤粺鍚嶇О: Windows 11 31-Aug-2022 14:31:38.848 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS.鐗堟湰: 10.0 31-Aug-2022 14:31:38.848 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鏋舵瀯: amd64 31-Aug-2022 14:31:38.849 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java 鐜鍙橀噺: C:\Program Files\Java\jdk-11.0.15 31-Aug-2022 14:31:38.849 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java铏氭嫙鏈虹増鏈�: 11.0.15+8-LTS-149 31-Aug-2022 14:31:38.849 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM.渚涘簲鍟�: Oracle Corporation 31-Aug-2022 14:31:38.849 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\KRICSS\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\be26a554-10e2-4784-b009-9588eaff1343 31-Aug-2022 14:31:38.849 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65 31-Aug-2022 14:31:38.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 --add-opens=java.base/java.lang=ALL-UNNAMED 31-Aug-2022 14:31:38.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 --add-opens=java.base/java.io=ALL-UNNAMED 31-Aug-2022 14:31:38.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 --add-opens=java.base/java.util=ALL-UNNAMED 31-Aug-2022 14:31:38.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 --add-opens=java.base/java.util.concurrent=ALL-UNNAMED 31-Aug-2022 14:31:38.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED 31-Aug-2022 14:31:38.852 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Djava.util.logging.config.file=C:\Users\KRICSS\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\be26a554-10e2-4784-b009-9588eaff1343\conf\logging.properties 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcom.sun.management.jmxremote= 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcom.sun.management.jmxremote.port=1099 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcom.sun.management.jmxremote.ssl=false 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcom.sun.management.jmxremote.password.file=C:\Users\KRICSS\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\be26a554-10e2-4784-b009-9588eaff1343\jmxremote.password 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcom.sun.management.jmxremote.access.file=C:\Users\KRICSS\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\be26a554-10e2-4784-b009-9588eaff1343\jmxremote.access 31-Aug-2022 14:31:38.853 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Djava.rmi.server.hostname=127.0.0.1 31-Aug-2022 14:31:38.854 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Djdk.tls.ephemeralDHKeySize=2048 31-Aug-2022 14:31:38.854 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources 31-Aug-2022 14:31:38.855 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dignore.endorsed.dirs= 31-Aug-2022 14:31:38.855 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcatalina.base=C:\Users\KRICSS\AppData\Local\JetBrains\IntelliJIdea2021.3\tomcat\be26a554-10e2-4784-b009-9588eaff1343 31-Aug-2022 14:31:38.855 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Dcatalina.home=D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65 31-Aug-2022 14:31:38.856 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log 鍛戒护琛屽弬鏁帮細 -Djava.io.tmpdir=D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\temp 31-Aug-2022 14:31:38.873 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent 浣跨敤APR鐗堟湰[1.7.0]鍔犺浇浜嗗熀浜嶢PR鐨凙pache Tomcat鏈満搴揫1.2.35]銆� 31-Aug-2022 14:31:38.873 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR鍔熻兘锛欼Pv6[true]銆乻endfile[true]銆乤ccept filters[false]銆乺andom[true]銆乁DS [true]銆� 31-Aug-2022 14:31:38.873 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL閰嶇疆锛歶seAprConnector[false]锛寀seOpenSSL[true] 31-Aug-2022 14:31:38.879 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL鎴愬姛鍒濆鍖� [OpenSSL 1.1.1q 5 Jul 2022] 31-Aug-2022 14:31:39.270 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init 鍒濆鍖栧崗璁鐞嗗櫒 ["http-nio-8080"] 31-Aug-2022 14:31:39.302 淇℃伅 [main] org.apache.catalina.startup.Catalina.load 鏈嶅姟鍣ㄥ湪[1048]姣鍐呭垵濮嬪寲 31-Aug-2022 14:31:39.415 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal 姝e湪鍚姩鏈嶅姟[Catalina] 31-Aug-2022 14:31:39.417 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal 姝e湪鍚姩 Servlet 寮曟搸锛歔Apache Tomcat/9.0.65] 31-Aug-2022 14:31:39.435 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start 寮�濮嬪崗璁鐞嗗彞鏌刐"http-nio-8080"] 31-Aug-2022 14:31:39.466 淇℃伅 [main] org.apache.catalina.startup.Catalina.start [164]姣鍚庢湇鍔″櫒鍚姩 Connected to server [2022-08-31 02:31:39,777] Artifact jeesite:war exploded: Artifact is being deployed, please wait… 31-Aug-2022 14:31:49.520 淇℃伅 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory 鎶妛eb 搴旂敤绋嬪簭閮ㄧ讲鍒扮洰褰� [D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\webapps\manager] 31-Aug-2022 14:31:50.188 璀﹀憡 [Catalina-utility-2] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom 浣跨敤[SHA1PRNG]鍒涘缓浼氳瘽ID鐢熸垚鐨凷ecureRandom瀹炰緥鑺辫垂浜哰533]姣銆� 31-Aug-2022 14:31:50.229 淇℃伅 [Catalina-utility-2] org.apache.catalina.startup.HostConfig.deployDirectory Web搴旂敤绋嬪簭鐩綍[D:\Program Files\tomcat-9.0.65\apache-tomcat-9.0.65\webapps\manager]鐨勯儴缃插凡鍦╗708]姣鍐呭畬鎴� 31-Aug-2022 14:31:56.280 淇℃伅 [RMI TCP Connection(5)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 鑷冲皯鏈変竴涓狫AR琚壂鎻忕敤浜嶵LD浣嗗皻鏈寘鍚玊LD銆� 涓烘璁板綍鍣ㄥ惎鐢ㄨ皟璇曟棩蹇楄褰曪紝浠ヨ幏鍙栧凡鎵弿浣嗘湭鍦ㄥ叾涓壘鍒癟LD鐨勫畬鏁碕AR鍒楄〃銆� 鍦ㄦ壂鎻忔湡闂磋烦杩囦笉闇�瑕佺殑JAR鍙互缂╃煭鍚姩鏃堕棿鍜孞SP缂栬瘧鏃堕棿銆� ====================================================================== 欢迎使用 JeeSite 快速开发平台 - Powered By http://jeesite.com ====================================================================== 08-31 14:32:01.701 WARN [org.dozer.config.GlobalSettings ] - Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. 08-31 14:32:02.759 WARN [o.mybatis.spring.SqlSessionFactoryBean ] - Cannot load the 'file [D:\IdeaProjects\jeesite\target\jeesite\WEB-INF\classes\com\thinkgem\jeesite\modules\sys\utils\UserUtils.class]'. Cause by java.lang.ExceptionInInitializerError 08-31 14:32:03.408 WARN [o.mybatis.spring.SqlSessionFactoryBean ] - Cannot load the 'file [D:\IdeaProjects\jeesite\target\jeesite\WEB-INF\classes\com\thinkgem\jeesite\modules\sys\utils\UserUtils.class]'. Cause by java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils 08-31 14:32:03.611 WARN [o.mybatis.spring.SqlSessionFactoryBean ] - Cannot load the 'file [D:\IdeaProjects\jeesite\target\jeesite\WEB-INF\classes\com\thinkgem\jeesite\modules\sys\utils\UserUtils.class]'. Cause by java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils 08-31 14:32:04.096 WARN [o.mybatis.spring.SqlSessionFactoryBean ] - Cannot load the 'file [D:\IdeaProjects\jeesite\target\jeesite\WEB-INF\classes\com\thinkgem\jeesite\modules\sys\utils\UserUtils.class]'. Cause by java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils 08-31 14:32:10.667 WARN [o.mybatis.spring.SqlSessionFactoryBean ] - Cannot load the 'file [D:\IdeaProjects\jeesite\target\jeesite\WEB-INF\classes\com\thinkgem\jeesite\modules\sys\utils\UserUtils.class]'. Cause by java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils [2022-08-31 02:32:20,904] Artifact jeesite:war exploded: Artifact is deployed successfully [2022-08-31 02:32:20,904] Artifact jeesite:war exploded: Deploy took 41,127 milliseconds 08-31 14:32:23.283 ERROR [500.jsp ] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1085) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at com.thinkgem.jeesite.modules.sys.web.LoginController.login(LoginController.java:50) at com.thinkgem.jeesite.modules.sys.web.LoginController$$FastClassBySpringCGLIB$$ecf1302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at com.thinkgem.jeesite.modules.sys.web.LoginController$$EnhancerBySpringCGLIB$$5c9a7936.login(<generated>) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ... 56 common frames omitted 08-31 14:32:23.313 ERROR [500.jsp ] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1085) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at com.thinkgem.jeesite.modules.sys.web.LoginController.login(LoginController.java:50) at com.thinkgem.jeesite.modules.sys.web.LoginController$$FastClassBySpringCGLIB$$ecf1302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at com.thinkgem.jeesite.modules.sys.web.LoginController$$EnhancerBySpringCGLIB$$5c9a7936.login(<generated>) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ... 56 common frames omitted 08-31 14:32:23.372 ERROR [500.jsp ] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1085) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at com.thinkgem.jeesite.modules.sys.web.LoginController.login(LoginController.java:50) at com.thinkgem.jeesite.modules.sys.web.LoginController$$FastClassBySpringCGLIB$$ecf1302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at com.thinkgem.jeesite.modules.sys.web.LoginController$$EnhancerBySpringCGLIB$$5c9a7936.login(<generated>) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ... 56 common frames omitted 08-31 14:32:23.387 ERROR [500.jsp ] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1085) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at com.thinkgem.jeesite.modules.sys.web.LoginController.login(LoginController.java:50) at com.thinkgem.jeesite.modules.sys.web.LoginController$$FastClassBySpringCGLIB$$ecf1302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at com.thinkgem.jeesite.modules.sys.web.LoginController$$EnhancerBySpringCGLIB$$5c9a7936.login(<generated>) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ... 56 common frames omitted 08-31 14:32:23.917 ERROR [500.jsp ] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1085) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at com.thinkgem.jeesite.modules.sys.web.LoginController.login(LoginController.java:50) at com.thinkgem.jeesite.modules.sys.web.LoginController$$FastClassBySpringCGLIB$$ecf1302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at com.thinkgem.jeesite.modules.sys.web.LoginController$$EnhancerBySpringCGLIB$$5c9a7936.login(<generated>) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ... 56 common frames omitted 08-31 14:32:23.932 ERROR [500.jsp ] - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1085) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) at javax.servlet.http.HttpServlet.service(HttpServlet.java:655) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108) at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:450) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:890) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils at com.thinkgem.jeesite.modules.sys.web.LoginController.login(LoginController.java:50) at com.thinkgem.jeesite.modules.sys.web.LoginController$$FastClassBySpringCGLIB$$ecf1302.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386) at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704) at com.thinkgem.jeesite.modules.sys.web.LoginController$$EnhancerBySpringCGLIB$$5c9a7936.login(<generated>) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ... 56 common frames omitted ```
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.thinkgem.jeesite.modules.sys.utils.UserUtils
https://api.github.com/repos/thinkgem/jeesite/issues/514/comments
7
2022-08-31T06:33:25Z
2022-11-04T02:55:43Z
https://github.com/thinkgem/jeesite/issues/514
1,356,859,300
514
[ "thinkgem", "jeesite" ]
null
11
https://api.github.com/repos/thinkgem/jeesite/issues/513/comments
1
2022-05-23T09:22:05Z
2022-05-23T09:26:01Z
https://github.com/thinkgem/jeesite/issues/513
1,244,855,308
513
[ "thinkgem", "jeesite" ]
#### sql mappings ``` jeesite\src\main\resources\templates\modules\gen\dao\mapper.xml: 106 <choose> 107 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 108: ORDER BY ${"$"}{page.orderBy} 109 </when> 110 <otherwise> ... 132 <choose> 133 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 134: ORDER BY ${"$"}{page.orderBy} 135 </when> 136 <otherwise> jeesite\src\main\resources\mappings\modules\sys\UserDao.xml: 188 <choose>### 189 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 190: ORDER BY ${page.orderBy} 191 </when> 192 <otherwise> jeesite\src\main\resources\mappings\modules\gen\GenTableDao.xml: 45 <choose>### 46 <when test="page.orderBy != null and page.orderBy != ''"> 47: ORDER BY ${page.orderBy} 48 </when> 49 <otherwise> .. 60 <choose> 61 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 62: ORDER BY ${page.orderBy} 63 </when> 64 <otherwise> jeesite\src\main\resources\mappings\modules\cms\ArticleDao.xml: 80 <choose> 81 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 82: ORDER BY ${page.orderBy} 83 </when> 84 <otherwise> .. 98 <choose> 99 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 100: ORDER BY ${page.orderBy} 101 </when> 102 <otherwise> jeesite\src\main\resources\mappings\modules\cms\CategoryDao.xml: 90 <choose> 91 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 92: ORDER BY ${page.orderBy} 93 </when> 94 <otherwise> jeesite\src\main\resources\mappings\modules\cms\CommentDao.xml: 44 <choose> 45 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 46: ORDER BY ${page.orderBy} 47 </when> 48 <otherwise> .. 62 <choose> 63 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 64: ORDER BY ${page.orderBy} 65 </when> 66 <otherwise> jeesite\src\main\resources\mappings\modules\cms\GuestbookDao.xml: 42 <choose> 43 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 44: ORDER BY ${page.orderBy} 45 </when> 46 <otherwise> .. 60 <choose> 61 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 62: ORDER BY ${page.orderBy} 63 </when> 64 <otherwise> jeesite\src\main\resources\mappings\modules\cms\LinkDao.xml: 51 <choose> 52 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 53: ORDER BY ${page.orderBy} 54 </when> 55 <otherwise> .. 69 <choose> 70 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 71: ORDER BY ${page.orderBy} 72 </when> 73 <otherwise> jeesite\src\main\resources\mappings\modules\cms\SiteDao.xml: 49 <choose> 50 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 51: ORDER BY ${page.orderBy} 52 </when> 53 <otherwise> .. 67 <choose> 68 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 69: ORDER BY ${page.orderBy} 70 </when> 71 <otherwise> jeesite\src\main\resources\mappings\jeesite\test\TestDataChildDao.xml: 46 <choose>### 47 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 48: ORDER BY ${page.orderBy} 49 </when> 50 <otherwise> .. 64 <choose> 65 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 66: ORDER BY ${page.orderBy} 67 </when> 68 <otherwise> jeesite\src\main\resources\mappings\jeesite\test\TestDataDao.xml: 67 <choose> 68 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 69: ORDER BY ${page.orderBy} 70 </when> 71 <otherwise> .. 85 <choose> 86 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 87: ORDER BY ${page.orderBy} 88 </when> 89 <otherwise> jeesite\src\main\resources\mappings\jeesite\test\TestDataMainDao.xml: 58 <choose> 59 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 60: ORDER BY ${page.orderBy} 61 </when> 62 <otherwise> .. 76 <choose> 77 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 78: ORDER BY ${page.orderBy} 79 </when> 80 <otherwise> ``` #### RequestMapping ``` sys/user/list gen/genTable/list gen/genTable/form gen/genTable/save gen/genScheme/form gen/genScheme/save ... ``` #### boolean base sql injection rand(sql),sql为1和0,搜索结果排序不一样 url:http://192.168.163.1:8088/jeesite_war/a/sys/user/list?orderBy=rand(user()=0x726f6f74406c6f63616c686f7374) line:436 ![image](https://user-images.githubusercontent.com/29968903/154392402-57437a53-56d1-402d-8a27-7fdacbc9a306.png) line:332 url:http://192.168.163.1:8088/jeesite_war/a/sys/user/list?orderBy=rand(user()!=0x726f6f74406c6f63616c686f7374) ![image](https://user-images.githubusercontent.com/29968903/154392500-a58efc78-5329-4341-a2f5-516b5fb5068a.png) #### 修复建议 建议orderby的过滤规则和普通过滤分开写,orderby白名单,[a-z0-9_],普通过滤用黑名单
mybatis orderby sql injection
https://api.github.com/repos/thinkgem/jeesite/issues/512/comments
1
2022-02-17T02:24:58Z
2022-02-17T14:44:36Z
https://github.com/thinkgem/jeesite/issues/512
1,140,792,695
512
[ "thinkgem", "jeesite" ]
#### sql mappings ``` jeesite\src\main\resources\templates\modules\gen\dao\mapper.xml: 106 <choose> 107 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 108: ORDER BY ${"$"}{page.orderBy} 109 </when> 110 <otherwise> ... 132 <choose> 133 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 134: ORDER BY ${"$"}{page.orderBy} 135 </when> 136 <otherwise> jeesite\src\main\resources\mappings\modules\sys\UserDao.xml: 188 <choose>### 189 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 190: ORDER BY ${page.orderBy} 191 </when> 192 <otherwise> jeesite\src\main\resources\mappings\modules\gen\GenTableDao.xml: 45 <choose>### 46 <when test="page.orderBy != null and page.orderBy != ''"> 47: ORDER BY ${page.orderBy} 48 </when> 49 <otherwise> .. 60 <choose> 61 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 62: ORDER BY ${page.orderBy} 63 </when> 64 <otherwise> jeesite\src\main\resources\mappings\modules\cms\ArticleDao.xml: 80 <choose> 81 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 82: ORDER BY ${page.orderBy} 83 </when> 84 <otherwise> .. 98 <choose> 99 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 100: ORDER BY ${page.orderBy} 101 </when> 102 <otherwise> jeesite\src\main\resources\mappings\modules\cms\CategoryDao.xml: 90 <choose> 91 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 92: ORDER BY ${page.orderBy} 93 </when> 94 <otherwise> jeesite\src\main\resources\mappings\modules\cms\CommentDao.xml: 44 <choose> 45 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 46: ORDER BY ${page.orderBy} 47 </when> 48 <otherwise> .. 62 <choose> 63 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 64: ORDER BY ${page.orderBy} 65 </when> 66 <otherwise> jeesite\src\main\resources\mappings\modules\cms\GuestbookDao.xml: 42 <choose> 43 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 44: ORDER BY ${page.orderBy} 45 </when> 46 <otherwise> .. 60 <choose> 61 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 62: ORDER BY ${page.orderBy} 63 </when> 64 <otherwise> jeesite\src\main\resources\mappings\modules\cms\LinkDao.xml: 51 <choose> 52 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 53: ORDER BY ${page.orderBy} 54 </when> 55 <otherwise> .. 69 <choose> 70 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 71: ORDER BY ${page.orderBy} 72 </when> 73 <otherwise> jeesite\src\main\resources\mappings\modules\cms\SiteDao.xml: 49 <choose> 50 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 51: ORDER BY ${page.orderBy} 52 </when> 53 <otherwise> .. 67 <choose> 68 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 69: ORDER BY ${page.orderBy} 70 </when> 71 <otherwise> jeesite\src\main\resources\mappings\jeesite\test\TestDataChildDao.xml: 46 <choose>### 47 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 48: ORDER BY ${page.orderBy} 49 </when> 50 <otherwise> .. 64 <choose> 65 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 66: ORDER BY ${page.orderBy} 67 </when> 68 <otherwise> jeesite\src\main\resources\mappings\jeesite\test\TestDataDao.xml: 67 <choose> 68 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 69: ORDER BY ${page.orderBy} 70 </when> 71 <otherwise> .. 85 <choose> 86 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 87: ORDER BY ${page.orderBy} 88 </when> 89 <otherwise> jeesite\src\main\resources\mappings\jeesite\test\TestDataMainDao.xml: 58 <choose> 59 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 60: ORDER BY ${page.orderBy} 61 </when> 62 <otherwise> .. 76 <choose> 77 <when test="page !=null and page.orderBy != null and page.orderBy != ''"> 78: ORDER BY ${page.orderBy} 79 </when> 80 <otherwise> ``` #### RequestMapping ``` sys/user/list gen/genTable/list gen/genTable/form gen/genTable/save gen/genScheme/form gen/genScheme/save ... ``` #### time base sql injection url:http://192.168.163.1:8088/jeesite_war/a/sys/user/list?orderBy=if(database()!=0x6a656573697465,1,sleep(0.3)) ![image](https://user-images.githubusercontent.com/29968903/154285121-f0ec4ddb-b9d9-4c3f-8a04-f6850862df05.png) admin's password url:http://192.168.163.1:8088/jeesite_war/a/sys/user/list?orderBy=if(cu.password!=0x3032613366303737326663636139663431356164633939303733346234356336663035396337643333656532383336326334383532303332,1,sleep(3))&pageSize=1&id=1 ![image](https://user-images.githubusercontent.com/29968903/154285481-ca1b7355-9663-4b82-a22a-d1c0d34ae342.png) #### 修复建议 建议orderby的过滤规则和普通过滤分开写,orderby白名单,[a-z0-9_],普通过滤用黑名单
mybatis orderby sql injection
https://api.github.com/repos/thinkgem/jeesite/issues/511/comments
1
2022-02-16T14:33:56Z
2022-02-17T14:44:25Z
https://github.com/thinkgem/jeesite/issues/511
1,140,100,938
511
[ "thinkgem", "jeesite" ]
在这里提问:https://gitee.com/thinkgem/jeesite/issues
在这里提问:https://gitee.com/thinkgem/jeesite/issues
https://api.github.com/repos/thinkgem/jeesite/issues/510/comments
2
2022-02-15T07:31:56Z
2022-02-15T07:33:35Z
https://github.com/thinkgem/jeesite/issues/510
1,138,295,790
510
[ "thinkgem", "jeesite" ]
![1632472632(1)](https://user-images.githubusercontent.com/37139278/134644811-2f81a849-30a1-438c-9dd4-1bbd8f4a6a14.jpg)
登录过后首页空白,加载不出菜单
https://api.github.com/repos/thinkgem/jeesite/issues/509/comments
1
2021-09-24T08:38:40Z
2021-10-18T05:03:58Z
https://github.com/thinkgem/jeesite/issues/509
1,006,223,891
509
[ "thinkgem", "jeesite" ]
2020-12-23 20:09:48,164 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from file [/Users/developers/SoftWare/apache-tomcat-8.5.61/webapps/stmp/WEB-INF/classes/spring-context-jedis.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [com.fr.third.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:414) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:542) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.thinkgem.jeesite.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:19) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.springframework.beans.FatalBeanException: Class [com.fr.third.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:128) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1421) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1416) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:179) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:149) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:103) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:510) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392) ... 61 more 2020-12-23 20:09:48,175 INFO [jeesite.modules.sys.listener.DriverListener] - [DriverMangerListner]:-------DriverManager deregisterDriver start... 2020-12-23 20:09:48,175 DEBUG [jeesite.modules.sys.listener.DriverListener] - [DriverMangerListner]:-------DriverManager deregisterDriver end... 2020-12-23 20:09:48,177 WARN [springframework.web.context.support.XmlWebApplicationContext] - Exception thrown from ApplicationListener handling ContextClosedEvent java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Wed Dec 23 20:09:47 CST 2020]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:346) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:333) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:882) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:843) at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4735) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5399) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 23-Dec-2020 20:09:48.170 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file 23-Dec-2020 20:09:48.171 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [/stmp] startup failed due to previous errors at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 2020-12-23 20:09:48,178 WARN [springframework.web.context.support.XmlWebApplicationContext] - Exception thrown from LifecycleProcessor on context close java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Wed Dec 23 20:09:47 CST 2020]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:359) at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:890) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:843) at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:579) at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:115) at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4735) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5399) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:187) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705) at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1719) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:482) at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:431) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:286) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468) at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309) at java.security.AccessController.doPrivileged(Native Method) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357) at sun.rmi.transport.Transport$1.run(Transport.java:200) at sun.rmi.transport.Transport$1.run(Transport.java:197) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:196) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [2020-12-23 08:09:48,201] Artifact stmp:war: Error during artifact deployment. See server log for details.
tomcat启动报错 spring-context-jedis.xml
https://api.github.com/repos/thinkgem/jeesite/issues/507/comments
0
2020-12-23T12:40:11Z
2020-12-23T12:40:11Z
https://github.com/thinkgem/jeesite/issues/507
773,725,024
507
[ "thinkgem", "jeesite" ]
when i run the jeesite project,ther are some error logs: `java.lang.ClassNotFoundException: com.huajie.pms.webapp.listener.sys.WebContextListener`
java.lang.ClassNotFoundException: com.huajie.pms.webapp.listener.sys.WebContextListener
https://api.github.com/repos/thinkgem/jeesite/issues/506/comments
0
2020-12-15T01:59:57Z
2020-12-15T02:03:14Z
https://github.com/thinkgem/jeesite/issues/506
767,085,582
506
[ "thinkgem", "jeesite" ]
jeesite
https://api.github.com/repos/thinkgem/jeesite/issues/505/comments
0
2020-12-11T02:22:17Z
2020-12-11T02:22:17Z
https://github.com/thinkgem/jeesite/issues/505
761,802,524
505
[ "thinkgem", "jeesite" ]
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.892 s [INFO] Finished at: 2020-08-13T10:40:26+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default-cli) on project jeesite: An Ant BuildException has occured: org.dbunit.database.AmbiguousTableNameException: ACT_EVT_LOG [ERROR] around Ant part ...<dbunit password="${jdbc.password}" driver="${jdbc.driver}" userid="${jdbc.username}" url="${jdbc.url}">... @ 22:107 in /home/glen/Code/web/jeesite/target/antrun/build-main.xml [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
运行 mvn antrun:run -Pinit-db 报错
https://api.github.com/repos/thinkgem/jeesite/issues/503/comments
0
2020-08-13T02:42:08Z
2020-08-13T02:42:08Z
https://github.com/thinkgem/jeesite/issues/503
678,105,027
503
[ "thinkgem", "jeesite" ]
jeesite旧版中,如何使用Junit写controller和service的单元测试用例呢? 以下是我写的单元测试例子: ` @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration(locations = {"classpath*:/applicationContext.xml"}) public class HousingTypeRestTest extends AbstractJUnit4SpringContextTests { @Autowired protected WebApplicationContext context; private MockMvc mockMvc; @Before public void init() { mockMvc = MockMvcBuilders.webAppContextSetup(context).build(); } @SneakyThrows @Test @Rollback public void getCommentInfos() { mockMvc.perform( MockMvcRequestBuilders.get("/rest/abc") .accept(APPLICATION_JSON_UTF8) ) .andDo(print()) .andExpect(status().isOk()) .andReturn(); } } ` 对应的controller代码为 ` @RequestMapping("/rest") @Controller public class HelloRest { @RequestMapping(value = "/abc") @ResponseBody public String hello() { return "Hello World."; } } ` 但是启动之后,报错误信息为: ` java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:83) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) ... ` 查找了下,发现`web.xml`中配置的`servlet`为`org.glassfish.jersey.servlet.ServletContainer`,但是官方也是这么配置的,所以咱也不敢乱动。 so,请问有解决办法么?
如何写单元测试
https://api.github.com/repos/thinkgem/jeesite/issues/502/comments
0
2020-07-17T02:32:07Z
2020-07-17T02:32:07Z
https://github.com/thinkgem/jeesite/issues/502
658,770,573
502
[ "thinkgem", "jeesite" ]
window.webuploaderRefresh(); 即可刷新按钮控件位置。 这个方法找不到
文件上传组件位置变化问题
https://api.github.com/repos/thinkgem/jeesite/issues/501/comments
0
2020-05-15T08:11:36Z
2020-05-15T08:11:36Z
https://github.com/thinkgem/jeesite/issues/501
618,783,093
501
[ "thinkgem", "jeesite" ]
![login](https://user-images.githubusercontent.com/28991162/75507586-7c58cd00-5a1c-11ea-8827-25dc448628b0.gif)
登录遇到这种情况,清除Cookie就可以登录
https://api.github.com/repos/thinkgem/jeesite/issues/499/comments
2
2020-02-28T03:25:30Z
2020-02-28T10:08:04Z
https://github.com/thinkgem/jeesite/issues/499
572,495,899
499
[ "thinkgem", "jeesite" ]
有没有一个简单的部署教程提供?谢谢!
请问如何部署到 heroku?
https://api.github.com/repos/thinkgem/jeesite/issues/497/comments
0
2019-09-14T04:33:17Z
2019-09-14T04:33:17Z
https://github.com/thinkgem/jeesite/issues/497
493,582,624
497
[ "thinkgem", "jeesite" ]
addTab 增加tab窗口提示找不到 $.fn.jerichoTab.addTab 方法,是jquery版本问题么?
addTab 增加tab窗口问题
https://api.github.com/repos/thinkgem/jeesite/issues/495/comments
1
2019-09-06T06:01:18Z
2019-09-09T05:45:39Z
https://github.com/thinkgem/jeesite/issues/495
490,145,486
495
[ "thinkgem", "jeesite" ]
请问JeeSite 3.0最低支持到哪个版本的Chrome浏览器呢?
请问JeeSite 3.0最低支持到哪个版本的Chrome浏览器呢?
https://api.github.com/repos/thinkgem/jeesite/issues/494/comments
0
2019-08-12T08:31:16Z
2019-08-12T08:31:16Z
https://github.com/thinkgem/jeesite/issues/494
479,524,634
494
[ "thinkgem", "jeesite" ]
当导入不设置title的Excel的时候,headerNum是0,取最后一行比实际行数少一行,为啥不直接取sheet.getLastRowNum(),然后调用的地方用小于等于呢?
ImportExcel的getLastDataRowNum方法问题
https://api.github.com/repos/thinkgem/jeesite/issues/493/comments
0
2019-08-06T08:08:28Z
2019-08-06T08:08:28Z
https://github.com/thinkgem/jeesite/issues/493
477,231,779
493
[ "thinkgem", "jeesite" ]
当包含 如下文件时编译报错(jeesite4.1.3) Error:java: com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.jeesite.common.config.Global$1 not found ``` package com.jeesite.modules.fsp.query; import static com.jeesite.common.config.Global.TRUE; public class MatchCreditOrderQueryParam { final String productType = TRUE; } tip : 已确定 是import static com.jeesite.common.config.Global.TRUE; 的问题,但不知道原因
当 import static com.jeesite.common.config.Global.TRUE; 导致编译失败
https://api.github.com/repos/thinkgem/jeesite/issues/492/comments
0
2019-06-06T12:18:19Z
2019-06-06T14:17:12Z
https://github.com/thinkgem/jeesite/issues/492
452,998,077
492
[ "thinkgem", "jeesite" ]
## jeesite 远程命令执行漏洞(Remote command execution vulnerability) ### 漏洞利用过程 `jeesite`使用了`apache shiro`组件,其版本为1.2.3。 ![image](https://user-images.githubusercontent.com/39592354/57190502-68a01f80-6f4d-11e9-9350-1ccac8543a17.png) 因apache shiro该版本存在java反序列化漏洞,攻击者可构造恶意数据包执行任意命令,从而拿下服务器权限。 以公网某网站为例:(参考:http://blog.knownsec.com/2016/08/apache-shiro-java/) ![image](https://user-images.githubusercontent.com/39592354/57190646-1829c180-6f4f-11e9-9a78-0b9988589b37.png) 从上图可以看到,我们利用脚本执行命令即可反弹拿到该网站对应ip服务器的命令执行权限,危害巨大。 由于使用该框架的网站众多,致使大量网站存在严重安全隐患。请尽快修复并提示用户进行升级修复该漏洞。 ### 修复建议 升级 Shiro 版本至 1.2.5 以上。
jeesite远程命令执行漏洞
https://api.github.com/repos/thinkgem/jeesite/issues/490/comments
2
2019-05-05T08:10:51Z
2019-08-13T07:34:05Z
https://github.com/thinkgem/jeesite/issues/490
440,415,874
490
[ "thinkgem", "jeesite" ]
上传的图片文件,重启服务器就没了,怎么处理呢?
上传的图片文件,重启服务器就没了
https://api.github.com/repos/thinkgem/jeesite/issues/489/comments
2
2019-05-02T11:38:29Z
2019-05-07T02:47:12Z
https://github.com/thinkgem/jeesite/issues/489
439,546,729
489
[ "thinkgem", "jeesite" ]
ie 浏览器使用ckfinder原生下载,文件名乱码,有什么解决方案?
https://api.github.com/repos/thinkgem/jeesite/issues/487/comments
0
2019-02-28T01:38:15Z
2019-02-28T01:38:41Z
https://github.com/thinkgem/jeesite/issues/487
415,406,462
487
[ "thinkgem", "jeesite" ]
创建数据库的时候最好是指定编码 不然运行init_db.bat会失败
数据库创建编码问题---MojoExecutionException
https://api.github.com/repos/thinkgem/jeesite/issues/486/comments
0
2019-01-22T03:26:11Z
2019-01-22T03:26:11Z
https://github.com/thinkgem/jeesite/issues/486
401,584,421
486
[ "thinkgem", "jeesite" ]
The fileupload component uses the common-upload jar of the old version (1.3.1). There may be a DoS threat.
old version jar package security threat
https://api.github.com/repos/thinkgem/jeesite/issues/485/comments
0
2019-01-16T08:33:49Z
2019-01-16T08:33:49Z
https://github.com/thinkgem/jeesite/issues/485
399,698,768
485
[ "thinkgem", "jeesite" ]
您好,我把jeesite放在tomcat里运行,两台服务器做负载均衡,负载均衡器SLB是通过HEAD方法获取状态码来检测后端服务器是否正常的,但是请求jeesite项目里的文件时都是返回400状态码,无法完成SLB的健康检查,且jeesite项目外的文件也被限制访问不了,请问这种情况怎么解决?
关于SLB的健康检查
https://api.github.com/repos/thinkgem/jeesite/issues/484/comments
8
2018-11-28T09:40:49Z
2018-11-28T10:08:15Z
https://github.com/thinkgem/jeesite/issues/484
385,180,203
484
[ "thinkgem", "jeesite" ]
[信息] 重建您的数据库并导入初始数据。 请按任意键继续. . . [信息] 此操作会清空您的数据表和数据,并恢复初始状态。 [信息] 确认继续吗?否则请关闭窗口。 请按任意键继续. . . [信息] 您真的确认继续吗?否则请关闭窗口。 请按任意键继续. . . [INFO] Scanning for projects... Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5. pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.p om (4 KB at 3.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5. jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.j ar (25 KB at 25.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin- 2.4.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2 .4.pom (7 KB at 11.9 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/23/maven-plugins-23.pom (9 KB at 14.7 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/22/maven-parent-22.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/22/maven-parent-22.pom (30 KB at 47.7 KB/s ec) Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/apache/11/apache-11.pom (15 KB at 26.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin- 2.4.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2 .4.jar (27 KB at 47.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2. 7.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7 .pom (6 KB at 9.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2. 7.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7 .jar (27 KB at 43.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.po m Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom (21 KB at 36.1 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/24/maven-plugins-24.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/24/maven-plugins-24.pom (0 B at 0 .0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/23/maven-parent-23.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/23/maven-parent-23.pom (0 B at 0.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/13/apache-13.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/apache/13/apache-13.pom (0 B at 0.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.ja r Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar (122 KB at 136.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1. 3.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3 .pom (5 KB at 7.3 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom (12 KB at 22.2 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/9/maven-parent-9.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/9/maven-parent-9.pom (33 KB at 54.0 KB/sec ) Downloading: http://repo.maven.apache.org/maven2/org/apache/apache/4/apache-4.pom Downloaded: http://repo.maven.apache.org/maven2/org/apache/apache/4/apache-4.pom (0 B at 0.0 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1. 3.jar Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-antrun-plugin/1.3/maven-antrun-plugin-1.3 .jar (24 KB at 35.0 KB/sec) [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.142s [INFO] Finished at: Thu Nov 22 15:52:25 CST 2018 [INFO] Final Memory: 6M/123M [INFO] ------------------------------------------------------------------------ [WARNING] The requested profile "init-db" could not be activated because it does not exist. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default-cli): Goal requires a proje ct to execute but there is no POM in this directory (C:\Windows). Please verify you invoked Maven from the correct direc tory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException 系统找不到指定的路径。 请按任意键继续. . .
出错:导入数据表并初始化数据:运行db/init-db.bat文件。
https://api.github.com/repos/thinkgem/jeesite/issues/483/comments
4
2018-11-22T07:53:00Z
2018-11-22T08:39:38Z
https://github.com/thinkgem/jeesite/issues/483
383,416,742
483
[ "thinkgem", "jeesite" ]
环境:maven3.3.9、tomcat7.0.91、java7-u80、eclipse-j2ee-mars1 1、我在apache-tomcat-7.0.91里为了开启cgi做了如下配置: 1.1、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet: <servlet> <servlet-name>cgi</servlet-name> <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>cgiPathPrefix</param-name> <param-value>WEB-INF/cgi</param-value> </init-param> <init-param> <param-name>executable</param-name> <param-value></param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> 1.2、修改了D:\apache-tomcat-7.0.91\conf\web.xml里关于cgi的servlet-mapping: <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping> 1.3、修改了D:\apache-tomcat-7.0.91\conf\context.xml里的context标签 <Context privileged="true"> 1.4、把要调用的Project.exe放在了如下位置 D:\apache-tomcat-7.0.91\webapps\cgi-example\WEB-INF\cgi\Project.exe 1.5、启动tomcat后,访问 http://localhost:8080/cgi-example/cgi-bin/Project.exe 成功运行了Project.exe 2.1、我在eclipse对jeesite\src\main\webapp\WEB-INF\web.xml做了许多修改 2.2、我也写了一个跳转到exe的java方法 @RequiresPermissions("class:class:view") @RequestMapping(value = "jump") public String change(Class class) { return "WEB-INF/views/modules/cgi/Project1.exe"; } 3.1、第二节操作均未使我在jeesite1.2.7里成功跳转到exe处,请教一下具体的配置教程,谢谢。
请教如何在jeesite1.2.7版本里配置CGI,以及java调用cgi下的exe文件路径
https://api.github.com/repos/thinkgem/jeesite/issues/482/comments
2
2018-10-19T14:31:58Z
2018-10-19T14:54:42Z
https://github.com/thinkgem/jeesite/issues/482
371,983,436
482
[ "thinkgem", "jeesite" ]
流程跟踪页面乱码,请问应该怎么处理?谢谢~
流程跟踪页面乱码
https://api.github.com/repos/thinkgem/jeesite/issues/481/comments
0
2018-09-06T12:08:14Z
2018-09-06T12:08:14Z
https://github.com/thinkgem/jeesite/issues/481
357,625,341
481
[ "thinkgem", "jeesite" ]
![92379d54f3b7e96494be05df70e20aa3](https://user-images.githubusercontent.com/17929879/44628704-ce2c1d00-a977-11e8-969d-79be2155b33a.jpg)
Jeesite
https://api.github.com/repos/thinkgem/jeesite/issues/479/comments
7
2018-08-26T13:34:43Z
2018-12-11T03:42:01Z
https://github.com/thinkgem/jeesite/issues/479
354,095,404
479
[ "thinkgem", "jeesite" ]
异常日志: ### SQL: INSERT INTO t_follow( id, open_id, nick_name, sex, country, province, city, headimgurl, unionid, real_name, phone, is_subscribe, subscribe, create_by, create_date, update_by, update_date, remarks, del_flag, sort_index, yl1, yl2, yl3, yl4 ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) ### Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed ; SQL []; Connection is read-only. Queries leading to data modification are not allowed; nested exception is java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed org.springframework.dao.TransientDataAccessResourceException: ### Error updating database. Cause: java.sql.SQLException: Connection is read-only. Queries leading to data modification are not allowed ### The error may involve defaultParameterMap `` ```/** * 保存通过授权拿到的粉丝资料 * @author cao_wencao * @param wxMpUser */ @Transactional(readOnly = false) public void saveOauthFollowInfo(WxMpUser wxMpUser){ Follow follow = new Follow(); follow.setOpenId(wxMpUser.getOpenId()); follow.setNickName(wxMpUser.getNickname()); follow.setSex(wxMpUser.getSexDesc()); follow.setCountry(wxMpUser.getCountry()); follow.setProvince(wxMpUser.getProvince()); follow.setCity(wxMpUser.getCity()); follow.setHeadimgurl(wxMpUser.getHeadImgUrl()); String unionid = IdGen.uuid(); follow.setUnionid(unionid); follow.setRealName(EmojiUtils.emojiChange(wxMpUser.getNickname())); follow.setIsSubscribe(DictUtils.getDictValue("已关注", "follow_isSubscribe", "1")); follow.setSubscribe(new Date()); User user = UserUtils.getUser(); follow.setCreateDate(new Date()); follow.setCreateBy(user); follow.setUpdateBy(user); follow.setUpdateDate(new Date()); // 新增粉丝 save(follow); // 生成粉丝对应账号 saveForMemberAndAccount(follow); } @Transactional(readOnly = false) public void save(Follow follow) { super.save(follow); }`
拦截器拦截微信授权,当前用户的粉丝资料在数据库中没有时,就保存粉丝资料,调用系统生成的save()方法,事物失效
https://api.github.com/repos/thinkgem/jeesite/issues/478/comments
0
2018-08-24T03:27:57Z
2018-08-24T03:30:56Z
https://github.com/thinkgem/jeesite/issues/478
353,630,836
478
[ "thinkgem", "jeesite" ]
使用Intellij idea tomcat 运行 Jeesite,点登陆后抛出如下异常: `Caused by: org.apache.shiro.cache.CacheException: org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: java.io.OptionalDataException at org.apache.shiro.cache.ehcache.EhCache.values(EhCache.java:182) at org.apache.shiro.session.mgt.eis.CachingSessionDAO.getActiveSessions(CachingSessionDAO.java:345) at com.thinkgem.jeesite.common.security.shiro.session.CacheSessionDAO.getActiveSessions(CacheSessionDAO.java:152) at com.thinkgem.jeesite.common.security.shiro.session.CacheSessionDAO.getActiveSessions(CacheSessionDAO.java:135) at com.thinkgem.jeesite.modules.sys.security.SystemAuthorizingRealm.doGetAuthenticationInfo(SystemAuthorizingRealm.java:66) at org.apache.shiro.realm.AuthenticatingRealm.getAuthenticationInfo(AuthenticatingRealm.java:568) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doSingleRealmAuthentication(ModularRealmAuthenticator.java:180) at org.apache.shiro.authc.pam.ModularRealmAuthenticator.doAuthenticate(ModularRealmAuthenticator.java:267) at org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:198)`
启动抛异常 java.io.OptionalDataException
https://api.github.com/repos/thinkgem/jeesite/issues/477/comments
3
2018-08-23T06:08:09Z
2021-05-13T06:52:39Z
https://github.com/thinkgem/jeesite/issues/477
353,237,372
477
[ "thinkgem", "jeesite" ]
2018-08-20 16:40:49,939 ERROR [activiti.engine.impl.db.DbSqlSession] - problem during schema create, statement alter table ACT_RE_PROCDEF add constraint ACT_UNIQ_PROCDEF unique (KEY_,VERSION_, TENANT_ID_) com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.Util.getInstance(Util.java:384) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2832) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2781) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:908) at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:788) at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:2489) at com.alibaba.druid.filter.FilterAdapter.statement_execute(FilterAdapter.java:2451) at com.alibaba.druid.filter.FilterEventAdapter.statement_execute(FilterEventAdapter.java:188) at com.alibaba.druid.filter.FilterChainImpl.statement_execute(FilterChainImpl.java:2487) at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.execute(StatementProxyImpl.java:137) at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:421) at org.activiti.engine.impl.db.DbSqlSession.executeSchemaResource(DbSqlSession.java:1368) at org.activiti.engine.impl.db.DbSqlSession.executeSchemaResource(DbSqlSession.java:1288)
MySQLSyntaxErrorException: Specified key was too long; max key length is 1000 bytes
https://api.github.com/repos/thinkgem/jeesite/issues/476/comments
0
2018-08-20T08:46:17Z
2018-08-20T08:46:17Z
https://github.com/thinkgem/jeesite/issues/476
352,039,182
476
[ "thinkgem", "jeesite" ]
在修改超级管理员信息保存时,提示了权限不够,但是后经查,数据仍然被修改了。
权限控制问题
https://api.github.com/repos/thinkgem/jeesite/issues/474/comments
1
2018-08-02T01:14:41Z
2018-08-03T02:40:33Z
https://github.com/thinkgem/jeesite/issues/474
346,823,864
474
[ "thinkgem", "jeesite" ]
提示错误:Unexpected error: could not save model 点击保存并关闭:400 Bad request http://localhost:8181/jeesite/act/service/model/ff4cdbb2c3c94dfd819601bab24349d7/save ![image](https://user-images.githubusercontent.com/3972046/42800097-f23efdd6-89cc-11e8-8412-5f85cead4aff.png) ![qq 20180717142222](https://user-images.githubusercontent.com/3972046/42800114-03bd34f6-89cd-11e8-8754-c3330197af57.png)
流程保存报错
https://api.github.com/repos/thinkgem/jeesite/issues/473/comments
1
2018-07-17T06:22:01Z
2018-07-17T07:49:19Z
https://github.com/thinkgem/jeesite/issues/473
341,781,070
473
[ "thinkgem", "jeesite" ]
**`public static void main (String[] args ){ ApplicationContext ctx = new ClassPathXmlApplicationContext("spring-context.xml"); ImportGamexxjh5 importGamexxjh5=ctx.getBean("importGamexxjh5", ImportGamexxjh5.class); String tablename="order_180528"; importGamexxjh5.run(tablename); }`** 报错了: `Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.thinkgem.jeesite.modules.sys.security.FormAuthenticationFilter]; nested exception is org.springframework.core.NestedIOException: Failed to load class [javax.servlet.Filter]; nested exception is java.lang.ClassNotFoundException: javax.servlet.Filter at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:187) at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:83) at com.thinkgem.jeesite.modules.gamexxjh5.task.ImportGamexxjh5.main(ImportGamexxjh5.java:80)`
jeesite怎么在main方法中调用注解类
https://api.github.com/repos/thinkgem/jeesite/issues/471/comments
1
2018-06-01T02:46:57Z
2018-09-08T11:52:39Z
https://github.com/thinkgem/jeesite/issues/471
328,361,691
471
[ "thinkgem", "jeesite" ]
在流程任务节点中设置任务监听器,使用Class方式 继承Tasklistener 的方法来设置任务监听器,当任务监听器执行的时候,系统就一直在多个线程执行notify方法。有大神试过在jeesite中设置任务监听器吗?
使用Jeesite工作流 任务监听器时系统自动运行多个监听类导致内存溢出
https://api.github.com/repos/thinkgem/jeesite/issues/470/comments
0
2018-05-25T16:20:06Z
2018-05-25T16:20:06Z
https://github.com/thinkgem/jeesite/issues/470
326,586,962
470
[ "thinkgem", "jeesite" ]
![image](https://user-images.githubusercontent.com/13899240/39743339-277f0184-52d3-11e8-9c4f-ed756cd50a04.png)
Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
https://api.github.com/repos/thinkgem/jeesite/issues/469/comments
0
2018-05-08T07:19:33Z
2018-05-08T07:19:33Z
https://github.com/thinkgem/jeesite/issues/469
321,070,212
469
[ "thinkgem", "jeesite" ]
ckfinder for linux 无法从服务器读取数据,因XML响应返回结果为空 怎么解决 求大神
https://api.github.com/repos/thinkgem/jeesite/issues/466/comments
1
2018-04-28T09:21:24Z
2018-09-03T05:54:09Z
https://github.com/thinkgem/jeesite/issues/466
318,618,062
466
[ "thinkgem", "jeesite" ]
org.apache.shiro.crypto.CryptoException: Unable to execute 'doFinal' with cipher instance [javax.crypto.Cipher@3b17d9a1].
https://api.github.com/repos/thinkgem/jeesite/issues/465/comments
0
2018-04-03T02:14:05Z
2018-04-03T02:14:05Z
https://github.com/thinkgem/jeesite/issues/465
310,669,425
465
[ "thinkgem", "jeesite" ]
登录报错Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
Caused by: javax.crypto.BadPaddingException: Given final block not properly padded
https://api.github.com/repos/thinkgem/jeesite/issues/464/comments
0
2018-04-01T10:55:21Z
2018-04-01T10:55:21Z
https://github.com/thinkgem/jeesite/issues/464
310,315,110
464
[ "thinkgem", "jeesite" ]
按照部署教程, 配置好maven后, 运行maven下的settting.bat,然后按照提示配置环境变量path 运行 eclipse.bat 就出现 [ERROR] No plugin found for prefix 'eclipse' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] ... 请问是为何?谢谢
为何运行eclipse.bat后出现错误 No plugin found for prefix 'eclipse' in the current project
https://api.github.com/repos/thinkgem/jeesite/issues/463/comments
1
2018-03-19T08:15:00Z
2018-03-19T08:17:12Z
https://github.com/thinkgem/jeesite/issues/463
306,367,091
463
[ "thinkgem", "jeesite" ]
Hibernate 分支上在@Scheduled中对实体进行修改时候会报错: UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration 估计是dataentity的 User user = UserUtils.getUser(); 中调用Subject subject = SecurityUtils.getSubject(); 无法获取到Subject导致的问题.
使用@Scheduled会出现shiro.UnavailableSecurityManagerException报错
https://api.github.com/repos/thinkgem/jeesite/issues/462/comments
0
2018-02-23T08:44:17Z
2018-02-23T09:05:58Z
https://github.com/thinkgem/jeesite/issues/462
299,637,014
462
[ "thinkgem", "jeesite" ]
新手,按说明一步步做,部署好启动报错: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processDefinitionDiagramLayoutResource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.activiti.engine.RuntimeService com.thinkgem.jeesite.modules.act.rest.diagram.services.BaseProcessDefinitionDiagramLayoutResource.runtimeService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineFactory': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiException: couldn't create db schema: create table ACT_HI_IDENTITYLINK ( 基本都是提示“ActivitiException: couldn't create db schema: create table ACT_HI_IDENTITYLINK ( ”这个的
求解activiti.engine.ActivitiException: couldn't create db schema: create table ACT_HI_IDENTITYLINK
https://api.github.com/repos/thinkgem/jeesite/issues/460/comments
0
2018-02-13T09:15:31Z
2018-02-13T09:15:31Z
https://github.com/thinkgem/jeesite/issues/460
296,663,186
460
[ "thinkgem", "jeesite" ]
两个问题: 1、ReadMe 里"快速体验"里第4点`运行bin\init-db.bat脚本`,应改为 `运行db\init-db.bat脚本` 2、运行 `bin\run-tomcat7.bat` 后提示 `The content of element type "resultMap" must match`,是因为"\src\main\resources\mappings\modules\sys\RoleDao.xml" 的配置有问题,做如下改动才可以 ``` <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.thinkgem.jeesite.modules.sys.dao.RoleDao"> <resultMap id="roleResult" type="Role"> <id property="id" column="id" /> - <association property="office" javaType="Office"> - <id property="id" column="office.id" /> - <id property="name" column="office.name" /> - </association> <result property="name" column="name" /> <result property="enname" column="enname" /> <result property="roleType" column="roleType" /> <result property="dataScope" column="dataScope" /> <result property="remarks" column="remarks" /> <result property="useable" column="useable" /> - <result property="sysData" column="sysData" /><!-- + <result property="sysData" column="sysData" /> + <association property="office" javaType="Office"> + <id property="id" column="office.id" /> + <id property="name" column="office.name" /> + </association> + <!-- <collection property="userList" ofType="User"> <id property="id" column="userList.id" /> <id property="loginName" column="userList.loginName" /> <id property="name" column="userList.name" /> <id property="email" column="userList.email" /> ```
关于启动的两个问题
https://api.github.com/repos/thinkgem/jeesite/issues/459/comments
2
2018-02-12T06:45:53Z
2018-02-27T17:21:29Z
https://github.com/thinkgem/jeesite/issues/459
296,279,694
459
[ "thinkgem", "jeesite" ]
演示网页打不开
演示网页打不开
https://api.github.com/repos/thinkgem/jeesite/issues/457/comments
0
2018-02-07T04:22:22Z
2018-02-07T04:22:22Z
https://github.com/thinkgem/jeesite/issues/457
295,002,424
457
[ "thinkgem", "jeesite" ]
各位大大好,我把`图片资源`放在`WEB-INF/Img`文件夹下,在`Spring-mvc.xml`中配置静态资源映射。 ```xml <mvc:resources mapping="/Images/**" location="/WEB-INF/Img" cache-period="31536000"/> ``` 然后再`jsp`页面上想把图片显示出来,通过 ``` jsp <img border="0" src="<c:url value='/Images/test.jpeg' />" alt="Pulpit rock" width="304" height="228"/> ``` 现在的问题是无法显示。我从网上搜索,尝试着将`<!-- <mvc:default-servlet-handler /> -->`注释掉,也是不行。又尝试着 添加`<mvc:annotation-driven />`这个标记,也是不行。求各位帮忙给个能解决的方案,谢谢。
静态资源应该如何配置呢?
https://api.github.com/repos/thinkgem/jeesite/issues/455/comments
0
2018-02-02T02:22:16Z
2018-02-02T02:22:16Z
https://github.com/thinkgem/jeesite/issues/455
293,751,740
455
[ "thinkgem", "jeesite" ]
第一个次用`jeesite`,想问一下大家,我看到`resource`中有很多MyBatis DAO相关的Mapping XML文件,这些文件是一个个手写的吗?还是通过工具可以生成呢?谢谢大家。
MyBatis的相关代码是怎么生成的吗?
https://api.github.com/repos/thinkgem/jeesite/issues/453/comments
4
2018-01-28T11:13:29Z
2018-01-30T03:19:57Z
https://github.com/thinkgem/jeesite/issues/453
292,196,652
453
[ "thinkgem", "jeesite" ]
看了下,现在流行spring boot ,项目有没有spring boot 版本
有没有spring boot 版本
https://api.github.com/repos/thinkgem/jeesite/issues/452/comments
2
2018-01-11T06:44:08Z
2018-01-29T11:29:53Z
https://github.com/thinkgem/jeesite/issues/452
287,679,673
452
[ "thinkgem", "jeesite" ]
1.0.0版本 boncp的0.7.1-rc2版本在maven中央库以及另外指定的BoneCP Repository中均无法下载,可以修改为 0.7.1-rc3 或更新的版本
1.0.0版本的连接池0.7.1-rc2已失效
https://api.github.com/repos/thinkgem/jeesite/issues/451/comments
2
2018-01-03T05:52:26Z
2018-01-29T13:30:45Z
https://github.com/thinkgem/jeesite/issues/451
285,604,132
451
[ "thinkgem", "jeesite" ]
我想添加,obj类型的文件在 文件管理的文件库里,报错''此文件后缀在当前文件夹中不可用."" 我看了下js改动不知道在哪里下手 ![20171229092545](https://user-images.githubusercontent.com/15103507/34427195-78260098-ec7a-11e7-9e38-e5e08344fc1c.png)
我想添加,obj类型的文件在 文件管理的文件库里,报错''此文件后缀在当前文件夹中不可用.""
https://api.github.com/repos/thinkgem/jeesite/issues/450/comments
0
2017-12-29T01:27:25Z
2017-12-29T01:27:25Z
https://github.com/thinkgem/jeesite/issues/450
285,018,344
450
[ "thinkgem", "jeesite" ]
基于jeesite的平台里,我自己写了个简单的 文件上传,方法, 但是每次拿List<FileItem> /* FileItem */items = upload.parseRequest(request);都是null 应该怎么改 // Create a factory for disk-based file items DiskFileItemFactory factory = new DiskFileItemFactory(); // FileCleaningTracker fileCleaningTracker = // FileCleanerCleanup.getFileCleaningTracker(getServletContext()); // factory.setFileCleaningTracker(fileCleaningTracker); // Set factory constraints factory.setSizeThreshold(1024 * 500); File tempDirectory = new File("d:\\tempDirectory"); factory.setRepository(tempDirectory); // Create a new file upload handler ServletFileUpload upload = new ServletFileUpload(factory); // Set overall request size constraint upload.setSizeMax(1024 * 1024 * 5); // Parse the request try { List<FileItem> /* FileItem */items = upload.parseRequest(request); System.out.println("--items---" +items); `/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sys.web; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.net.URLEncoder; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.fileupload.FileItem; import org.apache.commons.fileupload.FileUploadException; import org.apache.commons.fileupload.disk.DiskFileItemFactory; import org.apache.commons.fileupload.servlet.ServletFileUpload; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import com.thinkgem.jeesite.common.config.Global; import com.thinkgem.jeesite.common.utils.StringUtils; import com.thinkgem.jeesite.common.utils.UploadUtils; import com.thinkgem.jeesite.common.web.BaseController; /** * 下载Controller * @author * @version 2017-12-23 */ @Controller @RequestMapping(value = "${adminPath}/down") public class DownLoadController extends BaseController { //http://localhost:8080/glassTry/a/down/upload @RequestMapping(value="upload") public void upload(HttpServletRequest request, HttpServletResponse response) throws Exception { System.out.println("--upload----upload---"); // 1. 得到 FileItem 的集合 items // Create a factory for disk-based file items DiskFileItemFactory factory = new DiskFileItemFactory(); // FileCleaningTracker fileCleaningTracker = // FileCleanerCleanup.getFileCleaningTracker(getServletContext()); // factory.setFileCleaningTracker(fileCleaningTracker); // Set factory constraints factory.setSizeThreshold(1024 * 500); File tempDirectory = new File("d:\\tempDirectory"); factory.setRepository(tempDirectory); // Create a new file upload handler ServletFileUpload upload = new ServletFileUpload(factory); // Set overall request size constraint upload.setSizeMax(1024 * 1024 * 5); // Parse the request try { List<FileItem> /* FileItem */items = upload.parseRequest(request); System.out.println("--items---" +items); // 2. 遍历 items: for (FileItem item : items) { // 若是一个一般的表单域, 打印信息 if (item.isFormField()) { String name = item.getFieldName(); String value = item.getString(); System.out.println(name + ": " + value); } // 若是文件域则把文件保存到 d:\\files 目录下. else { String fieldName = item.getFieldName(); String fileName = item.getName(); String contentType = item.getContentType(); long sizeInBytes = item.getSize(); System.out.println(fieldName); System.out.println(fileName); System.out.println(contentType); System.out.println(sizeInBytes); InputStream in = item.getInputStream(); byte[] buffer = new byte[1024]; int len = 0; if (null!=fileName&&!"".equals(fileName)) { System.out.println("--文件存在--"+ fieldName); }else { System.out.println(fileName+"--找不到--"); break; } fileName = "d:\\files\\" + fileName; System.out.println(fileName); OutputStream out = new FileOutputStream(fileName); while ((len = in.read(buffer)) != -1) { out.write(buffer, 0, len); } out.close(); in.close(); } } } catch (FileUploadException e) { e.printStackTrace(); } } //http://localhost:8080/glassTry/a/down/image @RequestMapping(value="image") public void imageUpload(HttpServletRequest request, HttpServletResponse response) throws Exception { System.out.println("---hjz file upload--"); // ServletContext servletContext = request.getServletContext(); // String savepath= servletContext.getRealPath(“/WEB-INF/uploads”); // 因为要使用response打印,所以设置其编码 response.setContentType("text/html;charset=utf-8"); // 创建工厂 DiskFileItemFactory dfif = new DiskFileItemFactory(); // 使用工厂创建解析器对象 ServletFileUpload fileUpload = new ServletFileUpload(dfif); try { // 使用解析器对象解析request,得到FileItem列表 UploadUtils utils=new UploadUtils(); List<FileItem> list = fileUpload.parseRequest(request); InputStream in = request.getInputStream(); InputStreamReader isr = new InputStreamReader(in); BufferedReader bufr = new BufferedReader(isr); String line = null; String[] listhjz =utils.uploadFile(request); System.out.println("---listhjz---" +listhjz.length); for (int i = 0; i < listhjz.length; i++) { System.out.println("--listhjz---" +listhjz[i]); } System.out.println("--list--" +list); // 遍历所有表单项 for(FileItem fileItem : list) { // 如果当前表单项为普通表单项 if(fileItem.isFormField()) { // 获取当前表单项的字段名称 String fieldName = fileItem.getFieldName(); // 如果当前表单项的字段名为username if(fieldName.equals("username")) { // 打印当前表单项的内容,即用户在username表单项中输入的内容 response.getWriter().print("用户名:" + fileItem.getString() + "<br/>"); } } else {//如果当前表单项不是普通表单项,说明就是文件字段 String name = fileItem.getName();//获取上传文件的名称 // 如果上传的文件名称为空,即没有指定上传文件 if(name == null || name.isEmpty()) { continue; } // 获取真实路径,对应${项目目录}/uploads,当然,这个目录必须存在 // String savepath = this.getServletContext().getRealPath("/uploads"); String savepath = "E:/"; // 通过uploads目录和文件名称来创建File对象 File file = new File(savepath, name); // 把上传文件保存到指定位置 fileItem.write(file); // 打印上传文件的名称 response.getWriter().print("上传文件名:" + name + "<br/>"); // 打印上传文件的大小 response.getWriter().print("上传文件大小:" + fileItem.getSize() + "<br/>"); // 打印上传文件的类型 response.getWriter().print("上传文件类型:" + fileItem.getContentType() + "<br/>"); System.out.println("---hjz -close--"); } } } catch (Exception e) { throw new Exception(e); } } // http://localhost:8080/product_admin/a/down/downloadApi @RequestMapping(value="downloadApi") public void download(HttpServletRequest request, HttpServletResponse response) { System.out.println("--downloadApi--"); String fileName="e://12202017glassForApi.doc"; String downloadPath = request.getSession().getServletContext().getRealPath(Global.getConfig("downloadPath")); downloadPath = String.format("%s%s%s", downloadPath, "\\", fileName); downloadPath = downloadPath.replace('\\', File.separatorChar); try { File file = new File(fileName); if (!file.exists()) { System.out.println("找不到下载文件,URL地址为:%s。"); logger.error(String.format("找不到下载文件,URL地址为:%s。", downloadPath)); return; } // fileName = downloadPath.substring(downloadPath.lastIndexOf(File.separatorChar) + 1); response.reset(); System.out.println("---fileName---" +fileName); response.setHeader("content-disposition", "attachment;filename=" + "glassForApi.doc"); response.setHeader("Content-Type", "application/zip"); response.setContentType("application/force-download"); FileInputStream inputStream = new FileInputStream(fileName); OutputStream outputStream = response.getOutputStream(); byte[] buffer = new byte[1024]; int len = 0; while ((len = inputStream.read(buffer)) > 0) { outputStream.write(buffer, 0, len); } inputStream.close(); outputStream.close(); System.out.println("---hjz -close--"); } catch(Exception exception) { logger.error(String.format("下载文件失败,URL地址为:%s。", downloadPath), exception); } } /** * 文件下载 * @param response * @param is 文件输入流 * @param fileName 下载的文件名称 * @param encoding 编码格式 */ public static void download(HttpServletResponse response, InputStream is, String fileName, String encoding){ if(is == null || StringUtils.isBlank(fileName)){ return; } BufferedInputStream bis = null; OutputStream os = null; BufferedOutputStream bos = null; try{ bis = new BufferedInputStream(is); os = response.getOutputStream(); bos = new BufferedOutputStream(os); response.setContentType("application/octet-stream;charset=" + encoding); response.setCharacterEncoding(encoding); response.setHeader("Content-disposition", "attachment;filename="+ URLEncoder.encode(fileName, encoding)); byte[] buffer = new byte[1024]; int len = bis.read(buffer); while(len != -1){ bos.write(buffer, 0, len); len = bis.read(buffer); } bos.flush(); }catch(IOException e){ e.printStackTrace(); }finally{ if(bis != null){ try{ bis.close(); }catch(IOException e){} } if(is != null){ try{ is.close(); }catch(IOException e){} } } } } `
基于jeesite的平台里,我自己写了个简单的 文件上传,方法, 但是每次拿List<FileItem> /* FileItem */items = upload.parseRequest(request);都是null
https://api.github.com/repos/thinkgem/jeesite/issues/449/comments
1
2017-12-28T09:43:05Z
2018-01-29T11:31:33Z
https://github.com/thinkgem/jeesite/issues/449
284,878,457
449
[ "thinkgem", "jeesite" ]
jeesite怎么变英文版,怎么快速应用于国外市场??
jeesite怎么变英文版,怎么快速应用于国外市场??
https://api.github.com/repos/thinkgem/jeesite/issues/448/comments
4
2017-12-21T03:55:03Z
2018-01-29T11:34:07Z
https://github.com/thinkgem/jeesite/issues/448
283,766,401
448
[ "thinkgem", "jeesite" ]
问题:流程管理页面默认上一页、下一页都可点击。无论实际数据多少,点击后显示为0条数据。没有分页效果。 分析:通过一路辛苦的debug,终于modules/act/service/ActTaskService.java中发现返回的分页对象Page属性为: ![image](https://user-images.githubusercontent.com/25815555/33197735-2e2f9d0a-d122-11e7-94b7-07fab98e9c63.png) 这里可以看到first、last、prev、next等属性都是0,再仔细看一个Page类是通过调用initialize()方法进行初始化参数,然而返回的page对象并没有调用该方法初始化。 解决:修改jeesite框架modules/act/service/ActTaskService.java源码,在 `page.getList().add(new Object[]{processDefinition, deployment});` 这行下面添加 `page.initialize();`进行初始化,BUG得到完美解决。 ` List<ProcessDefinition> processDefinitionList = processDefinitionQuery.listPage(page.getFirstResult(), page.getMaxResults()); for (ProcessDefinition processDefinition : processDefinitionList) { String deploymentId = processDefinition.getDeploymentId(); Deployment deployment = repositoryService.createDeploymentQuery().deploymentId(deploymentId).singleResult(); page.getList().add(new Object[]{processDefinition, deployment}); //修复分页数据未初始化BUG page.initialize(); } return page;` 添加后返回的数据: ![image](https://user-images.githubusercontent.com/25815555/33198003-6a9da7b8-d123-11e7-86c8-4e4f77f82604.png)
流程管理分页BUG和解决方法。
https://api.github.com/repos/thinkgem/jeesite/issues/444/comments
0
2017-11-24T06:28:44Z
2017-11-24T06:28:44Z
https://github.com/thinkgem/jeesite/issues/444
276,525,096
444
[ "thinkgem", "jeesite" ]
请各位帮忙解决一下,这个怎么弄的。 如果有类似的带我可以给我发一下,万分感谢!我的邮箱[email protected]
签收任务后,再将任务变为待签收状态
https://api.github.com/repos/thinkgem/jeesite/issues/443/comments
1
2017-11-23T00:49:24Z
2017-11-23T01:29:48Z
https://github.com/thinkgem/jeesite/issues/443
276,241,914
443
[ "thinkgem", "jeesite" ]
你好,我这边 服务起来了,访问出问题,排查的原因是数据库表没有创建,以及数据没有导入,找了原因,没找出来原因在哪?请前辈,指导一二,谢谢谢谢🙏
关于mysql中数据库自动生成,数据自动导入的问题
https://api.github.com/repos/thinkgem/jeesite/issues/442/comments
7
2017-11-15T03:05:21Z
2018-02-27T09:20:55Z
https://github.com/thinkgem/jeesite/issues/442
274,019,230
442
[ "thinkgem", "jeesite" ]
多台服务器部署无法正常登录,但是单台服务器可以登录成功
多台服务器部署后登录验证成功,但是无法跳转到首页
https://api.github.com/repos/thinkgem/jeesite/issues/441/comments
0
2017-11-02T07:44:09Z
2017-11-02T07:44:09Z
https://github.com/thinkgem/jeesite/issues/441
270,560,655
441
[ "thinkgem", "jeesite" ]
你好,我安装部署完后报如下错误: 十月 30, 2017 9:12:23 上午 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2017-10-30 09:12:49,463 ERROR [com.alibaba.druid.pool.DruidDataSource] - init datasource error, url: jdbc:jtds:sqlserver://localhost:1433/jeesite java.sql.SQLException: 对象名 'DUAL' 无效。 at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2363) at com.alibaba.druid.filter.FilterAdapter.statement_executeQuery(FilterAdapter.java:2481) at com.alibaba.druid.filter.FilterEventAdapter.statement_executeQuery(FilterEventAdapter.java:302) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2360) at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.executeQuery(StatementProxyImpl.java:211) at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1262) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1474) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:683) 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:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.thinkgem.jeesite.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:16) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4739) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2017-10-30 09:12:49,494 ERROR [com.alibaba.druid.pool.DruidDataSource] - {dataSource-1} init error java.sql.SQLException: 对象名 'DUAL' 无效。 at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2363) at com.alibaba.druid.filter.FilterAdapter.statement_executeQuery(FilterAdapter.java:2481) at com.alibaba.druid.filter.FilterEventAdapter.statement_executeQuery(FilterEventAdapter.java:302) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2360) at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.executeQuery(StatementProxyImpl.java:211) at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1262) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1474) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:683) 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:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.thinkgem.jeesite.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:16) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4739) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) 2017-10-30 09:12:49,496 WARN [springframework.web.context.support.XmlWebApplicationContext] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actDao' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\com\thinkgem\jeesite\modules\act\dao\ActDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 2017-10-30 09:12:49,496 DEBUG [thinkgem.jeesite.common.utils.SpringContextHolder] - 清除SpringContextHolder中的ApplicationContext:Root WebApplicationContext: startup date [Mon Oct 30 09:12:23 CST 2017]; root of context hierarchy 2017-10-30 09:12:49,608 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actDao' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\com\thinkgem\jeesite\modules\act\dao\ActDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.thinkgem.jeesite.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:16) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4739) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 31 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 41 more Caused by: java.sql.SQLException: 对象名 'DUAL' 无效。 at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2363) at com.alibaba.druid.filter.FilterAdapter.statement_executeQuery(FilterAdapter.java:2481) at com.alibaba.druid.filter.FilterEventAdapter.statement_executeQuery(FilterEventAdapter.java:302) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2360) at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.executeQuery(StatementProxyImpl.java:211) at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1262) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1474) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:683) 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:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) ... 48 more 十月 30, 2017 9:12:49 上午 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class com.thinkgem.jeesite.modules.sys.listener.WebContextListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'actDao' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\com\thinkgem\jeesite\modules\act\dao\ActDao.class]: Cannot resolve reference to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:736) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:434) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306) at com.thinkgem.jeesite.modules.sys.listener.WebContextListener.initWebApplicationContext(WebContextListener.java:16) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4739) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:759) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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:606) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 31 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in file [D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\jeesite-master\WEB-INF\classes\spring-context.xml]: Invocation of init method failed; nested exception is java.sql.SQLException: 对象名 'DUAL' 无效。 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1572) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 41 more Caused by: java.sql.SQLException: 对象名 'DUAL' 无效。 at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2363) at com.alibaba.druid.filter.FilterAdapter.statement_executeQuery(FilterAdapter.java:2481) at com.alibaba.druid.filter.FilterEventAdapter.statement_executeQuery(FilterEventAdapter.java:302) at com.alibaba.druid.filter.FilterChainImpl.statement_executeQuery(FilterChainImpl.java:2360) at com.alibaba.druid.proxy.jdbc.StatementProxyImpl.executeQuery(StatementProxyImpl.java:211) at com.alibaba.druid.pool.DruidAbstractDataSource.validateConnection(DruidAbstractDataSource.java:1262) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1474) at com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:683) 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:606) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1700) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1639) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) ... 48 more
安装部署报错java.sql.SQLException: 对象名 'DUAL' 无效。
https://api.github.com/repos/thinkgem/jeesite/issues/440/comments
2
2017-10-30T01:53:10Z
2017-11-29T16:39:35Z
https://github.com/thinkgem/jeesite/issues/440
269,459,999
440
[ "thinkgem", "jeesite" ]
如题
${fns:getUserById(id)}传入不同参数确返回一样的属性值,缓存是redis JedisCacheManager
https://api.github.com/repos/thinkgem/jeesite/issues/439/comments
0
2017-10-26T23:29:42Z
2017-10-26T23:30:01Z
https://github.com/thinkgem/jeesite/issues/439
268,943,197
439
[ "thinkgem", "jeesite" ]
假设User类已经继承了DataEntity<User>,如果我还要增加一个Saler来继承User貌似就不能够使用CurdService了?
实体类如何进行继承?
https://api.github.com/repos/thinkgem/jeesite/issues/438/comments
0
2017-10-17T11:45:20Z
2017-10-17T11:45:20Z
https://github.com/thinkgem/jeesite/issues/438
266,093,375
438
[ "thinkgem", "jeesite" ]
使用jdk1.8,启动时 Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
启动时报错
https://api.github.com/repos/thinkgem/jeesite/issues/437/comments
1
2017-09-29T01:43:33Z
2017-09-29T02:04:02Z
https://github.com/thinkgem/jeesite/issues/437
261,508,651
437
[ "thinkgem", "jeesite" ]
jeesite-master\src\main\java\com\thinkgem\jeesite\modules解压之后这个路径下没有sys文件夹,不知为何,导入到eclipse中也是没有这个文件夹,但是压缩文件里面是可以看到的,很是奇怪
解压之后缺少文件夹
https://api.github.com/repos/thinkgem/jeesite/issues/435/comments
0
2017-09-19T03:06:22Z
2017-09-19T03:06:22Z
https://github.com/thinkgem/jeesite/issues/435
258,681,971
435
[ "thinkgem", "jeesite" ]
这里只对BoundSql的metaParameters设值了 但并没有对additionalParameters设值 在SQLHelper67行处理foreach的时候,__frch开头的属性boundSql.hasAdditionalParameter(prop.getName()) 将会是false. 于是通过反射取值 `else { value = metaObject == null ? null : metaObject.getValue(propertyName); }` 然后便会报org.apache.ibatis.reflection.ReflectionException
SQLHelper.java 121-126行存在BUG
https://api.github.com/repos/thinkgem/jeesite/issues/434/comments
0
2017-09-08T01:50:10Z
2017-09-08T01:50:10Z
https://github.com/thinkgem/jeesite/issues/434
256,118,345
434
[ "thinkgem", "jeesite" ]
jquery-1.8.3.min.js:2 Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://192.168.2.117:8080" from accessing a frame with origin "http://ht.www.sogou.com". Protocols, domains, and ports must match. 搜狗和360浏览器点击归属部门选择框无法弹出,但ie和火狐都正常,好像和跨域有关系,到底是怎么回事?
搜狗和360浏览器点击归属部门选择框无法弹出,好像和跨域有关系,怎么破?
https://api.github.com/repos/thinkgem/jeesite/issues/433/comments
0
2017-09-05T09:25:02Z
2017-09-05T09:25:02Z
https://github.com/thinkgem/jeesite/issues/433
255,213,553
433
[ "thinkgem", "jeesite" ]
jeesite在服务器上增加了nginx后,登录时输入用户名密码后回到了登录界面 nginx配置如下 location / { proxy_pass http://mycluster; proxy_set_header X-Real-IP $remote_addr; } location ~ .*\.(htm|html|gif|jpg|jpeg|png|bmp|swf|ioc|rar|zip|txt|flv|mid|doc|ppt|pdf|xls|mp3|wma)$ { root /usr/local/webapps; expires 30d; } location ~ .*\.(js|css)?$ { root /usr/local/webapps; expires 1h; }
哪位大神知道jeesite配置nginx登录不了的问题
https://api.github.com/repos/thinkgem/jeesite/issues/432/comments
0
2017-08-16T03:29:27Z
2017-08-16T03:29:27Z
https://github.com/thinkgem/jeesite/issues/432
250,501,216
432
[ "thinkgem", "jeesite" ]
找了好几天了,也找不到方法,求大神指教
有没有大神知道,怎么自定义上传的文件名
https://api.github.com/repos/thinkgem/jeesite/issues/431/comments
3
2017-08-11T10:48:12Z
2017-09-04T03:14:17Z
https://github.com/thinkgem/jeesite/issues/431
249,599,797
431
[ "thinkgem", "jeesite" ]
List<HistoricActivityInstance> historicActivityInstances = historyService.createHistoricActivityInstanceQuery() .processInstanceId(processInstanceId) //order by startime asc is not correct. use default order is correct. // .orderByHistoricActivityInstanceStartTime().asc()/*.orderByActivityId().asc()*/ .list(); 这一部分无论是将查出的历史流程实例按什么排序,流程跟踪时红色标注都不准确。
流程跟踪出现问题
https://api.github.com/repos/thinkgem/jeesite/issues/430/comments
2
2017-08-08T14:31:30Z
2017-08-13T13:39:59Z
https://github.com/thinkgem/jeesite/issues/430
248,735,406
430
[ "thinkgem", "jeesite" ]
`<select id="examDetailList{{idx}}_examKind" name="examDetailList[{{idx}}].examKind" class="input-small" > <c:forEach items="${fns:getDictList('exam_kind')}" var="exam_kind"> <option value="${exam_kind.value}" <c:if test="${ row.examKind eq exam_kind.value}"> selected="selected"</c:if> >${row.examKind}${exam_kind.label} </option> </c:forEach> </select>` selected="selected" 为什么不起作用?
主子表的修改from.jsp中子表的下拉框的数据怎么回显?
https://api.github.com/repos/thinkgem/jeesite/issues/429/comments
2
2017-08-02T00:52:44Z
2017-09-22T10:39:26Z
https://github.com/thinkgem/jeesite/issues/429
247,243,026
429
[ "thinkgem", "jeesite" ]
有了解的请@我,谢谢!
任意页面点击刷新,如何只刷新当前页面,而不是回到首页?
https://api.github.com/repos/thinkgem/jeesite/issues/428/comments
1
2017-08-01T07:50:05Z
2017-08-07T07:18:17Z
https://github.com/thinkgem/jeesite/issues/428
246,984,146
428
[ "thinkgem", "jeesite" ]
在使用mssql(2008)生成代码时,GenDataBaseDictDao.xml中的 SELECT t.name AS name,b.value AS comments会报错:com.microsoft.sqlserver.jdbc.SQLServerException: 不支持“variant”数据类型。 改成SELECT t.name AS name,cast(b.[value] as varchar(500)) AS comments后,不再报错。 另外(t.ORDINAL_POSITION * 10) AS sort,isnull(g.[value], '') AS comments, 这个语句我也改成了(t.ORDINAL_POSITION * 10) AS sort,isnull(cast(g.[value] as varchar(500)), '') AS comments,
mssql数据库生成代码报错
https://api.github.com/repos/thinkgem/jeesite/issues/427/comments
0
2017-07-30T03:13:51Z
2017-07-30T03:13:51Z
https://github.com/thinkgem/jeesite/issues/427
246,559,340
427
[ "thinkgem", "jeesite" ]
当界面上有两个<sys:treeselect>时,第二个<sys:treeselect>的数据依赖于第一个树选择控件的结果时,url参数传不进去。 url="/customer/customer/treeData?type=2" ,只能是常量。
jsp界面上<sys:treeselect>组件需要动态传入参数
https://api.github.com/repos/thinkgem/jeesite/issues/425/comments
0
2017-07-05T12:11:44Z
2017-07-05T12:11:44Z
https://github.com/thinkgem/jeesite/issues/425
240,630,693
425
[ "thinkgem", "jeesite" ]
系统用户修改角色的数据范围时,缓存不刷新,需要重启tomcat才生效
https://api.github.com/repos/thinkgem/jeesite/issues/424/comments
1
2017-07-04T06:38:47Z
2017-09-05T08:09:30Z
https://github.com/thinkgem/jeesite/issues/424
240,325,075
424
[ "thinkgem", "jeesite" ]
你好,代码[网站](http://demo.jeesite.com/jeesite)打不开,显示 > 504 Gateway Time-out
demo网站打不开
https://api.github.com/repos/thinkgem/jeesite/issues/423/comments
1
2017-07-04T02:15:15Z
2017-11-27T05:02:22Z
https://github.com/thinkgem/jeesite/issues/423
240,295,067
423
[ "thinkgem", "jeesite" ]
**大神 请问jeesite上传图片的压缩比例 在哪设置的**
大神 请问jeesite上传图片的压缩比例 在哪设置的
https://api.github.com/repos/thinkgem/jeesite/issues/422/comments
2
2017-06-28T05:27:48Z
2017-06-28T07:53:35Z
https://github.com/thinkgem/jeesite/issues/422
239,056,450
422
[ "thinkgem", "jeesite" ]
周末用Idea导入遇到了一些小坑,可能大家会遇到,列出来各位参考。 1.导入项目直接选择Maven导入即可 (虽然Idea集成Maven,但是建议大家下一个maven,用来导入数据库,Idea maven导入数据库后有错误,我也没细看,用idea自身的Maven肯定可以,我用的是自己下的maven) 2.导入后pom jdbc报错不用管,你要是看着不顺眼可以将jdbc错误改成warnning; 3.若是导入后一些类报错‘’Cannot resolve symbol XXX‘’,需要将Idea清理缓存重启即可 File > Invalidated Caches/Restart 4.最后配置下tomcat 将Deployment 添加jeesite:war即可启动,否则启动不了项目
Idea导入注意事项
https://api.github.com/repos/thinkgem/jeesite/issues/421/comments
4
2017-06-26T02:05:25Z
2018-02-07T07:17:55Z
https://github.com/thinkgem/jeesite/issues/421
238,425,054
421
[ "thinkgem", "jeesite" ]
![issue](https://user-images.githubusercontent.com/4971728/27465716-da07aa76-5807-11e7-92c0-739d2dac7052.png)
执行初始化脚本的时候 遇到插入的值为中文的时候报错
https://api.github.com/repos/thinkgem/jeesite/issues/420/comments
2
2017-06-23T03:34:16Z
2017-07-06T07:08:06Z
https://github.com/thinkgem/jeesite/issues/420
238,031,879
420
[ "thinkgem", "jeesite" ]
公司开发一个pc客户端登录用的jeesite的接口,现在想点点击某个功能的时候打开浏览器传一个token自动在浏览器登录,但是会抛出AuthenticationException
Jeesite开发PC客户端和web端同时登入问题
https://api.github.com/repos/thinkgem/jeesite/issues/419/comments
0
2017-06-20T09:14:15Z
2017-06-20T09:14:15Z
https://github.com/thinkgem/jeesite/issues/419
237,143,105
419
[ "thinkgem", "jeesite" ]
idea 导入初始化的时候,pom.xml中jdbc.driver报红线,不知道有人遇到过吗?可否解决下,还是我配置的环境有问题,关键是,项目能起来,不影响;
idea 导入初始化的时候,pom.xml中jdbc.driver报红线
https://api.github.com/repos/thinkgem/jeesite/issues/418/comments
1
2017-06-15T17:53:03Z
2018-01-08T02:45:45Z
https://github.com/thinkgem/jeesite/issues/418
236,267,395
418
[ "thinkgem", "jeesite" ]
Hibernate版没有代码生成功能吗??
https://api.github.com/repos/thinkgem/jeesite/issues/417/comments
1
2017-06-13T05:41:46Z
2017-06-13T05:43:56Z
https://github.com/thinkgem/jeesite/issues/417
235,441,600
417
[ "thinkgem", "jeesite" ]
自动代码生成文档中有这样一段话: ```doc 字典类型:如果字段生成方案为:下拉框、复选框、单选框,则该字段必须指定一个字典类型,字典类型为字段管理中的字典类型。 ``` 我的疑问是 字段生成方案为下拉框,下拉框的值能否来自某一张表数据?
字段生成方案为下拉框,下拉框的值能否来自某一张表数据?
https://api.github.com/repos/thinkgem/jeesite/issues/415/comments
2
2017-05-16T09:20:10Z
2017-07-02T15:47:41Z
https://github.com/thinkgem/jeesite/issues/415
228,966,447
415
[ "thinkgem", "jeesite" ]
我下载了1.2.7的代码,运行Init-db.sh的时候,在build的时候会报错说apache-ant-zip-2.3、ckfinder-2.3、ckfinderplugin-fileeditor-2.3等几个依赖包找不到,貌似maven官方库和阿里库都找不到,而且我发现这几个jar包就在lib包里,是不是作者已经发现这几个包在官方库找不到所以放到lib目录下了?如果是的话建议从pom中把这几个依赖删除,否则build过不了啊。
1.2.7中的pom依赖是不是有问题?
https://api.github.com/repos/thinkgem/jeesite/issues/413/comments
1
2017-05-12T03:16:46Z
2017-10-10T03:31:49Z
https://github.com/thinkgem/jeesite/issues/413
228,177,198
413
[ "thinkgem", "jeesite" ]
我想写一个接口给手机端登录这个系统的用户(是手机客户端经过shiro访问用户表),但是普通的使用shiro无法进入doGetAuthenticationInfo ```java String username = request.getParameter("username"); String password = request.getParameter("password"); Subject user = UserUtils.getSubject(); UsernamePasswordToken token = new UsernamePasswordToken(username, password.toCharArray(), false, StringUtils.getRemoteAddr(request)); token.setRememberMe(false); try { user.login(token); List<Role> rolelist = UserUtils.getRoleList(); User loginuser = UserUtils.getUser(); ``` 请教下要怎样才能进入认证
想写一个shiro登录认证接口,无法进入认证
https://api.github.com/repos/thinkgem/jeesite/issues/412/comments
3
2017-05-05T02:48:54Z
2017-05-05T03:39:53Z
https://github.com/thinkgem/jeesite/issues/412
226,459,850
412
[ "thinkgem", "jeesite" ]
问题描述:先选中列表中的记录,然后再取消选中,最后单击“删除”按钮仍然提示删除对话框。单击“确定”后记录被删除!是不是BUG?
bug:未被选中的表格记录仍然被删除了!
https://api.github.com/repos/thinkgem/jeesite/issues/410/comments
2
2017-04-28T09:19:00Z
2017-05-03T10:06:35Z
https://github.com/thinkgem/jeesite/issues/410
225,024,696
410
[ "thinkgem", "jeesite" ]
如题,研究了半天,也没有看出来,jeesite是如何对系统的异常是如何做出统一处理的.希望知道的,能指点一下.
jeesite平台是如何处理系统中的异常的?
https://api.github.com/repos/thinkgem/jeesite/issues/409/comments
3
2017-04-28T07:38:57Z
2017-05-03T10:15:18Z
https://github.com/thinkgem/jeesite/issues/409
225,003,052
409
[ "thinkgem", "jeesite" ]
代码生成中生成包路径不使用建议模块包(com.thinkgem.jeesite.modules)命名,使用自定义包命名后无法打开页面。
代码生成生成包路径问题
https://api.github.com/repos/thinkgem/jeesite/issues/408/comments
2
2017-04-25T09:18:50Z
2017-11-30T05:45:18Z
https://github.com/thinkgem/jeesite/issues/408
224,073,320
408
[ "thinkgem", "jeesite" ]
如题,此时系统及没有异常日志,也没有错误,该如何调试,才能找到原因所在.
当点击某个菜单链接时,出现页面不存在,该如何调试?
https://api.github.com/repos/thinkgem/jeesite/issues/407/comments
5
2017-04-25T06:57:18Z
2017-06-27T08:23:57Z
https://github.com/thinkgem/jeesite/issues/407
224,039,603
407
[ "thinkgem", "jeesite" ]
jsp页面代码如下: ```jsp <c:forEach items="${page.list}" var="tSearch"> <tr> <td><a href="${ctx}/spzx/tSearch/form?id=${tSearch.id}"> ${tSearch.sKey} </a></td> <td> ${tSearch.sCount} </td> <td> ${tSearch.keypy} </td> <td> ${tSearch.brandId} </td> <td> ${tSearch.restaurantId} </td> <td> ${tSearch.keyszm} </td> <td> <fmt:formatDate value="${tSearch.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/> </td> <td> ${tSearch.remarks} </td> <shiro:hasPermission name="spzx:tSearch:edit"><td> <a href="${ctx}/spzx/tSearch/form?id=${tSearch.id}">修改</a> <a href="${ctx}/spzx/tSearch/delete?id=${tSearch.id}" onclick="return confirmx('确认要删除该搜索吗?', this.href)">删除</a> </td></shiro:hasPermission> </tr> </c:forEach> ``` TSearch实体代码如下: ```java public class TSearch extends DataEntity<TSearch> { private static final long serialVersionUID = 1L; private String sKey; // 搜索关键字 private Integer sCount; // 搜索次数 private String keypy; // 关键字拼音 private Integer brandId; // 品牌id private Integer restaurantId; // 餐厅id private String keyszm; // 关键字首字母 private Integer beginSCount; // 开始 搜索次数 private Integer endSCount; // 结束 搜索次数 ``` 我的实体中分明是有sKey这个字段的,结果它还是说找不到.实在不解,
javax.el.PropertyNotFoundException: Property 'sKey' not found on type com.thinkgem.jeesite.modules.spzx.entity.TSearch
https://api.github.com/repos/thinkgem/jeesite/issues/406/comments
4
2017-04-25T02:39:59Z
2017-04-25T06:02:00Z
https://github.com/thinkgem/jeesite/issues/406
224,003,429
406
[ "thinkgem", "jeesite" ]
在我要生成的entity中有一个字段 ```java private String enviroScore; // 环境评分 ``` 在配置表的这个步骤中,对于该字段我的选择是"查询方式"为“Between”,字段生成方案为文本框,生成的mybatis,java文件符合我的预期,代码片段如下 ```java private String enviroScore; // 环境评分 private String beginEnviroScore; // 开始 环境评分(接收form表单的查询条件值) private String endEnviroScore; // 结束 环境评分(接收form表单的查询条件值) ``` ```xml <if test="beginEnviroScore != null and endEnviroScore != null and beginEnviroScore != '' and endEnviroScore != ''"> AND a.enviro_score BETWEEN #{beginEnviroScore} AND #{endEnviroScore} </if> ``` 而对应的jsp页面查询字段生成的html元素就不对了. ```html <li><label>环境评分:</label> <form:input path="enviroScore" htmlEscape="false" class="input-medium"/> </li> ``` 我期待生成的代码应该是2个输入框.如下 ```html <li><label>开始环境评分:</label> <form:input path="beginEnviroScore" htmlEscape="false" class="input-medium"/> </li> <li><label>结束环境评分:</label> <form:input path="endEnviroScore" htmlEscape="false" class="input-medium"/> </li> ``` 其实我只需手动修改就好了,工作量很小,只是我不明白,为什么生成的不符合预期,是我哪里操作不对吗?想知道原因.谢谢.
关于代码生成器第二步配置表的疑问
https://api.github.com/repos/thinkgem/jeesite/issues/405/comments
0
2017-04-24T09:37:58Z
2017-09-13T04:52:52Z
https://github.com/thinkgem/jeesite/issues/405
223,759,181
405
[ "thinkgem", "jeesite" ]
自动生成代码如下: ```java @RequiresPermissions("spzx:tRestaurant:view") @RequestMapping(value = {"list", ""}) public String list(TRestaurant tRestaurant, HttpServletRequest request, HttpServletResponse response, Model model) { Page<TRestaurant> page = tRestaurantService.findPage(new Page<TRestaurant>(request, response), tRestaurant); model.addAttribute("page", page); return "modules/spzx/tRestaurantList"; } ``` 可是到达tRestaurantList.jsp页面时,就抛出这个错误,添加一行代码,如下: ```java @RequiresPermissions("spzx:tRestaurant:view") @RequestMapping(value = {"list", ""}) public String list(TRestaurant tRestaurant, HttpServletRequest request, HttpServletResponse response, Model model) { Page<TRestaurant> page = tRestaurantService.findPage(new Page<TRestaurant>(request, response), tRestaurant); model.addAttribute("page", page); model.addAttribute("tRestaurant",tRestaurant);//手动添加的一行代码 return "modules/spzx/tRestaurantList"; } ``` 就好了,我的疑问是,系统中的最开始就有的代码,如UserController.java: ```java @RequiresPermissions("sys:user:view") @RequestMapping(value = {"list", ""}) public String list(User user, HttpServletRequest request, HttpServletResponse response, Model model) { Page<User> page = systemService.findUser(new Page<User>(request, response), user); model.addAttribute("page", page); return "modules/sys/userList"; } ``` 也没有添加这行代码,却没有问题,请问作者这是什么原因?
either BindingResult nor plain target object for bean name 'tRestaurant' available as request attribute
https://api.github.com/repos/thinkgem/jeesite/issues/404/comments
10
2017-04-21T09:38:17Z
2017-04-26T09:00:51Z
https://github.com/thinkgem/jeesite/issues/404
223,331,761
404
[ "thinkgem", "jeesite" ]
数据导出功能,在firfox下文件名中文乱码,在chrome下正常
excel导出中文名乱码
https://api.github.com/repos/thinkgem/jeesite/issues/402/comments
3
2017-04-19T06:58:08Z
2018-02-05T09:27:51Z
https://github.com/thinkgem/jeesite/issues/402
222,638,378
402
[ "thinkgem", "jeesite" ]
严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jeesite]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger; at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2583) at java.lang.Class.getDeclaredFields(Class.java:1916) at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationFilterAnnotations(WebAnnotationSet.java:105) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:64) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:334) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:774) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5053) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ... 10 more Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157) ... 24 more 四月 17, 2017 10:54:28 上午 org.apache.catalina.startup.HostConfig deployDescriptor 严重: Error deploying configuration descriptor D:\Program Files\apache-tomcat-8.0.18\conf\Catalina\localhost\jeesite.xml java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/jeesite]] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:728) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581) at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 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)
按照要求来配置的为什么还启动时报 HTTP Status 404 - /jeesite/
https://api.github.com/repos/thinkgem/jeesite/issues/401/comments
1
2017-04-17T02:57:14Z
2017-12-29T03:13:05Z
https://github.com/thinkgem/jeesite/issues/401
222,054,978
401
[ "thinkgem", "jeesite" ]
Hi @think-gem Is jeesite support I18N? I run it with tomcat but all string in Chinese character and i don't understand! If not, how can i add I18N?
I18n support
https://api.github.com/repos/thinkgem/jeesite/issues/399/comments
2
2017-04-07T12:22:21Z
2018-02-05T09:28:51Z
https://github.com/thinkgem/jeesite/issues/399
220,198,429
399
[ "thinkgem", "jeesite" ]
1.获取不到Act中的Task,返回null。 2. 获取不到Act中的taskId,taskName,taskDefKey 属性值。 不知是框架问题还是我自己业务流程代码有错?请教!
Activity 工作流获取不到Task对象
https://api.github.com/repos/thinkgem/jeesite/issues/398/comments
3
2017-04-06T01:12:38Z
2017-11-30T05:46:53Z
https://github.com/thinkgem/jeesite/issues/398
219,759,223
398
[ "thinkgem", "jeesite" ]
org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
在linux的tomcat中启动项目大部份服务器启动报错startInternal One or more listeners failed to start
https://api.github.com/repos/thinkgem/jeesite/issues/397/comments
3
2017-04-01T12:00:18Z
2017-04-26T15:34:29Z
https://github.com/thinkgem/jeesite/issues/397
218,691,398
397
[ "thinkgem", "jeesite" ]
想使用jquery 中的append方法把数据动态渲染到select标签里,却渲染不成。返回有数据就是页面加载不了。求解!
jquery append 无法渲染到页面
https://api.github.com/repos/thinkgem/jeesite/issues/396/comments
2
2017-04-01T07:46:57Z
2017-04-06T01:05:00Z
https://github.com/thinkgem/jeesite/issues/396
218,678,126
396