springboot吧 关注:5,108贴子:16,513
  • 9回复贴,共1

springboot启动问题

只看楼主收藏回复



IP属地:江苏1楼2019-06-27 19:30回复
    Exception encountered during context initialization -
    cancelling refresh attempt: org.springframework.context.ApplicationContextException:
    Unable to start embedded container;
    nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tomcatEmbeddedServletContainerFactory' defined in class path resource [org/springframework/boot/autoconfigure/web/EmbeddedServletContainerAutoConfiguration$EmbeddedTomcat.class]: Initialization of bean failed;
    nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration': Injection of autowired dependencies failed;
    nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.boot.autoconfigure.web.ServerProperties org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration.properties;
    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


    IP属地:江苏2楼2019-06-27 19:31
    回复
      广告
      立即查看
      有没有大佬帮小弟看看啊,笔记本上死活启动不了,但是台式机启动这很正常。实在搞不懂哪块的问题


      IP属地:江苏3楼2019-06-27 19:32
      回复
        eclipse版本的话是Version: Photon Release (4.8.0)


        IP属地:江苏4楼2019-06-27 19:32
        回复
          哭唧唧哭唧唧


          IP属地:江苏5楼2019-06-27 19:33
          回复
            解决了丢人


            IP属地:江苏来自Android客户端6楼2019-06-27 23:38
            收起回复
              怎么解决的


              IP属地:江苏来自手机贴吧7楼2019-07-30 11:57
              收起回复