Ah, I see. I applied metagen to tests in envers, not main. Seems an
odd error given that condition. Hardy?
I fixed my mistake.
On Fri 22 Nov 2013 06:39:06 PM CST, Steve Ebersole wrote:
> This looks to be a bug in the JPA metamodel generator:
>
> Caused by: java.lang.ClassCastException:
> com.
This looks to be a bug in the JPA metamodel generator:
Caused by: java.lang.ClassCastException:
com.sun.tools.javac.code.Symbol$TypeSymbol cannot be cast to
javax.lang.model.element.TypeElement
at
org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor$ContainsAttributeTypeVisitor.visitDecla
:hibernate-envers:compileTestJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':hibernate-envers:compileTestJava'.
> java.lang.ClassCastException: com.sun.tools.javac.code.Symbol$TypeSymbol
> cannot be cast to javax.lang.model.element.TypeElement