zoukankan      html  css  js  c++  java
  • spring boot 启动问题

    spring boot启动报错误

    Thread-2] s.c.a.AnnotationConfigApplicationContext : Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@7ba18f1b: startup date [Wed Sep 06 10:44:37 CST 2017]; root of context hierarchy
    2017-09-06 10:44:39.667 INFO 14992 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown

    这个问题是因为pom.xml里面缺少依赖

    添加此依赖就可以解决这个问题

    <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    </dependency>
    如果您需要搭建spring boot框架,可采用此网站在线生成一个demo 拿来用
    https://start.spring.io/
  • 相关阅读:
    Java应用程序的运行机制
    IO流——字符流
    IO流——字节流
    Java API --- File类
    SSM框架整合
    Mybatis核心组件
    AJAX 练习
    设计者模式
    软件七大设计原则
    并发编程
  • 原文地址:https://www.cnblogs.com/liubaihui/p/7483438.html
Copyright © 2011-2022 走看看