spring boot遇到的异常1
来源:互联网 发布:新人学python还是php 编辑:程序博客网 时间:2024/06/06 00:05
. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.1.RELEASE)2017-08-08 10:45:28.301 INFO 12544 --- [ main] com.ceigle.Chapter1Application : Starting Chapter1Application on ceigle-IT2 with PID 12544 (D:\myeclipsework\springboot_chapter1\target\classes started by Murvoid in D:\myeclipsework\springboot_chapter1)2017-08-08 10:45:28.303 INFO 12544 --- [ main] com.ceigle.Chapter1Application : No active profile set, falling back to default profiles: default2017-08-08 10:45:28.358 INFO 12544 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@7518e442: startup date [Tue Aug 08 10:45:28 CST 2017]; root of context hierarchy2017-08-08 10:45:29.088 INFO 12544 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration' of type [class org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2017-08-08 10:45:29.152 INFO 12544 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'validator' of type [class org.springframework.validation.beanvalidation.LocalValidatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)2017-08-08 10:45:29.395 WARN 12544 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.tomcat.util.scan.StandardJarScanner.setJarScanFilter(Lorg/apache/tomcat/JarScanFilter;)V2017-08-08 10:45:29.404 ERROR 12544 --- [ main] o.s.boot.SpringApplication : Application startup failedorg.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org.apache.tomcat.util.scan.StandardJarScanner.setJarScanFilter(Lorg/apache/tomcat/JarScanFilter;)Vat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:137) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:536) ~[spring-context-4.3.6.RELEASE.jar:4.3.6.RELEASE]at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) [spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370) [spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.SpringApplication.run(SpringApplication.java:314) [spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.SpringApplication.run(SpringApplication.java:1162) [spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.SpringApplication.run(SpringApplication.java:1151) [spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at com.ceigle.Chapter1Application.main(Chapter1Application.java:17) [classes/:na]Caused by: java.lang.NoSuchMethodError: org.apache.tomcat.util.scan.StandardJarScanner.setJarScanFilter(Lorg/apache/tomcat/JarScanFilter;)Vat org.springframework.boot.context.embedded.tomcat.SkipPatternJarScanner$Tomcat8TldSkipSetter.setSkipPattern(SkipPatternJarScanner.java:106) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.tomcat.SkipPatternJarScanner.setPatternToTomcat8SkipFilter(SkipPatternJarScanner.java:61) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.tomcat.SkipPatternJarScanner.<init>(SkipPatternJarScanner.java:56) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.tomcat.SkipPatternJarScanner.apply(SkipPatternJarScanner.java:87) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.prepareContext(TomcatEmbeddedServletContainerFactory.java:209) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory.getEmbeddedServletContainer(TomcatEmbeddedServletContainerFactory.java:178) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.createEmbeddedServletContainer(EmbeddedWebApplicationContext.java:164) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:134) ~[spring-boot-1.5.1.RELEASE.jar:1.5.1.RELEASE]... 8 common frames omitted
加入了eclipse的tomcat导致tomcat版本冲突
可查看C:\Users\用户.m2\repository\org\springframework\boot\spring-boot-dependencies\1.5.1.RELEASE\spring-boot-dependencies-1.5.1.RELEASE.pom中已经有了tomcat依赖阅读全文
0 0
- spring boot遇到的异常1
- spring boot 遇到的异常2
- spring boot 遇到的坑
- spring boot 遇到的坑
- Spring Demo遇到的异常
- spring boot跳转jsp遇到的问题
- spring boot开发遇到的一些坑
- spring boot运行中遇到的问题
- 初学Spring Boot遇到的启动问题
- Spring boot遇到的thymeleaf一些问题
- spring boot jar部署遇到的问题
- Spring Boot Web应用的异常处理
- spring boot 所有的Controller异常捕获
- Spring Boot 统一异常处理的案例
- spring boot 异常处理
- spring boot 异常处理
- spring boot 异常处理
- spring boot 异常处理
- 如何创建最小(大)堆(插入、删除)
- 输入两个字符串,从第一个字符串中,删除第二字字符串中的所有字符。
- 欧几里得求最大公约数
- 暑期ssh框架spring学习笔记一
- JQ文字向上轮播
- spring boot遇到的异常1
- Manifest合并失败几种原因以及解决方法
- 36day 新浪微博(CELL时间 来源)
- java高并发的解决方案
- 闪屏页实现
- Map转bean多类型转换,bean转map
- python中的@property(get与set作用
- systemd-logind导致ssh登录缓慢解决办法
- python爬虫遇到换行