【发布时间】:2011-11-29 08:17:27
【问题描述】:
我正在使用 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>
我安装了 m2e - Eclipse 的 Maven 集成。但是我在 Builders 属性下得到了 Missing builder(org.maven.ide.eclipse.maven2Builder) 并且我得到了一个 java.lang.ClassNotFoundException: 当我尝试从我的项目运行一个类文件时。
我想我在某个地方的配置或插件中遗漏了一些东西?
谢谢
【问题讨论】: