用自己压缩的mysql解压后,导入sql后安装程序报以下错误。找不到原因,同事用yum安装
的mariadb启动程序,却没有报错。
[ERROR][2020-06-11 18:23:28.068][http-nio-5001-exec-1][wsweb][2224][2224][LOG_POINT]Servlet.service() for servlet [dispatcherServlet] in context with path [/BaaS-Node-Manager] threw exception [Handler dispatch failed; nested exception is java.lang.InternalError: java.lang.reflect.InvocationTargetException] with root cause
java.lang.NullPointerException: null后面发现安装一次mariadb后再卸载mariadb,再用自己压缩解压的数据库,导入sql然后程序就不报错了,不清楚什么原因,先记在这里,学无止境。
yum -y install mariadb rpm -qa|grep mariadb rpm -e --nodeps mariadb-libs-5.5.65-1.el7.x86_64 mariadb-server-5.5.65-1.el7.x86_64 mariadb-5.5.65-1.el7.x86_64 mariadb-embedded-5.5.65-1.el7.x86_64 mariadb-test-5.5.65-1.el7.x86_64 mariadb-embedded-devel-5.5.65-1.el7.x86_64 mariadb-devel-5.5.65-1.el7.x86_64 mariadb-bench-5.5.65-1.el7.x86_64