NoClassDefFoundError AnnotationProcessorFactory
I'm trying to compute webservices.
Reading documentation I found that I have to use <apt> ant task to create artifacts and war.
I currently use jdk1.5 with Jboss and jaxwx2.0 of glassfish.
I got this error :
An exception has occurred in apt (1.6.0).....
java.lang.NoClassDefFoundError: com/sun/mirror/apt/AnnotationProcessorFactory
...
Can somebody tell me what to do ?
[425 byte] By [
ydriuttia] at [2007-11-27 5:23:57]

# 1
> I'm trying to compute webservices.
> Reading documentation I found that I have to use
> <apt> ant task to create artifacts and war.
> I currently use jdk1.5 with Jboss and jaxwx2.0 of
> glassfish.
> I got this error :
>
> An exception has occurred in apt (1.6.0).....
> java.lang.NoClassDefFoundError:
> com/sun/mirror/apt/AnnotationProcessorFactory
> ...
>
> Can somebody tell me what to do ?
Your exception message indicates you're (trying to) run the apt in JDK 6, not JDK 5. It sounds like your paths aren't set up properly.