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

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

打包maven web 項(xiàng)目成war包報(bào)錯(cuò)

我在構(gòu)建多模塊maven? web項(xiàng)目的時(shí)候,打war包時(shí),報(bào)錯(cuò)如下:

[INFO] Scanning for projects...
[INFO]????????????????????????????????????????????????????????????????????????
[INFO] ------------------------------------------------------------------------
[INFO] Building easyframework-web Maven Webapp 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.easyframework:easyframework-model:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.easyframework:easyframework-core:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.easyframework:easyframework-utils:jar:0.0.1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.303 s
[INFO] Finished at: 2016-02-19T19:36:54+08:00
[INFO] Final Memory: 7M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project easyframework-web: Could not resolve dependencies for project com.easyframework:easyframework-web:war:0.0.1-SNAPSHOT: The following artifacts could not be resolved: com.easyframework:easyframework-model:jar:0.0.1-SNAPSHOT, com.easyframework:easyframework-core:jar:0.0.1-SNAPSHOT, com.easyframework:easyframework-utils:jar:0.0.1-SNAPSHOT: Could not find artifact com.easyframework:easyframework-model:jar:0.0.1-SNAPSHOT -> [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/DependencyResolutionException

easyframework-web 模塊pom.xml配置如下:

<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
??? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
? <modelVersion>4.0.0</modelVersion>
?
? <artifactId>easyframework-web</artifactId>
? <packaging>war</packaging>
? <name>easyframework-web Maven Webapp</name>
? <url>http://maven.apache.org</url>
?
? <parent>
??? <groupId>com.easyframework</groupId>
??? <artifactId>easyframework-root</artifactId>
??? <version>0.0.1-SNAPSHOT</version>
? </parent>
?
? <dependencies>
? ?<dependency>
??<groupId>javax.servlet</groupId>
??<artifactId>javax.servlet-api</artifactId>
?</dependency>
??? <dependency>
????? <groupId>junit</groupId>
????? <artifactId>junit</artifactId>
??? </dependency>
??? <dependency>
??? ?<groupId>com.easyframework</groupId>
??? ?<artifactId>easyframework-model</artifactId>
??? ?<version>${project.version}</version>
??? </dependency>
??? <dependency>
??? ?<groupId>com.easyframework</groupId>
??? ?<artifactId>easyframework-core</artifactId>
??? ?<version>${project.version}</version>
??? </dependency>
??? <dependency>
??? ?<groupId>com.easyframework</groupId>
??? ?<artifactId>easyframework-utils</artifactId>
??? ?<version>${project.version}</version>
??? </dependency>
? </dependencies>
? <build>
??? <finalName>easyframework-web</finalName>
??? <plugins>
???? <plugin>??
?????? <groupId>org.apache.maven.plugins</groupId>??
?????? <artifactId>maven-war-plugin</artifactId>??
?????? <version>2.0.2</version>
?????? <configuration>
?????? ?<warName>easyframework-web</warName>
?????? </configuration>??
??? </plugin>
?? </plugins>
? </build>
</project>

依賴的其他模塊沒(méi)有手動(dòng)打成jar包,打war包的時(shí)候,會(huì)首相把依賴的模塊打成jar包,依賴進(jìn)來(lái)嗎?

正在回答

舉報(bào)

0/150
提交
取消
項(xiàng)目管理利器——maven
  • 參與學(xué)習(xí)       173033    人
  • 解答問(wèn)題       789    個(gè)

使用maven來(lái)構(gòu)建和管理Java項(xiàng)目,從環(huán)境配置,到maven核心知識(shí)

進(jìn)入課程

打包maven web 項(xiàng)目成war包報(bào)錯(cuò)

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

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

幫助反饋 APP下載

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

公眾號(hào)

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