課程
/后端開發(fā)
/Java
/SpringBoot構(gòu)建電商基礎(chǔ)秒殺項目
搞了好久硬是沒看出哪有問題
2019-06-04
源自:SpringBoot構(gòu)建電商基礎(chǔ)秒殺項目 2-4
正在回答
我已開始也是這樣,反復看了兩遍視頻,手動創(chuàng)建的文件夾刪了找對位置在走一遍好了,你可以試試
<?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?http://maven.apache.org/xsd/maven-4.0.0.xsd"> ??<modelVersion>4.0.0</modelVersion> ??<groupId>com.miaoshaproject</groupId> ??<artifactId>miaosha</artifactId> ??<version>1.0-SNAPSHOT</version> ??<name>miaosha</name> ??<!--?FIXME?change?it?to?the?project's?website?--> ??<url>http://www.example.com</url> ??<parent> ????<groupId>org.springframework.boot</groupId> ????<artifactId>spring-boot-starter-parent</artifactId> ????<version>2.0.5.RELEASE</version> ??</parent> ??<properties> ????<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> ????<maven.compiler.source>1.7</maven.compiler.source> ????<maven.compiler.target>1.7</maven.compiler.target> ??</properties> ??<dependencies> ????<dependency> ??????<groupId>org.springframework.boot</groupId> ??????<artifactId>spring-boot-starter-web</artifactId> ????</dependency> ????<dependency> ??????<groupId>mysql</groupId> ??????<artifactId>mysql-connector-java</artifactId> ??????<version>5.1.30</version> ????</dependency> ????<dependency> ??????<groupId>com.alibaba</groupId> ??????<artifactId>druid</artifactId> ??????<version>1.1.3</version> ????</dependency> ????<dependency> ??????<groupId>org.mybatis.spring.boot</groupId> ??????<artifactId>mybatis-spring-boot-starter</artifactId> ??????<version>1.3.1</version> ????</dependency> ????<dependency> ??????<groupId>junit</groupId> ??????<artifactId>junit</artifactId> ??????<version>4.11</version> ??????<scope>test</scope> ????</dependency> ??</dependencies> ??<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> ????????<plugin> ??????????<groupId>org.mybatis.generator</groupId> ??????????<artifactId>mybatis-generator-maven-plugin</artifactId> ??????????<version>1.3.7</version> ??????????<dependencies> ????????????<dependency> ??????????????<groupId>org.mybatis.generator</groupId> ??????????????<artifactId>mybatis-generator-core</artifactId> ??????????????<version>1.3.5</version> ????????????</dependency> ????????????<dependency> ??????????????<groupId>mysql</groupId> ??????????????<artifactId>mysql-connector-java</artifactId> ??????????????<version>5.1.30</version> ????????????</dependency> ??????????</dependencies> ??????????<executions> ????????????<execution> ??????????????<id>mybatis?generator</id> ??????????????<phase>package</phase> ??????????????<goals> ????????????????<goal>generate</goal> ??????????????</goals> ????????????</execution> ??????????</executions> ??????????<configuration> ????????????<!--?允許移動生成的文件?--> ????????????<verbose>true</verbose> ????????????<!--?允許自動覆蓋文件??--> ????????????<overwrite>true</overwrite> ????????????<configurationFile> ??????????????src/main/resources/mybatis-generator.xml ????????????</configurationFile> ??????????</configuration> ????????</plugin> ??????</plugins> ????</pluginManagement> ??</build> </project>
這個錯誤是哪個不兼容呀?
把mybatis-generator.xml的代碼粘上來看看
QM啟夢科技
舉報
應用SpringBoot快速搭建擁有用戶、商品、交易及秒殺活動的電商秒殺應用。
2 回答執(zhí)行mybatis-generator報錯,求大神指點
2 回答執(zhí)行run mybatis-generator 報錯。求大神指教
3 回答mybatis-generator生成失敗
5 回答mybatis-generator生成失敗
3 回答mybatis-generator-core引入依賴報錯,求指點
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學習伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2019-07-02
我已開始也是這樣,反復看了兩遍視頻,手動創(chuàng)建的文件夾刪了找對位置在走一遍好了,你可以試試
2019-06-09
這個錯誤是哪個不兼容呀?
2019-06-04
把mybatis-generator.xml的代碼粘上來看看