Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Siegfried Heintze, 1 year ago
sun.reflect.generics.reflectiveObjects.GenericArrayTypeImpl cannot be cast to java.lang.Class
via Stack Overflow by KjetilNordin
, 2 years ago
sun.reflect.generics.reflectiveObjects.GenericArrayTypeImpl cannot be cast to java.lang.Class
via Stack Overflow by Jan A.
, 2 years ago
sun.reflect.generics.reflectiveObjects.GenericArrayTypeImpl cannot be cast to java.lang.Class
java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.GenericArrayTypeImpl cannot be cast to java.lang.Class at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createArrayInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.createArrayInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.calcRef(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.getTarget(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.calcRef(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.TypeRefImpl.getTarget(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(Unknown Source) at java.util.AbstractList$Itr.next(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source) at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.xml.bind.ContextFinder.newInstance(Unknown Source) at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at com.heintze.DemoMaps.main(DemoMaps.java:108)