Hi this is done
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-05-30 16:34 GMT+02:00 Alex Soto <[email protected]>: > Hi today I have tried to use java 8 with Apache TomEE (as a test), and next > exception is thrown: > > Caused by: org.apache.tomee.catalina.TomEERuntimeException: > org.apache.openejb.OpenEJBException: Unable to create annotation scanner > for web module test: null > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2062) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1099) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1054) > at > > org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) > at > > org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) > at > > org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5355) > at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) > ... 99 more > Caused by: org.apache.openejb.OpenEJBException: Unable to create annotation > scanner for web module test: null > at > > org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:838) > at > org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:219) > at > > org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2060) > ... 106 more > Caused by: java.lang.IllegalArgumentException > at org.apache.xbean.asm4.ClassReader.<init>(Unknown Source) > at org.apache.xbean.asm4.ClassReader.<init>(Unknown Source) > at org.apache.xbean.asm4.ClassReader.<init>(Unknown Source) > at > > org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1120) > at > org.apache.xbean.finder.AnnotationFinder.<init>(AnnotationFinder.java:139) > at > org.apache.xbean.finder.AnnotationFinder.<init>(AnnotationFinder.java:152) > at > > org.apache.xbean.finder.AsynchronousInheritanceAnnotationFinder.<init>(AsynchronousInheritanceAnnotationFinder.java:43) > at > org.apache.openejb.config.FinderFactory.newFinder(FinderFactory.java:114) > at org.apache.openejb.config.FinderFactory.create(FinderFactory.java:68) > at > org.apache.openejb.config.FinderFactory.createFinder(FinderFactory.java:57) > at > > org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:830) > ... 108 more > > I think that this is because Apache TomEE is using ASM4 and not 5. Are you > planning to update to ASM 5 for Apache TomEE 1.7.0? > > -- > +----------------------------------------------------------+ > Alex Soto Bueno > www.lordofthejars.com > +----------------------------------------------------------+ >
