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 Suresh Gopalakrishnan, 1 year ago
via Hibernate JIRA by Suresh Gopalakrishnan, 2 years ago
via Coderanch by Gregg Bolinger, 1 year ago
Unknown entity class: java.lang.Integer
via Hibernate JIRA by Sunil Reddy, 1 year ago
via Hibernate JIRA by Sunil Reddy, 2 years ago
via hibernate.org by Unknown author, 2 years ago
net.sf.hibernate.MappingException: Unknown entity class: java.lang.Boolean	at net.sf.hibernate.impl.SessionFactoryImpl.getPersister(SessionFactoryImpl.java:347)	at net.sf.hibernate.impl.SessionImpl.getClassPersister(SessionImpl.java:2710)	at net.sf.hibernate.impl.SessionImpl.getPersister(SessionImpl.java:2717)	at net.sf.hibernate.impl.SessionImpl.getEntityIdentifierIfNotUnsaved(SessionImpl.java:2779)	at net.sf.hibernate.type.EntityType.getIdentifier(EntityType.java:66)	at net.sf.hibernate.type.EntityType.isDirty(EntityType.java:139)	at net.sf.hibernate.type.TypeFactory.findDirty(TypeFactory.java:225)	at net.sf.hibernate.persister.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:276)	at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2528)	at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2478)	at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2280)	at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2259)	at org.springframework.orm.hibernate.HibernateAccessor.flushIfNecessary(HibernateAccessor.java:214)