-
-
王爽 小试身手Lv3
发表于2022-4-12 13:23
悬赏100
已解决
楼主
注册完一启动就报错了,不知道为啥,换了浏览器也不好使,求大佬帮忙,急!!


最佳答案
本帖最后由 颜值区总司令 于 2022-4-12 17:51 编辑
(6)MySQL环境下,初始化插件失败
提示如下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_pluginmgr' defined in file [/var/lib/tomcat/webapps/irpt/WEB-INF/classes/com/esen/platform/plugin/ActivexPluginsManager.class]: Invocation of init method failed; nested exception is com.esen.exception.RuntimeException4I18N: 初始化插件管理器失败!
解决步骤:
[mysqld]段下面添加max_allowed_packet =16M,添加完毕重启MySQL服务器。Windows修改my.ini,linux修改/etc/my.cnf
[mysqld]
max_allowed_packet =20M
7个回答
部署手册里有解决方案哈 https://bbs.esensoft.com/thread-131905-1-1.html
王爽 发表于 2022-4-12 14:36
版本是5.2.1,这个修改的方法我没看懂,这个是要在哪个文件里改啊
简单来说就是调整mysql的配置文件
您可以百度下max_allowed_packet的设置方法哈
本帖最后由 颜值区总司令 于 2022-4-12 17:51 编辑
(6)MySQL环境下,初始化插件失败
提示如下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_pluginmgr' defined in file [/var/lib/tomcat/webapps/irpt/WEB-INF/classes/com/esen/platform/plugin/ActivexPluginsManager.class]: Invocation of init method failed; nested exception is com.esen.exception.RuntimeException4I18N: 初始化插件管理器失败!
解决步骤:
[mysqld]段下面添加max_allowed_packet =16M,添加完毕重启MySQL服务器。Windows修改my.ini,linux修改/etc/my.cnf
[mysqld]
max_allowed_packet =20M