tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: old API 'file:/C:/Program%20Files/tomcat-8.5.3-tomee7/lib/annotations-api.jar' was found on the classpath
Date Wed, 15 Jun 2016 22:36:13 GMT
Hi

Default tomcat annotation-api.jar needs to be removed. It has old version
of the api.
Le 16 juin 2016 00:15, "HWinMT" <howard.watson.jr@gmail.com> a écrit :

> In trying to resolve an issue with Netbeans 8.1 / Tomee 7 I am dropping an
> existing .war file into Tomcat 8.5.3 / TomEE 7 and starting the Tomcat from
> the command prompt. This a .war file from a current project on Tomcat
> 7.0.69
> / TomEE 1.7.4.
>
> Deployment fails with:
>
> 15-Jun-2016 15:32:58.322 WARNING [localhost-startStop-1]
>
> org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.getLookupMethod
> Method 'lookup' is not available for 'javax.ejb.EJB'. The old API
> 'file:/C:/Program%20Files/tomcat-8.5.3-tomee7/lib/annotations-api.jar' was
> found on the classpath.
>
> 15-Jun-2016 15:32:58.337 SEVERE [localhost-startStop-1]
> sun.reflect.NativeMethodAccessorImpl.invoke ContainerBase.addChild: start:
>  org.apache.catalina.LifecycleException: Failed to start component
>
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Metrics]]
>
> Caused by: java.lang.NoSuchMethodError:
>
> javax.persistence.PersistenceContext.synchronization()Ljavax/persistence/SynchronizationType;
>
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/old-API-file-C-Program-20Files-tomcat-8-5-3-tomee7-lib-annotations-api-jar-was-found-on-the-classpath-tp4678911.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message