启动报错

来源:3-4 SpringBoot 配置文件

慕运维0184815

2019-11-16

Error starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.

<?xml version="1.0" encoding="UTF-8"?>


4.0.0

<groupId>com.imooc.springboot.study</groupId>
<artifactId>imooc-springboot-study</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar </packaging>

<name>springboot-study</name>
<description>Study project for Spring Boot</description>

<dependencies>
    <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
        <version>2.2.1.RELEASE</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.springframework.kafka/spring-kafka
    <dependency>
        <groupId>org.springframework.kafka</groupId>
        <artifactId>spring-kafka</artifactId>
        <version>2.3.3.RELEASE</version>
    </dependency>-->
    <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
    <dependency>
        <groupId>org.projectlombok</groupId>
        <artifactId>lombok</artifactId>
        <optional>true</optional>
        <version>1.18.10</version>
        <scope>provided</scope>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-test -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
        <version>2.2.1.RELEASE</version>
        <scope>test</scope>
    </dependency>
    <!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
    <dependency>
        <groupId>com.alibaba</groupId>
        <artifactId>fastjson</artifactId>
        <version>1.2.62</version>
    </dependency>
    <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-configuration-processor -->
    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-configuration-processor</artifactId>
        <version>2.2.1.RELEASE</version>
        <optional>true</optional>
    </dependency>
</dependencies>
<build>
    <finalName>imooc-springboot-study</finalName>
</build>
写回答

1回答

张勤一

2019-11-17

同学你好:

    你这里提的问题是无法启动代码。但是你这里贴的是 pom 文件的定义,这些是无法定位哪里出了问题的。建议加下 QQ 群,详细的描述下你遇到的问题,我来帮你解决问题。


    欢迎来 QQ 群随时交流、讨论,也非常感谢同学的支持!

2
1
慕运维0184815
已经解决,谢谢老师
2019-11-20
共1条回复

Spring Cloud微服务实战 打造企业级优惠券系统

微服务,SpringCloud,SpringBoot面试、毕设、

1203 学习 · 487 问题

查看课程