Hello,
I'm getting this error: java.lang.ClassNotFoundException:
com.sun.mirror.apt.AnnotationProcessorFactory, when I try to compile a
web-service project using jaxws-maven-plugin. I understand that this
problem relates to tools.jar. So having read the FAQ on the Maven site I
added this to my pom:
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6/version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
but this didn't fix the problem. I have read a few posts about this but
none have provided the answer. Has anyone solved this?
Thanks,
Seam