1.使用mysql数据库时,产品初始化插件失败
提示如下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platform_pluginmgr' defined in file [/var/lib/tomcat/webapps/qbi/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 =20M,添加完毕重启MySQL服务器。Windows修改my.ini,linux修改/etc/my.cnf
[mysqld]
max_allowed_packet =20M
另外还需要加上表名不区分大小写参数(该参数存在风险,修改后原库数据无法使用,建议在安装新数据库后修改)
Lower_case_table_names=1
请先登录