You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chris Russell <ch...@oracle.com> on 2007/06/25 22:44:59 UTC

Compile error

Hi,

I'm trying to compile my project (mvn compile) and I'm getting the 
following error:

[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Compilation failure

Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_06). 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.
java.lang.AssertionError: cannot find method 
javax.persistence.NamedQuery.hints()
        at 
com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.findAccessMethod(ClassReader.java:1074)
        at 
com.sun.tools.javac.jvm.ClassReader$AnnotationDeproxy.deproxyCompound(ClassReader.java:1057)
....

This project has compiled successfully before. Is there a was to tell 
which file is causing the problem? I did add Persistence.jar as a 
dependency (where is where NamedQuery lives), but it didn't help.

I'm really not sure where to go from here.

Thanks in advance,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org