I replaced openwebbeans 1.2.6 JARs with openwebbeans 1.5.0 JARs in tomee+ (1.7.1) lib folder, started tomee+ (via NetBeans 8) and tomee+ failed to start because of the following:
INFO: ******************************************************************************** Apr 13, 2015 9:09:48 AM org.apache.openejb.OpenEJB$Instance <init> INFO: openejb.home = C:\apache-tomee-plus-1.7.1 Apr 13, 2015 9:09:48 AM org.apache.openejb.OpenEJB$Instance <init> INFO: openejb.base = C:\apache-tomee-plus-1.7.1 Apr 13, 2015 9:09:48 AM org.apache.openejb.cdi.CdiBuilder initializeOWB INFO: Created new singletonService org.apache.openejb.cdi.ThreadSingletonServiceImpl@e50a6f6 java.lang.NoClassDefFoundError: javax/enterprise/inject/spi/DefinitionException at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.apache.openejb.cdi.CdiBuilder.initializeOWB(CdiBuilder.java:67) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:120) at org.apache.openejb.OpenEJB.init(OpenEJB.java:298) at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:253) at org.apache.tomee.catalina.ServerListener.install(ServerListener.java:168) at org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:55) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110) at org.apache.catalina.startup.Catalina.load(Catalina.java:638) at org.apache.catalina.startup.Catalina.load(Catalina.java:663) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454) Caused by: java.lang.ClassNotFoundException: javax.enterprise.inject.spi.DefinitionException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 29 more On Mon, Apr 13, 2015 at 3:28 AM, Mark Struberg <strub...@yahoo.de> wrote: > Hi! > > It’s a great pleasure to call a VOTE for releasing Apache > OpenWebBeans-1.5.0. > OWB-1.5.x is the first version to support CDI-1.2 which is a maintenance > version of the CDI-1.1 JSR-346 specification. > > The staging repository can be found here: > > https://repository.apache.org/content/repositories/orgapacheopenwebbeans-1010/ > > The Release Notes can be found in the file readme/README.txt and online > under: > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310844&version=12328661 > > The SVN source TAG is (r1673124): > https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.5.0/ > > The source release can be found here: > > https://repository.apache.org/content/repositories/orgapacheopenwebbeans-1010/org/apache/openwebbeans/openwebbeans/1.5.0/openwebbeans-1.5.0-source-release.zip > sha1: a129d7df62d44c0ce5f7cbdc72b000396d91cb01 > > The binary release is here: > > https://repository.apache.org/content/repositories/orgapacheopenwebbeans-1010/org/apache/openwebbeans/openwebbeans-distribution/1.5.0/openwebbeans-distribution-1.5.0-binary.zip > sha1: 78d22c788ffcdfa82ca219bf433e37bf7abb3397 > > My Key can be found here > https://svn.apache.org/repos/asf/openwebbeans/tags/openwebbeans-1.5.0/KEYS > > > The VOTE will be open for 72 hours. > [+1] approve > [+0] meh, don’t care > [-1] stop, I’ve found a ${fish} in there > > > txs and LieGrue, > your OpenWebBeans team