第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

運(yùn)行mybatis-generator時(shí)報(bào)錯(cuò)了org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[INFO] Scanning for projects...

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

[INFO]? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

[INFO] ------------------------------------------------------------------------

[INFO] Building miaosha 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

[INFO]?

[INFO] --- mybatis-generator-maven-plugin:1.3.5:generate (default-cli) @ miaosha ---

[INFO] Connecting to the Database

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1.935 s

[INFO] Finished at: 2019-01-10T17:13:57+08:00

[INFO] Final Memory: 22M/228M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate (default-cli) on project miaosha: Execution default-cli of goal org.mybatis.generator:mybatis-generator-maven-plugin:1.3.5:generate failed: Exception getting JDBC Driver: COM.ibm.db2.jdbc.app.DB2Driver -> [Help 1]

[ERROR]?

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]?

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException


代碼已上傳到github?https://github.com/shawbs/miaosha-demo


正在回答

10 回答

1、git clone?https://github.com/mfriedenhagen/dummy-lifecycle-mapping-plugin

2、在拉下來的項(xiàng)目文件夾里mvn -Dmaven.test.skip -U clean install,這樣就可以把lifecycle-mapping拉到本地maven倉庫了

3、重新run mybatis-generator.xml

2 回復(fù) 有任何疑惑可以回復(fù)我~
#1

人生苦短,我選Python

遇到同樣的問題,解決了666
2019-08-27 回復(fù) 有任何疑惑可以回復(fù)我~
#2

weixin_慕妹3359172 回復(fù) 人生苦短,我選Python

請(qǐng)問是怎么解決的呢?我也遇到了相同的問題,上面的方法看不懂
2019-10-30 回復(fù) 有任何疑惑可以回復(fù)我~
#3

人生苦短,我選Python 回復(fù) weixin_慕妹3359172

看不懂沒關(guān)系,照著操作就行
2019-10-30 回復(fù) 有任何疑惑可以回復(fù)我~
#4

cclibra

我是直接在上面的git鏈接手動(dòng)下載pom文件和jar包,然后按照網(wǎng)頁中的安裝方法安裝就可以了。 mvn install:install-file -DpomFile=pom.xml -Dfile=lifecycle-mapping-1.0.0.jar
2019-11-20 回復(fù) 有任何疑惑可以回復(fù)我~
#5

慕少3479761

這安裝的時(shí)間也太久了吧,我安裝了一下午都沒裝好
2020-02-17 回復(fù) 有任何疑惑可以回復(fù)我~
#6

weixin_慕斯卡7437760

大佬 感謝
2021-04-24 回復(fù) 有任何疑惑可以回復(fù)我~
查看3條回復(fù)
<?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>

??<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>
????<!--?mysql-->
????<dependency>
??????<groupId>mysql</groupId>
??????<artifactId>mysql-connector-java</artifactId>
??????<version>5.1.41</version>
????</dependency>
????<!--?阿里巴巴druid數(shù)據(jù)庫連接池-->
????<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>

????<dependency>
??????<groupId>org.mybatis.generator</groupId>
??????<artifactId>mybatis-generator-core</artifactId>
??????<version>1.3.5</version>
????</dependency>
????<dependency>
??????<groupId>org.eclipse.m2e</groupId>
??????<artifactId>lifecycle-mapping</artifactId>
??????<version>1.0.0</version>
????</dependency>
????<!--<dependency>
??????<groupId>lifecycle-mapping</groupId>
??????<artifactId>lifecycle-mapping</artifactId>
??????<version>1.0.0</version>
????</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>
??????????<artifactId>lifecycle-mapping</artifactId>
??????????<version>1.0.0</version>
????????</plugin>
????????<plugin>
??????????<artifactId>org.eclipse.m2e</artifactId>
??????????<version>1.3</version>
????????</plugin>-->
????????<!--?-->
????????<!--<plugin>
??????????<groupId>org.eclipse.m2e</groupId>
??????????<artifactId>lifecycle-mapping</artifactId>
??????????<version>1.0.0</version>
??????????<configuration>
????????????<lifecycleMappingMetadata>
??????????????<pluginExecutions>
????????????????<pluginExecution>
??????????????????<pluginExecutionFilter>
????????????????????<groupId>org.codehaus.mojo</groupId>
????????????????????<artifactId>aspectj-maven-plugin</artifactId>
????????????????????<versionRange>[1.0,)</versionRange>
??????????????????</pluginExecutionFilter>
??????????????????<action>
????????????????????<execute?/>
??????????????????</action>
????????????????</pluginExecution>
??????????????</pluginExecutions>
????????????</lifecycleMappingMetadata>
??????????</configuration>
????????</plugin>-->

????????<plugin>
??????????<groupId>org.mybatis.generator</groupId>
??????????<artifactId>mybatis-generator-maven-plugin</artifactId>
??????????<version>1.3.5</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.41</version>
????????????</dependency>
??????????</dependencies>
??????????<executions>
????????????<execution>
??????????????<id>mybatis?generator</id>
??????????????<phase>package</phase>
??????????????<goals>
????????????????<goal>generate</goal>
??????????????</goals>
????????????</execution>
??????????</executions>
??????????<configuration>
????????????<!--?允許移動(dòng)生成的文件-->
????????????<verbose>true</verbose>
????????????<!--?允許自動(dòng)覆蓋文件?實(shí)際開發(fā)過程中不要開-->
????????????<overwrite>true</overwrite>
????????????<configurationFile>
??????????????src/main/resources/mybatis-generator.xml
????????????</configurationFile>
??????????</configuration>
????????</plugin>
??????</plugins>
????</pluginManagement>
??</build>
</project>


0 回復(fù) 有任何疑惑可以回復(fù)我~

親們,你們這個(gè)最后怎么解決的啊?

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

戰(zhàn)斗王子貝吉塔

我也遇到這樣的問題,你怎么解決的
2019-10-31 回復(fù) 有任何疑惑可以回復(fù)我~

https://www.jianshu.com/p/5ac7dfaae2d0這個(gè)地址有相應(yīng)的答案,

0 回復(fù) 有任何疑惑可以回復(fù)我~

剛剛看到一個(gè)答案:(好像被刪除了)

git clone https://github.com/mfriedenhagen/dummy-lifecycle-mapping-plugin.git

cd dummy-lifecycle-mapping-plugin/

mvn -Dmaven.test.skip -U clean install


大概就是上面3行指令結(jié)束后,重新run吧。


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

sgdy23 提問者

搞錯(cuò)了,已經(jīng)采納了。。
2019-01-15 回復(fù) 有任何疑惑可以回復(fù)我~
#2

晴顏 回復(fù) sgdy23 提問者

兄弟,你這個(gè)問題怎么解決的?我的也是報(bào) The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available version can neither be null, empty nor blank
2019-02-15 回復(fù) 有任何疑惑可以回復(fù)我~
#3

慕萊塢5288264 回復(fù) 晴顏

兄弟你的解決了嗎?
2019-07-31 回復(fù) 有任何疑惑可以回復(fù)我~
#4

慕萊塢5288264 回復(fù) sgdy23 提問者

兄弟你的解決了嗎?我的也報(bào)
2019-07-31 回復(fù) 有任何疑惑可以回復(fù)我~
#5

晴顏 回復(fù) 慕萊塢5288264

我沒有用老師的這種生成方式,自己寫了一個(gè)main方法加載mybatis-generator.xml文件逆向生成的
2019-08-07 回復(fù) 有任何疑惑可以回復(fù)我~
查看2條回復(fù)

Actually, the thing is we cannot directly use the mybatis-generator.xml downloaded online. We have to delete several lines in it and modify the directory, jdbc driver , user name and password exactly.? Sorry for my english, I don't have pinyin in library's computer

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

sgdy23 提問者

Can you understand Chinese? 你解決了這個(gè)問題嗎? 或許你說的對(duì),但我沒有其它的配置文件可供參考 你有正確的mybatis-generator.xml文件嗎?
2019-01-14 回復(fù) 有任何疑惑可以回復(fù)我~

Hi, Have you found what's wrong within your code? I made the same mistake with you.?

0 回復(fù) 有任何疑惑可以回復(fù)我~

親測(cè),連接驅(qū)動(dòng)錯(cuò)了https://img1.sycdn.imooc.com//5c3964f90001970d07200181.jpg

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

sgdy23 提問者

好的,我試試。。(原諒我是個(gè)菜雞。。)
2019-01-14 回復(fù) 有任何疑惑可以回復(fù)我~
#2

sgdy23 提問者

我把你說的這個(gè)屬性改成和視頻里面的一致,還是報(bào)這個(gè)錯(cuò):) <jdbcConnection driverClass="com.mysql.jdbc.Driver"
2019-01-14 回復(fù) 有任何疑惑可以回復(fù)我~
#3

sgdy23 提問者

老鐵,要不你代碼給我看看,可以嗎
2019-01-14 回復(fù) 有任何疑惑可以回復(fù)我~
#4

qq_影_53 回復(fù) sgdy23 提問者

可以啊 GitHub地址是https://github.com/FORyc/shop-test1.git
2019-01-14 回復(fù) 有任何疑惑可以回復(fù)我~
查看1條回復(fù)

問題的根本原因是不存在的插件?lifecycle-mapping

無法從任何存儲(chǔ)庫org.eclipse.m2e下載工件:lifecycle-mapping:pom:1.0.0

您的問題的解決方案是:m2e生命周期映射未找到

- -雖然我還是沒有解決

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_影_53

題主是mybatis-generator.xml中jdbcConnerctior的連接驅(qū)動(dòng)配置錯(cuò)了,你看看你的是不是也是這個(gè)問題
2019-01-12 回復(fù) 有任何疑惑可以回復(fù)我~

感覺是沒有吧mybatis-generator依賴進(jìn)來,你把鏡像換成阿里的,然后reimport一下maven試試欸

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

sgdy23 提問者

不會(huì)呀,哥
2019-01-11 回復(fù) 有任何疑惑可以回復(fù)我~
#2

Tye_V

我用的是阿里的鏡像 也重新reimport了 還是不行 同樣的問題
2019-01-11 回復(fù) 有任何疑惑可以回復(fù)我~
#3

qq_影_53 回復(fù) sgdy23 提問者

我先去看看你的源碼
2019-01-12 回復(fù) 有任何疑惑可以回復(fù)我~
#4

qq_影_53 回復(fù) Tye_V

他的問題我找到了,mybatis-generator.xml中jdbcConnerctior的連接驅(qū)動(dòng)配置錯(cuò)了,你也檢查一下你的是不是這個(gè)問題
2019-01-12 回復(fù) 有任何疑惑可以回復(fù)我~
#5

戰(zhàn)斗王子貝吉塔 回復(fù) Tye_V

我也出現(xiàn)這種問題,你怎么解決的
2019-10-31 回復(fù) 有任何疑惑可以回復(fù)我~
#6

戰(zhàn)斗王子貝吉塔 回復(fù) Tye_V

我也遇到這樣的問題,你怎么解決的
2019-10-31 回復(fù) 有任何疑惑可以回復(fù)我~
#7

戰(zhàn)斗王子貝吉塔

這樣也不行,到底該怎么解決
2019-10-31 回復(fù) 有任何疑惑可以回復(fù)我~
查看4條回復(fù)

舉報(bào)

0/150
提交
取消

運(yùn)行mybatis-generator時(shí)報(bào)錯(cuò)了org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)