springboot启动报错 Failed to scan.....derbyLocale_zh_TW.jar异常解决
程序员文章站
2022-03-15 23:04:00
...
最近在调试Springboot项目的时候,发现每次启动控制台都会打印这样的一个异常信息:
其中,最明显的一个信息是:
Failed to scan.....derbyLocale_zh_TW.jar
出现这个问题的原因是由于Springboot项目中自带的tomcat插件,冲突导致
解决方案:
检查pom.xml文件中找到有以下内容,删除,重启Spirgboot即可。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope>
</dependency>
那么,你的问题解决了么~
推荐阅读
-
springboot启动报错Failed to configure a DataSource: 'url' attribute is not specified
-
apache启动报错:the requested operation has failed解决办法
-
Springboot启动报错时实现异常定位
-
nginx启动报错 bind() to 0.0.0.0:80 failed如何解决?
-
Eclipse 解决无法启动报错(两种方法):Failed to create the Java Virtual Machine
-
Eclipse 解决无法启动报错(两种方法):Failed to create the Java Virtual Machine
-
The nexus service was launched, but failed to start. --nexus启动报错完美解决
-
springboot集成springCloud中gateway时启动报错的解决
-
idea中springboot用外部tomcat启动报错java.lang.NoClassDefFoundError: javax/el/ELManager的解决办法
-
springboot启动报错Failed to configure a DataSource: 'url' attribute is not specified