> [INFO] Compilation failure
> Failure executing javac, but could not parse the error:
> An exception has occurred in the compiler (1.6.0_22). Please file a bug
> at the Java Developer Connection (http://java.sun.com/webapps/bugreport)
> after checking the Bug Parade for duplicates. Include your program and
> the following diagnostic in your report.  Thank you.
> com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
> javax.persistence.TemporalType not found

Probably you are using some JPA classes in your project but do not
have the <dependency> set properly in your pom.

Otherwise, this is just a Sun/Oracle Javac bug that your code has
triggered, and nothing to do with Maven. I've seen people post issues
like this a couple times a year on this list -- in fact someone posted
a very similar issue just a week or two ago that concerned JPA
classes.

You can get more information out of Javac by compiling the code
directly (not via Maven, but via javac on the command line), setting
the classpath with -cp, and use -verbose so you get all the available
information out of the compiler.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to