Class not found: org.eclipse.jdt.core.JDTCompilerAdapter
ant调用eclipse的jdt出现这个错误,检查类名书写是否正确,是否有空格。 <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
关键是把jdtCompilerAdapter.jar和org.eclipse.jdt.core_3.x.x.jar 复制到 ant/lib目录下。
ant调用eclipse的jdt出现这个错误,检查类名书写是否正确,是否有空格。 <property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
关键是把jdtCompilerAdapter.jar和org.eclipse.jdt.core_3.x.x.jar 复制到 ant/lib目录下。
本文介绍了解决ANT调用Eclipse JDT时出现的Classnotfound错误的方法。通过检查类名书写并确保没有空格,将jdtCompilerAdapter.jar和org.eclipse.jdt.core_3.x.x.jar复制到ant/lib目录下即可解决问题。
772

被折叠的 条评论
为什么被折叠?



