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

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

mvn jetty:run 運(yùn)行出現(xiàn)錯(cuò)誤

[INFO] Scanning for projects...

[INFO]

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

[INFO] Building spring-mvc-study Maven Webapp 1.0-SNAPSHOT

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

[INFO]

[INFO] >>> jetty-maven-plugin:9.2.2.v20140723:run (default-cli) @ spring-mvc-study >>>

[INFO]

[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ spring-mvc-study ---

[debug] execute contextualize

[WARNING] Using platform encoding (GBK actually) to copy filtered resources, i.e. build is platform dependent!

[INFO] Copying 1 resource

[INFO]

[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ spring-mvc-study ---

[WARNING] File encoding has not been set, using platform encoding GBK, i.e. build is platform dependent!

[INFO] Compiling 5 source files to D:\Code\imooc\spring-mvc-study\target\classes

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

[ERROR] COMPILATION ERROR :

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

[ERROR] \Code\imooc\spring-mvc-study\src\main\java\com\imooc\mvcdemo\service\impl\CourseServiceImpl.java:[1,0] : ?class, interfaceenum

[INFO] 1 error

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

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 1.100s

[INFO] Finished at: Tue Mar 03 17:47:19 CST 2020

[INFO] Final Memory: 8M/229M

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

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project spring-mvc-study: Compilation failure

[ERROR] \Code\imooc\spring-mvc-study\src\main\java\com\imooc\mvcdemo\service\impl\CourseServiceImpl.java:[1,0] : ?class, interfaceenum

[ERROR] -> [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/MojoFailureException


正在回答

1 回答

已解決

在pom.xml中添加

<dependency>
??<groupId>org.apache.maven.plugins</groupId>
??<artifactId>maven-compiler-plugin</artifactId>
??<version>2.3.2</version>
</dependency>

之后還會(huì)出現(xiàn)由于用IDEA打開eclipse java項(xiàng)目編譯時(shí),出現(xiàn)以下錯(cuò)誤:

Error:(1,?1)?java:?非法字符:?‘\ufeff’?
Error:(1,?10)?java:?需要class,?interface或enum

點(diǎn)擊指定的工程,右鍵,“Remove BOM”

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

舉報(bào)

0/150
提交
取消

mvn jetty:run 運(yùn)行出現(xiàn)錯(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)