java bug 求解决,springboot框架

Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/classmate/TypeResolver

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverProperties' defined in class path resource [org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class]: Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/fasterxml/classmate/TypeResolver

Caused by: java.lang.NoClassDefFoundError: com/fasterxml/classmate/TypeResolver

org.apache.catalina.LifecycleException: 无法启动组件[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/kill]]

有人可以看看是什么问题吗,解决了有奖励

可能缺少com.fasterxml.classmate包,导入classmate-1.5.1.jar 试试,maven依 赖参考:

<!-- https://mvnrepository.com/artifact/com.fasterxml/classmate -->
<dependency>
    <groupId>com.fasterxml</groupId>
    <artifactId>classmate</artifactId>
    <version>1.5.1</version>
</dependency>

这错误是缺少包。网上搜相应类对应的包,下载放到项目依赖中。
FeatureAndProperties对应包为jersey-core-1.19.jar.
Application对应包为jsr311-api-1.1.1.jar

https://blog.csdn.net/u013425841/article/details/107010858