m2e-wtp

最近在搞一些关于springboot的项目,因为项目需要,所以经常会导入第三方的例子或者是一些码友的代码。

竟然pom.xml显示一个X ,然后就是Line:1

 

这个是什么问题呢?

 

查了一下,说是要装m2e-wtp

https://www.eclipse.org/m2e-wtp/


m2e-wtp features

    • war project configuration : adds the Java and Dynamic Web Facets
    • ejb project configuration : adds the Java and EJB Facets.
    • ear project configuration : adds the EAR Facet. Supports application.xml and jboss.xml file generation
    • rar project configuration : adds the Java and Connector Facets.
    • app-client project configuration : adds the Java and Application Client Facets.
    • jar dependency project configuration : adds the Java and Utility Facets.
    • web-fragment project configuration : adds the Java and Web Fragment Facets if a web-fragment.xml file is detected.
    • Optional configurators for JSF, JPA and JAX-RS Facets
    • war overlays of workspace dependencies and .war archives, with incremental deployment on server
    • dynamic resource filtering with incremental deployment on server
    • Eclipse to Maven project conversion : maps Eclipse settings to their equivalent maven plugin configuration. Available for all Java EE projects.

看看这个家伙,哈哈。

 

装好了以后,Maven-Update Project,红X没了。

问题果然解决。

安装:

Eclipse-Help-Install New Software...

Name:

m2e-wtp(随意)

Location:

https://download.eclipse.org/m2e-wtp/releases/1.4/

 

posted @ 2020-10-25 23:16  jiduoduo  阅读(461)  评论(0编辑  收藏  举报