net.sf.hibernate.PropertyNotFoundException: Object class java.util.Locale must declare a default (no-argument) constructor

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

net.sf.hibernate.PropertyNotFoundException: Object class java.util.Locale must declare a default (no-argument) constructor
at net.sf.hibernate.util.ReflectHelper.getDefaultConstructor(ReflectHelper.java:138)
at net.sf.hibernate.persister.AbstractEntityPersister.(AbstractEntityPersister.java:557)
at net.sf.hibernate.persister.EntityPersister.(EntityPersister.java:716)
at net.sf.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:42)
at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:137)
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:768)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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