原因:类的构造函数有其它参数。。。
月度归档: 2021 年 3 月
SpringBoot启动报错
Exception in thread “main” java.lang.AbstractMethodError: org.springframework.boot.context.config.ConfigFileApplicationListener.supportsSourceType(Ljava/lang/Class;)Z
原因:springboot依赖版本有冲突,统一版本后解决。
Maven构建错误
打包提示:Error assembling WAR: Problem creating war: Execution exception (and the archive is probably corrupt but I could not delete it)
原因:用错了JDK版本,需要64位版本,用了32位。改为64位就正常。