Ant editor warning about missing AnnotationProcessorFactory class [message #506515] |
Thu, 07 January 2010 09:58  |
Eclipse User |
|
|
|
I'm building an app using JAXB and other frameworks. The Ant build works fine from both Eclipse and the command line.
The one minor annoyance I have is that Eclipse is giving me a warning on the taskdef for "schemagen":
<taskdef name="schemagen" classpathref="schemagen.classpath" classname="com.sun.tools.jxc.SchemaGenTask">
<classpath>
<fileset dir="lib" includes="*.jar"/>
</classpath>
</taskdef>
The warning is:
"A class needed by class com.sun.tools.jxc.SchemaGenTask cannot be found: com/sun/mirror/
apt/AnnotationProcessorFactory"
This class is found in the "tools.jar" of the JDK. I noticed that in the list of jars associated with the JRE, that jar is not included. So, I tried including it in both the project build path and the classpath for the Ant run configuration. Neither of those made any difference. It's still displaying that warning.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03295 seconds