错误, Failed to introspect annotated methods on class org.springframework.boot.web.servlet.support.SpringBootServletInitializer        谨记谨记,项目启动没成功,先看看你的springboot项目里面有没有jar包没导入好的,接了一个有modbus4j的,这个jar包非得手动导入,搞半天发现是jar没导入好

2.确实还有另一种情况:改成compile

compile:默认值,表示当前依赖包,要参与当前项目的编译,后续测试,运行时,打包
provided:代表在编译和测试的时候用,运行,打包的时候不会打包进去
test:表示当前依赖包只参与测试时的工作:比如Junit
runtime:表示当前依赖包只参与运行周期,其他跳过了
system:从参与度和provided一致,不过被依赖项不会从maven远程仓库下载,而是从本地的系统拿。需要systemPath属性来定义路径
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-tomcat</artifactId><!--<scope>provided</scope>--><scope>compile</scope>
</dependency>

错误, Failed to introspect annotated methods on class org.springframework.boot.web.servlet.support.Spr相关推荐

  1. Failed to introspect annotated methods on class 异常

    用@enable时出现错误 Failed to introspect annotated methods on class 很可能是库和springboot版本不一致 转载于:https://www. ...

  2. Failed to introspect Class druid问题

    在启动一个从git上下载下的springboot2.0项目后,启动时报如下错误 java.lang.IllegalStateException: Error processing condition ...

  3. eureka client无法启动,java.lang.IllegalStateException: Failed to introspect Class

    报错异常: java.lang.IllegalStateException: Failed to introspect Class [org.springframework.cloud.netflix ...

  4. Failed to introspect Class [com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration]

    Coused by :Failed to introspect Class [com.github.pagehelper.autoconfigure.PageHelperAutoConfigurati ...

  5. Failed to introspect Class [XXX] from ClassLoader

    出差到客户现场,部署环境.结果之前好好程序到了这边就突然无法启动,报错如下 2019-06-26 11:37:47 [main] WARN  [org.springframework.boot.web ...

  6. Failed to introspect Class...from ClassLoader...java.lang.ClassNotFoundException,IDEA启动没问题,jar包启动报错

    最近我引入了一个本地的jar包,引发了一系列的误导错误,特此记录. 首先我在IDEA上直接运行SpringBoot项目没有任何问题,可是当打包成jar包运行时,发生了以下错误,我本能的认为是类加载器的 ...

  7. ava.lang.IllegalStateException: Failed to introspect Class [xxxxxxxxImpl] from ClassLoader-Autowired

    1.去掉相关类 如RestClientSupport 2.引入依赖(通过bns,去查已有相关依赖的其他项目.jar包的pom.xml中有版本号) Caused by: java.lang.ClassN ...

  8. SpringBoot微服务项目报错:Failed to process import candidates for configuration class [springfox.boot...

    具体错误: [main] ERROR org.springframework.boot.SpringApplication - Application run failed org.springfra ...

  9. Failed to introspect Class [org.springframework.cloud.gateway.config.GatewayAutoConfiguration$NettyC

    今天碰到一个版本的问题,搭建gateway.idea运行.maven工程来的. 起初运行一直卡在这,无法进入SpringBoot启动的界面 java.lang.IllegalStateExceptio ...

  10. 错误: Failed to introspect Class [com.baomidou.mybatisplus.autoconfiguration] from ClassLoader

    在用IDEA创建SpringBoot+mybatis-plus项目时,启动时报错. #具体错误如下 java.lang.IllegalStateException: Failed to introsp ...

最新文章

  1. 了解 Apache ActiveMQ
  2. PHPExcel设置自动列宽
  3. rabbitMQ 实战 高效部署分布式消息队列 读书笔记
  4. 解决SwipeRefreshLayout与Banner滑动冲突
  5. java多线程意义_Java多线程学习之多线程的概念及意义
  6. java中数据成员的初始化问题
  7. 406.根据身高重建队列(JavaScript)
  8. unix环境高级编程 pdf_Unix环境编程-详解coredump
  9. 机器人赛文_动漫中机器人赛文与真正的赛文奥特曼相比,谁更厉害呢?
  10. MariaDB忘记root密码
  11. 软件测试与软件开发比较?
  12. Python语言为什么被称为高级程序设计语言?
  13. linux 驱动移植实例,linux-2.6.22.6—驱动移植全记录
  14. 银行电话营销数据分析
  15. vmare平台上esxi主机,搭建虚拟机ping不通网关
  16. matplotlib中线宽linewidth的默认值是多少?如何查看?如何设置/设定?如何修改?
  17. unity 安卓apk安装后的文件路径
  18. 安卓集成facebook_设计和编码集成的Facebook应用程序:理论
  19. Testin云测试平台
  20. linux操作系统2试题,linux操作系统试题

热门文章

  1. 【数字图像处理】图像感兴趣区域与图像放大与缩小
  2. Cocos野兽派 | 如何创造真正的优秀游戏
  3. 软件测试周刊(第63期):凡是持久的,必是温和的与可持续的。
  4. java seek_java中seek()的用法,seek和seekfor有什么区别
  5. apache mediawiki 安装_mediawiki的安装
  6. oracle create table not null,oracle – 不能在CREATE TABLE中使用内联约束
  7. App StartingWindow分析
  8. Session的活化与钝化
  9. 新建word 无法切换输入法_为什么word文件中无法切换输入法?
  10. win7计算机excel快捷键,excel快捷键大全 公式