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 Hibernate JIRA by Christian Bauer, 1 year ago
org.jpwh.model.complexschemas.naturalforeignkey.User cannot be cast to java.io.Serializable
via Hibernate JIRA by Christian Bauer, 1 year ago
org.jpwh.model.complexschemas.naturalforeignkey.User cannot be cast to java.io.Serializable
via openxava by oxoboxo
, 2 years ago
org.openxava.evtima.model.Episode cannot be cast to java.io.Serializable
java.lang.ClassCastException: org.jpwh.model.complexschemas.naturalforeignkey.User cannot be cast to java.io.Serializable	at org.hibernate.type.ManyToOneType.hydrate(ManyToOneType.java:157)	at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2807)	at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1545)