1
我的项目和ant4eclipse有问题。如果我运行的build.xml我得到这个消息:ant4eclipse classpath问题
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"/
你是我的英雄! variablesAndContainers.dat包含jar的所有缺少路径:-) –