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 Stack Overflow by user414967
, 1 year ago
This exception has no message.
org.hibernate.AnnotationException: A Foreign key refering com.timesheet.entities.Role from com.timesheet.entities.Project has the wrong number of column. should be 1	at org.hibernate.cfg.annotations.TableBinder.bindFk(TableBinder.java:273)	at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java:89)	at org.hibernate.cfg.AnnotationConfiguration.processEndOfQueue(AnnotationConfiguration.java:456)	at org.hibernate.cfg.AnnotationConfiguration.processFkSecondPassInOrder(AnnotationConfiguration.java:438)	at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:309)	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1319)	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)	at com.timesheet.dao.BaseDao.(BaseDao.java:18)	at Client2.main(Client2.java:23)