You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by HWinMT <ho...@gmail.com> on 2016/06/16 19:11:02 UTC

NoSuchMethodError: javax/persistence/SynchronizationType;

Tomcat 8.5.3 / TomEE 7

Caused by: java.lang.NoSuchMethodError:
javax.persistence.PersistenceContext.synchronization()Ljavax/persistence/SynchronizationType;

The error happens starting an application .war.



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/NoSuchMethodError-javax-persistence-SynchronizationType-tp4678937.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: NoSuchMethodError: javax/persistence/SynchronizationType;

Posted by HWinMT <ho...@gmail.com>.
Thanks for all your help with this Romain Manni-Bucau.

TomEE 7 / Tomcat 8.5.3 / Netbeans 8.1





--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/NoSuchMethodError-javax-persistence-SynchronizationType-tp4678937p4678941.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: NoSuchMethodError: javax/persistence/SynchronizationType;

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

Remove annotation-api.jar feom tomcat libs
Le 16 juin 2016 21:50, "HWinMT" <ho...@gmail.com> a écrit :

> Tomcat 8.5.3 / TomEE 7
>
> Caused by: java.lang.NoSuchMethodError:
>
> javax.persistence.PersistenceContext.synchronization()Ljavax/persistence/SynchronizationType;
>
> The error happens starting an application .war.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/NoSuchMethodError-javax-persistence-SynchronizationType-tp4678937.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>