-
Bug
-
Resolution: Done
-
Major
-
None
-
None
Description of problem:
Deploying test web service gives on JBoss startup:
Caused by: java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable
at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:251)
Generated web service class has the following element which has issues with the JAXB binding:
@XmlElementRefs(
)
protected JAXBElement<String> [] salutationAndName;
Web service was generated from WSDL with <jaxb:globalBindings collectionType="indexed" /> and the following schema:
<xs:complexType name="Greetings">
<xs:sequence maxOccurs="unbounded">
<xs:element name="Salutation" type="xsd:string"/>
<xs:element name="Name" type="xsd:string"/>
</xs:sequence>
</xs:complexType>
- is blocked by
-
WFLY-6369 CXF-6799: java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable
- Closed
-
CXF-6799 Loading...
- is duplicated by
-
JBEAP-3800 java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.reflect.TypeVariable
- Closed
- is incorporated by
-
JBEAP-3712 [GSS](7.0.z) Upgrade CXF from 3.1.4 to 3.1.6
- Verified