【发布时间】:2011-07-27 08:57:19
【问题描述】:
我的项目和 ant4eclipse 有问题。如果我运行 build.xml,我会收到以下消息:
Exception in thread "main" : org.ant4eclipse.lib.core.exception.Ant4EclipseException: Exception
whilst resolving the classpath entry '[EclipseClasspathEntry: path:
org.eclipse.jst.j2ee.internal.module.container entryKind: 0 outputLocation: null exported: false]' of project 'MyProject': '
No 'jdtClassPathLibrary' defined for library entry
'org.eclipse.jst.j2ee.internal.module.container'.
To resolve this problem, please define a 'jdtClassPathLibrary'
element inside your ant build file:
ant4eclipse:jdtClassPathLibrary name="org.eclipse.jst.j2ee.internal.module.container"
fileset dir="..."/
/ant4eclipse:jdtClassPathLibrary
但是我在哪里可以找到这些文件? .classpath 文件只有这个条目:
classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/
【问题讨论】:
标签: java eclipse jakarta-ee ant4eclipse