Hello, My JAVA_HOME variable points to: C:\Program Files\Java\jdk1.6.0_06
Regards, Seam -----Original Message----- From: Roman Kournjaev [mailto:[email protected]] Sent: 29 June 2009 16:36 To: Maven Users List Subject: Re: tools.jar Hi You ll probably will get rid of this error if you run will have the JDK , instaead of the JRE in your PATH. Check your JAVA_HOME , it should always point to a JDK when working with maven. The tools.jar is already inside the jdk in its the lib folder. Roman On Mon, Jun 29, 2009 at 6:29 PM, McElroy Sean <[email protected]>wrote: > 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 > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
