小编use*_*942的帖子

缺少构建器(org.maven.ide.eclipse.maven2Builder)

我正在使用Eclipse Indigo并在我的.project文件中包含以下内容:

<?xml version="1.0" encoding="UTF-8"?> 
  <projectDescription> 
    <name>new project</name> 
    <buildSpec> 
      <buildCommand> 
        <name>org.eclipse.jdt.core.javabuilder</name> 
      </buildCommand> 
      <buildCommand> 
        <name>org.maven.ide.eclipse.maven2Builder</name> 
      </buildCommand> 
    </buildSpec>
    <natures> 
      <nature>org.eclipse.jdt.core.javanature</nature>       
      <nature>org.maven.ide.eclipse.maven2Nature</nature> 
    </natures> 
  </projectDescription>
Run Code Online (Sandbox Code Playgroud)

我安装了m2e - Maven Integration for Eclipse.但是我在Builders属性下得到了Missing builder(org.maven.ide.eclipse.maven2Builder),我得到了一个java.lang.ClassNotFoundException:当我尝试从我的项目运行一个类文件时.

我想我在配置某处或插件中遗漏了一些东西?

谢谢

eclipse maven

12
推荐指数
1
解决办法
2万
查看次数

标签 统计

eclipse ×1

maven ×1