老师,我这个运行都正常,但项目名旁有个红叉,怎么回事,没有任何报错

来源:3-1 Maven常用命令-创建工程

BirdMan98

2020-02-11 01:53:49

http://img.mukewang.com/climg/5e41989709ac97bb08250331.jpg

[INFO] Scanning for projects...

[INFO] 

[INFO] ----------------------------< com.zj:maven >----------------------------

[INFO] Building maven 1.0.0-RELEASE

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

[INFO] 

[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ maven ---

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

[INFO] Copying 0 resource

[INFO] 

[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ maven ---

[INFO] Nothing to compile - all classes are up to date

[INFO] 

[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ maven ---

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

[INFO] Copying 0 resource

[INFO] 

[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ maven ---

[INFO] Nothing to compile - all classes are up to date

[INFO] 

[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ maven ---

[INFO] 

[INFO] --- maven-war-plugin:3.2.2:war (default-war) @ maven ---

[INFO] Packaging webapp

[INFO] Assembling webapp [maven] in [D:\JavaDev\maven\target\web]

[INFO] Processing war project

[INFO] Copying webapp resources [D:\JavaDev\maven\src\main\webapp]

[INFO] Webapp assembled in [67 msecs]

[INFO] Building war: D:\JavaDev\maven\target\web.war

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

[INFO] BUILD SUCCESS

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

[INFO] Total time:  1.588 s

[INFO] Finished at: 2020-02-11T01:47:39+08:00

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

http://img.mukewang.com/climg/5e4198aa09e99cfc09810293.jpg


写回答

1回答

好帮手慕柯南

2020-02-11

同学你好!

eclipse上项目的红叉可以忽略。eclipse中经常会出现这样的问题。

祝学习愉快~

0

0 学习 · 8016 问题

查看课程