Maven项目Build path ----------No action available 解决方案

找到项目的.project文件,添加的内容如下:
 
 <buildSpec>
          <buildCommand>
               <name>org.eclipse.jdt.core.javabuilder</name>
               <arguments>
               </arguments>
          </buildCommand>
          <buildCommand>
               <name>org.eclipse.m2e.core.maven2Builder</name>
               <arguments>
               </arguments>
          </buildCommand>
     </buildSpec>
     <natures>
          <nature>org.eclipse.jdt.core.javanature</nature>
          <nature>org.eclipse.m2e.core.maven2Nature</nature>
     </natures>

 

posted on 2019-09-16 16:21  郝心人forever  阅读(1213)  评论(0编辑  收藏  举报