com.sun.xml.bind.api.AccessorException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection]

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 Kuali JIRA by Jonathan Keller, 1 year ago
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection]
via Kuali JIRA by Jonathan Keller, 1 year ago
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection]
com.sun.xml.bind.api.AccessorException: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection]
at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:318)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.writeObject(JAXBEncoderDecoder.java:548)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:232)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.