今天从SVN上把系统导入本地发生了异常,问题如下:

  • java.math.BigInteger cannot be cast to java.lang.Long

百度一番后发现是因为使用Mysql8.0后依然使用5.0的Jar包连接导致直接报错java.math.BigInteger cannot be cast to java.lang.Long,在网上直接下载了最新版的mysql的安装包,然后更新Jar包,在系统中重新build   path后,按照下图的方式将Mysql  8.0的jar包导入到库中,重新运行tomcat.

在tomcat发布项目遇到的问题

  • The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.

重新提交后报的时间区域问题,将时区换为当前时区即可,用root登录后,按照如下界面进行操作即可。

在tomcat发布项目遇到的问题

 

相关文章:

  • 2021-04-03
  • 2022-12-23
  • 2021-11-23
  • 2022-01-01
  • 2021-05-30
  • 2022-01-08
  • 2022-12-23
  • 2021-04-09
猜你喜欢
  • 2021-04-29
  • 2021-10-19
  • 2021-07-17
  • 2021-12-08
  • 2021-10-11
  • 2021-05-30
  • 2021-07-29
相关资源
相似解决方案