Giter VIP home page Giter VIP logo

Comments (7)

hengboy avatar hengboy commented on August 15, 2024

@randeexiong 把你的pom.xml贴出来

from api-boot.

hengboy avatar hengboy commented on August 15, 2024

apiboot只提供了依赖,你需要指定项目parent为spring-boot-starter-parent的原因不仅是依赖还有其他的配置,比如:项目打包

from api-boot.

randeexiong avatar randeexiong commented on August 15, 2024
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <packaging>pom</packaging>
    <modules>
        <module>cbrc-log-server</module>
        <module>cbrc-statement-verify-services</module>
    </modules>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>2.7.0</version>
    </parent>
    <groupId>com.boczj</groupId>
    <artifactId>api-boot-cbrc</artifactId>
    <version>0.1.0.RELEASE</version>
    <name>api-boot-cbrc</name>
    <properties>
        <java.version>1.8</java.version>
        <api.boot.version>2.3.7</api.boot.version>
        <hutool.version>5.8.5</hutool.version>
    </properties>
    <dependencyManagement>
        <dependencies>
            <!--ApiBoot统一版本依赖-->
            <!--版本依赖详细介绍:http://apiboot.minbox.io/zh-cn/docs/version-rely.html-->
            <dependency>
                <groupId>org.minbox.framework</groupId>
                <artifactId>api-boot-dependencies</artifactId>
                <version>${api.boot.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>

from api-boot.

hengboy avatar hengboy commented on August 15, 2024

只有这些吗?你这应该是parent项目的pom.xml,你启动的是哪个module?

from api-boot.

randeexiong avatar randeexiong commented on August 15, 2024

出错问题代码我已上传 github,请查看,谢谢

https://github.com/xiungfi/api-boot-cbrc.git

from api-boot.

hengboy avatar hengboy commented on August 15, 2024

你可以看下我的博客:https://blog.minbox.org/

from api-boot.

randeexiong avatar randeexiong commented on August 15, 2024

你可以看下我的博客:https://blog.minbox.org/

api-boot-starter-security-oauth-jwt 导致的循环依赖bug,在您博客没看到说有对这个bug的的处理方案

from api-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.