Hi this is because tomee provides JPA 2.0 API and hibernate 2.3 uses JPA 2.1 API, replace tomee api or use a JPA 2.0 version of hibernate solves it Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau
2014-02-06 Ingo Mahnke <[email protected]>: > I think trouble only within TomEE I suppose. > > We use "Hibernate 4.3.1.Final" during delpoyment on TomEE+ the following > error occurs > "java.lang.NoSuchMethodError: javax.persistence.Table.indexes()" > > I googled about this error and their was a lot to find. But nothing solved my > problem, so I try > eclipselink and it runs without any problem. > > > Ingo > > > > > > > >> Gesendet: Donnerstag, 06. Februar 2014 um 14:39 Uhr >> Von: Andy <[email protected]> >> An: [email protected] >> Betreff: Re: Aw: Setting up TomEE in IntelliJ IDEA >> >> I'd be interested to know what issues you had with Hibernate? I have >> used this in production for many years with no serious issues. >> >> Andy. >> >>
