项目跑起来了(之前跑步起来是因为SpringCloud和SpringBoot版本不同)
This commit is contained in:
		@@ -27,7 +27,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## 使用技术栈
 | 
					## 使用技术栈
 | 
				
			||||||
 | 
					
 | 
				
			||||||
项目开发环境:Ubuntu 22.04、OpenJDK 11、MySQL 8.0.12
 | 
					项目开发环境:Ubuntu Desktop 22.04 LTS、OpenJDK 11、MySQL 8.0.12
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 板块   | 技术栈                                                    | 开发工具      | 备注 |
 | 
					| 板块   | 技术栈                                                    | 开发工具      | 备注 |
 | 
				
			||||||
| ------ | --------------------------------------------------------- | ------------- | ---- |
 | 
					| ------ | --------------------------------------------------------- | ------------- | ---- |
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -57,14 +57,14 @@
 | 
				
			|||||||
            <groupId>ch.qos.logback</groupId>
 | 
					            <groupId>ch.qos.logback</groupId>
 | 
				
			||||||
            <artifactId>logback-core</artifactId>
 | 
					            <artifactId>logback-core</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <!-- <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.slf4j</groupId>
 | 
					            <groupId>org.slf4j</groupId>
 | 
				
			||||||
            <artifactId>slf4j-api</artifactId>
 | 
					            <artifactId>slf4j-api</artifactId>
 | 
				
			||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
            <groupId>org.slf4j</groupId>
 | 
					            <groupId>org.slf4j</groupId>
 | 
				
			||||||
            <artifactId>slf4j-simple</artifactId>
 | 
					            <artifactId>slf4j-simple</artifactId>
 | 
				
			||||||
        </dependency> -->
 | 
					        </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        <!-- Spring Boot -->
 | 
					        <!-- Spring Boot -->
 | 
				
			||||||
        <dependency>
 | 
					        <dependency>
 | 
				
			||||||
@@ -87,62 +87,20 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <build>
 | 
					    <build>
 | 
				
			||||||
        <!--<plugins>-->
 | 
					        <plugins>
 | 
				
			||||||
        <!--    <plugin>-->
 | 
					            <plugin>
 | 
				
			||||||
        <!--        <groupId>org.springframework.boot</groupId>-->
 | 
					                <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
        <!--        <artifactId>spring-boot-maven-plugin</artifactId>-->
 | 
					                <artifactId>spring-boot-maven-plugin</artifactId>
 | 
				
			||||||
        <!--        <configuration>-->
 | 
					                <version>2.7.5</version>
 | 
				
			||||||
        <!--            <excludes>-->
 | 
					                <configuration>
 | 
				
			||||||
        <!--                <exclude>-->
 | 
					                    <excludes>
 | 
				
			||||||
        <!--                    <groupId>org.projectlombok</groupId>-->
 | 
					                        <exclude>
 | 
				
			||||||
        <!--                    <artifactId>lombok</artifactId>-->
 | 
					                            <groupId>org.projectlombok</groupId>
 | 
				
			||||||
        <!--                </exclude>-->
 | 
					                            <artifactId>lombok</artifactId>
 | 
				
			||||||
        <!--            </excludes>-->
 | 
					                        </exclude>
 | 
				
			||||||
        <!--        </configuration>-->
 | 
					                    </excludes>
 | 
				
			||||||
        <!--    </plugin>-->
 | 
					                </configuration>
 | 
				
			||||||
        <!--</plugins>-->
 | 
					            </plugin>
 | 
				
			||||||
        <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
 | 
					        </plugins>
 | 
				
			||||||
            <plugins>
 | 
					 | 
				
			||||||
                <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-clean-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>3.1.0</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-resources-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>3.0.2</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-compiler-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>3.8.0</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-surefire-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>2.22.1</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-jar-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>3.0.2</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-install-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>2.5.2</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-deploy-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>2.8.2</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-site-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>3.7.1</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
                <plugin>
 | 
					 | 
				
			||||||
                    <artifactId>maven-project-info-reports-plugin</artifactId>
 | 
					 | 
				
			||||||
                    <version>3.0.0</version>
 | 
					 | 
				
			||||||
                </plugin>
 | 
					 | 
				
			||||||
            </plugins>
 | 
					 | 
				
			||||||
        </pluginManagement>
 | 
					 | 
				
			||||||
    </build>
 | 
					    </build>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,8 +6,6 @@ mybatis:
 | 
				
			|||||||
  type-aliases-package: com.cxyxiaomo.epp.pojo
 | 
					  type-aliases-package: com.cxyxiaomo.epp.pojo
 | 
				
			||||||
  config-location: classpath:mybatis/mybatis-config.xml
 | 
					  config-location: classpath:mybatis/mybatis-config.xml
 | 
				
			||||||
  mapper-locations: classpath:mybatis/mapper/*.xml
 | 
					  mapper-locations: classpath:mybatis/mapper/*.xml
 | 
				
			||||||
  configuration:
 | 
					 | 
				
			||||||
    map-underscore-to-camel-case: on
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Spring 配置
 | 
					# Spring 配置
 | 
				
			||||||
spring:
 | 
					spring:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,9 +20,9 @@
 | 
				
			|||||||
    <!-- 统一管理jar包版本 -->
 | 
					    <!-- 统一管理jar包版本 -->
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
        <java.version>11</java.version>
 | 
					        <java.version>11</java.version>
 | 
				
			||||||
        <!--<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
 | 
					        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
				
			||||||
        <!--<maven.compiler.source>11</maven.compiler.source>-->
 | 
					        <maven.compiler.source>11</maven.compiler.source>
 | 
				
			||||||
        <!--<maven.compiler.target>11</maven.compiler.target>-->
 | 
					        <maven.compiler.target>11</maven.compiler.target>
 | 
				
			||||||
        <junit.version>4.13.2</junit.version>
 | 
					        <junit.version>4.13.2</junit.version>
 | 
				
			||||||
        <log4j.version>1.2.17</log4j.version>
 | 
					        <log4j.version>1.2.17</log4j.version>
 | 
				
			||||||
        <lombok.version>1.18.24</lombok.version>
 | 
					        <lombok.version>1.18.24</lombok.version>
 | 
				
			||||||
@@ -53,7 +53,7 @@
 | 
				
			|||||||
            <dependency>
 | 
					            <dependency>
 | 
				
			||||||
                <groupId>org.springframework.boot</groupId>
 | 
					                <groupId>org.springframework.boot</groupId>
 | 
				
			||||||
                <artifactId>spring-boot-test</artifactId>
 | 
					                <artifactId>spring-boot-test</artifactId>
 | 
				
			||||||
                <version>2.5.12</version>
 | 
					                <version>2.7.4</version>
 | 
				
			||||||
            </dependency>
 | 
					            </dependency>
 | 
				
			||||||
            <!-- Spring Boot Starter Web -->
 | 
					            <!-- Spring Boot Starter Web -->
 | 
				
			||||||
            <dependency>
 | 
					            <dependency>
 | 
				
			||||||
@@ -96,7 +96,7 @@
 | 
				
			|||||||
                <artifactId>logback-core</artifactId>
 | 
					                <artifactId>logback-core</artifactId>
 | 
				
			||||||
                <version>1.2.11</version>
 | 
					                <version>1.2.11</version>
 | 
				
			||||||
            </dependency>
 | 
					            </dependency>
 | 
				
			||||||
            <!-- <dependency>
 | 
					            <dependency>
 | 
				
			||||||
                <groupId>org.slf4j</groupId>
 | 
					                <groupId>org.slf4j</groupId>
 | 
				
			||||||
                <artifactId>slf4j-api</artifactId>
 | 
					                <artifactId>slf4j-api</artifactId>
 | 
				
			||||||
                <version>2.0.3</version>
 | 
					                <version>2.0.3</version>
 | 
				
			||||||
@@ -105,7 +105,7 @@
 | 
				
			|||||||
                <groupId>org.slf4j</groupId>
 | 
					                <groupId>org.slf4j</groupId>
 | 
				
			||||||
                <artifactId>slf4j-simple</artifactId>
 | 
					                <artifactId>slf4j-simple</artifactId>
 | 
				
			||||||
                <version>2.0.3</version>
 | 
					                <version>2.0.3</version>
 | 
				
			||||||
            </dependency> -->
 | 
					            </dependency>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <!-- Test -->
 | 
					            <!-- Test -->
 | 
				
			||||||
            <!-- junit -->
 | 
					            <!-- junit -->
 | 
				
			||||||
@@ -127,4 +127,49 @@
 | 
				
			|||||||
        </dependencies>
 | 
					        </dependencies>
 | 
				
			||||||
    </dependencyManagement>
 | 
					    </dependencyManagement>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <build>
 | 
				
			||||||
 | 
					        <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
 | 
				
			||||||
 | 
					            <plugins>
 | 
				
			||||||
 | 
					                <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-clean-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>3.1.0</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-resources-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>3.0.2</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-compiler-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>3.8.0</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-surefire-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>2.22.1</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-jar-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>3.0.2</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-install-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>2.5.2</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-deploy-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>2.8.2</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-site-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>3.7.1</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <artifactId>maven-project-info-reports-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>3.0.0</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					            </plugins>
 | 
				
			||||||
 | 
					        </pluginManagement>
 | 
				
			||||||
 | 
					    </build>
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user