项目系统启动问题
1、启动项目报无法加载某个类 是因为某个类是由高版本的jdk编译的
Caused by: java.lang.UnsupportedClassVersionError: com/inspur/utils/scheduler/DynamicSchedulerConfiguration : Unsupported major.minor version 52.0 (unable to load class [com.inspur.utils.scheduler.DynamicSchedulerConfiguration])
虽然安装的jdk版本是对的 但是要修改tomcat下使用的jdk tomacat默认用的jdk是1.7的
2.
系统启动报这个错需要修改配置文件
ERROR 2021-05-28 15:20:20,800 Heal-Session-Thread com.google.code.yanf4j.core.impl.AbstractController - Reconnect to 192.168.6.52:11211 fail
ERROR 2021-05-28 15:20:24,581 localhost-startStop-1 org.springframework.web.context.ContextLoader - Context initialization failed
java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:21689"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
1、查询主机名 hostnamectl 或 hostname
2、修改主机名 (1) hostnamectl set-hostname DZZZ_1
(2) vi /etc/sysconfig/network
(例如 NETWORKING=yes
HOSTNAME=DZZZ_1)
(3)配置主机名 更新vi /etc/hosts
例如:127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.161.53.180 DZZZ_1