问题

2018-08-21 13:42:14.796  WARN 15252 --- [ost-startStop-1] o.a.tomcat.util.scan.StandardJarScanner  : Failed to scan [file:/D:/apache-maven-3.0.5/jar/org/apache/xmlgraphics/batik-js/1.7/xbean.jar] from classloader hierarchyjava.io.FileNotFoundException: D:\apache-maven-3.0.5\jar\org\apache\xmlgraphics\batik-js\1.7\xbean.jar (系统找不到指定的文件。)

解决

由于springboot项目自带tomcat插件,冲突导致,检查pom.xml文件找到以下内容

<!-- tomcat 的支持.--><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 o.a.tomcat.util.scan.StandardJarScanner : Failed to scan [file:/D:/apache-maven-3.0.5相关推荐

  1. springboot maven 打包失败 Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2

    maven 打包失败 一.问题描述: idea打包springboot项目,控制台提示: Failed to execute goal org.apache.maven.plugins:maven-s ...

  2. maven项目中Tomcat启动失败:Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run

    maven项目中Tomcat启动失败:Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:run (defa ...

  3. springboot打jar包的问题:failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:complit

    本文章纯属个人工作中遇到的问题,通过网上浏览其他文章以后自己组织语言编写. 问题:failed to execute goal org.apache.maven.plugins:maven-compi ...

  4. 编译springboot提示Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1

    刚开始接触Spring boot,发现它的起步依赖很方便,不用配置那么多独立的maven依赖,还有自动配置等功能,非常方便,刚开始学,了解的不多,maven编译报错Failed to execute ...

  5. Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile)

    完整的错误信息: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile ( ...

  6. 【maven install报错】Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war

    maven install报错如下: [INFO] Scanning for projects... [INFO] Downloading: http://xxx.xx.xx.x:xxxx/nexus ...

  7. Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (checkstyle-vali

    今天在springboot学习中 用idea打包时出现的一个问题, Failed to execute goal org.apache.maven.plugins:maven-checkstyle-p ...

  8. Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-reso

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (defa ...

  9. [雷]单元测试报错--Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test

    项目场景: SpringBoot集成Mybatis-Plus时,进行单元测试时报错 问题描述: package com.mybatisplusstudty.mapper;import org.juni ...

最新文章

  1. 树——常用的数据结构
  2. UA MATH566 统计理论8 用Pivot构造置信区间
  3. 运维太忙?那是你还没掌握 Ansible !
  4. pandas map applymap apply方法详解
  5. laravel访问路由在nginx服务器上无法处理
  6. 用matlab如何画六边形,matlab怎样直接画出六边形
  7. delphi mysql5_Delphi7连接MySql5.5.15
  8. OCR文本检测模型—CTPN
  9. 智安网络丨漫画人工智能:人工智能简史
  10. oracle ebs 采购入库,ORACLE EBS/ERP 采购库存模块分录
  11. eclipse不自动弹出提示
  12. Nacos 原理 Jraft Distro Grpc 持续跟新中...
  13. 文本挖掘系列之文本信息抽取
  14. Swift 3DTouch开发 自定义ShortcutItems
  15. 单用户计算机安全不包括什么,电子科技大20秋《计算机网络安全》在线作业1参考...
  16. html怎样写出x的平方,x的平方怎么打出来
  17. 移动端开发(学好移动端这一篇就够啦)
  18. python实现RFM建模
  19. 毕业答辩PPT制作和讲述要点
  20. 傅立叶变换与小波分析(浅析)

热门文章

  1. Dive into Vue.js
  2. 读 Eric S. Raymond 大教堂与市集
  3. 多边形交叉区域计算面积_使用GPC或Clipper计算多边形交叉区域
  4. SE2431L-R高性能 完全集成的RF前端模块 ZigBee 低功耗 蓝牙1.0
  5. 01语言基础-系统模块和文件操作20220428
  6. 2022年c++的520答案
  7. linux是专业的gis系统,首款支持红旗Linux操作系统的GIS基础平台问世
  8. Oauth2 中 access_token和refresh_token的过期时间
  9. WordPress能承载多大的数据?文章十万百万能承载吗?
  10. 「Feign-Http」 Feign请求http接口