I have the java jdk 6 on windows.
I am using Eclipse and trying to create an apt ant task.
Also I have downloaded jaxws-2_0.jar and I use the lib jars in the
classpath of build.xml.
After a few tries I am able to start apt through a build.xml file, but I
keep getting :
apt-generate:
[apt] warning: Bad annotation processor factory:
java.lang.ClassCastException:
com.sun.istack.ws.AnnotationProcessorFactoryImpl cannot be cast to
com.sun.mirror.apt.AnnotationProcessorFactory
[apt] warning: Bad annotation processor factory:
java.lang.ClassCastException:
com.sun.istack.internal.ws.AnnotationProcessorFactoryImpl cannot be cast
to com.sun.mirror.apt.AnnotationProcessorFactory
[apt] warning: Annotation types without processors:
[javax.jws.WebService]
[apt] 3 warnings
I found that both classes named in the warnings correspond to the JDK on
one hand, and jaxws on the other hand, but no way to make this work.
There is some
incompatibility.
Any idea ?