org.hibernate.MappingException: Unable to find physical table: File

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 Ole Jørgen Aurebekk, 1 year ago
Unable to find physical table: File
via Hibernate JIRA by Ole Jørgen Aurebekk, 1 year ago
Unable to find physical table: File
via Hibernate JIRA by Stephen Chin, 1 year ago
Unable to find physical table: BoatInXml
via Hibernate JIRA by Stephen Chin, 1 year ago
Unable to find physical table: BoatInXml
org.hibernate.MappingException: Unable to find physical table: File
at org.hibernate.cfg.Mappings.getLogicalTableName(Mappings.java:473)
at org.hibernate.cfg.Mappings.getLogicalTableName(Mappings.java:520)
at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:866)
at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:527)
at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:468)
at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35)
at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1049)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:302)
at undefined.HibernateSessionFactory.currentSession(HibernateSessionFactory.java:15)
at undefined.Filefail.main(Filefail.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

Users with the same issue

6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
36 more bugmates

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