mysql-Mysql做了主从配置之后,启动项目就出现异常了。提示Hibernate什么的,不知道这么回事

php中文网
发布: 2016-06-06 09:33:58
原创
1179人浏览过

mysqlhibernate运营

2016-02-25 13:38:51,353 [localhost-startstop-1] [test.resourcebuilder] [info] - hibernate operation: could not insert: [accessresources.btnandmenu]; uncategorized sqlexception for sql [insert into btn_and_menu (version, action, click, code, controller, icon, is_menu, label, link, parent_id, show_order, sys_type, title) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]; sql state [hy000]; error code [1665]; cannot execute statement: impossible to write to binary log since binlog_format = statement and at least one table uses a storage engine limited to row-based logging. innodb is limited to row-logging when transaction isolation level is read committed or read uncommitted.; nested exception is java.sql.sqlexception: cannot execute statement: impossible to write to binary log since binlog_format = statement and at least one table uses a storage engine limited to row-based logging. innodb is limited to row-logging when transaction isolation level is read committed or read uncommitted.
2016-02-25 13:38:51,435 [localhost-startstop-1] [test.resourcebuilder] [info] - [controller:ordersub, action:index, label:运营日志, dir:/images/icons/blueberry, img:logmgr.png, plugin:scaffolding]资源项初始化失败
2016-02-25 13:38:51,537 [localhost-startstop-1] [test.resourcebuilder] [info] - [controller:ordersub, action:index, label:客户反馈, dir:/images/icons/blueberry, img:comment.png, plugin:scaffolding]资源项初始化失败
2016-02-25 13:38:51,636 [localhost-startstop-1] [test.resourcebuilder] [info] - [controller:driversignlog, action:index, label:车主签到, dir:/images/icons/blueberry, img:logmgr.png, plugin:scaffolding]资源项初始化失败
2016-02-25 13:38:51,707 [localhost-startstop-1] [org.hibernate.assertionfailure] [error] - an assertion failure occured (this may indicate a bug in hibernate, but is more likely due to unsafe use of the session)
org.hibernate.assertionfailure: null id in accessresources.btnandmenu entry (don't flush the session after an exception occurs)
at org.grails.datastore.gorm.gormstaticapi$_methodmissing_closure2.docall(gormstaticapi.groovy:101)
at test.resourcebuilder$_btnconfiganalyer_closure1.docall(resourcebuilder.groovy:21)
at test.resourcebuilder.btnconfiganalyer(resourcebuilder.groovy:20)
at accessresources.btnandmenuservice$_$tt__initfromcontroller_closure5.docall(btnandmenuservice.groovy:87)
at accessresources.btnandmenuservice.$tt__initfromcontroller(btnandmenuservice.groovy:83)
at rbacbootstrap$_closure1.docall(rbacbootstrap.groovy:13)
at grails.util.environment.evaluateenvironmentspecificblock(environment.java:308)
at grails.util.environment.executeforenvironment(environment.java:301)
at grails.util.environment.executeforcurrentenvironment(environment.java:277)
at java.util.concurrent.executors$runnableadapter.call(executors.java:471)
at java.util.concurrent.futuretask.run(futuretask.java:262)
at java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145)
at java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615)
at java.lang.thread.run(thread.java:745)
2016-02-25 13:38:51,713 [localhost-startstop-1] [test.resourcebuilder] [info] - null id in accessresources.btnandmenu entry (don't flush the session after an exception occurs)
2016-02-25 13:38:51,717 [localhost-startstop-1] [org.hibernate.assertionfailure] [error] - an assertion failure occured (this may indicate a bug in hibernate, but is more likely due to unsafe use of the session)
org.hibernate.assertionfailure: null id in accessresources.btnandmenu entry (don't flush the session after an exception occurs)
at org.grails.datastore.gorm.gormstaticapi$_methodmissing_closure2.docall(gormstaticapi.groovy:101)
at test.resourcebuilder$_btnconfiganalyer_closure1.docall(resourcebuilder.groovy:21)
at test.resourcebuilder.btnconfiganalyer(resourcebuilder.groovy:20)
at accessresources.btnandmenuservice$_$tt__initfromcontroller_closure5.docall(btnandmenuservice.groovy:87)
at accessresources.btnandmenuservice.$tt__initfromcontroller(btnandmenuservice.groovy:83)
at rbacbootstrap$_closure1.docall(rbacbootstrap.groovy:13)
at grails.util.environment.evaluateenvironmentspecificblock(environment.java:308)
at grails.util.environment.executeforenvironment(environment.java:301)
at grails.util.environment.executeforcurrentenvironment(environment.java:277)
at java.util.concurrent.executors$runnableadapter.call(executors.java:471)
at java.util.concurrent.futuretask.run(futuretask.java:262)
at java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145)
at java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615)
at java.lang.thread.run(thread.java:745)
2016-02-25 13:38:51,719 [localhost-startstop-1] [test.resourcebuilder] [info] - null id in accessresources.btnandmenu entry (don't flush the session after an exception occurs)
2016-02-25 13:38:51,722 [localhost-startstop-1] [org.hibernate.assertionfailure] [error] - an assertion failure occured (this may indicate a bug in hibernate, but is more likely due to unsafe use of the session)
org.hibernate.assertionfailure: null id in accessresources.btnandmenu entry (don't flush the session after an exception occurs)
at org.grails.datastore.gorm.gormstaticapi$_methodmissing_closure2.docall(gormstaticapi.groovy:101)
at test.resourcebuilder$_btnconfiganalyer_closure1.docall(resourcebuilder.groovy:21)
at test.resourcebuilder.btnconfiganalyer(resourcebuilder.groovy:20)
at accessresources.btnandmenuservice$_$tt__initfromcontroller_closure5.docall(btnandmenuservice.groovy:87)
at accessresources.btnandmenuservice.$tt__initfromcontroller(btnandmenuservice.groovy:83)
at rbacbootstrap$_closure1.docall(rbacbootstrap.groovy:13)
at grails.util.environment.evaluateenvironmentspecificblock(environment.java:308)
at grails.util.environment.executeforenvironment(environment.java:301)
at grails.util.environment.executeforcurrentenvironment(environment.java:277)
at java.util.concurrent.executors$runnableadapter.call(executors.java:471)
at java.util.concurrent.futuretask.run(futuretask.java:262)
at java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1145)
at java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:615)
at java.lang.thread.run(thread.java:745)

登录后复制
最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号