ClassCastException in AbstractQuerydslProcessor.class #471
Apparently this line is causing me issues:
TypeMirror superTypeMirror = ((TypeElement)element).getSuperclass();
The problem is I use Spring and they have a setPackagesToScan option so that you do not need to use a persistence.xml. The problem with that is if I want to define custom user types to all entities it will not pick them up without a persistence annotation. Therefore I have a package-info.java that looks like below so that I don't need to add types to all of my @Entities on Joda classes. The apt-maven plugin is picking this up and attempting to cast it. There is a property on Element that can be checked to see if it is package before performing the cast.
The text was updated successfully, but these errors were encountered: