javax.enterprise.inject.spi.DeploymentException

couldn't start owb context

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • couldn't start owb context
  • couldn't start owb context
  • via Stack Overflow by rzo
    , 5 months ago
    couldn't start owb context
  • Stack trace

    • javax.enterprise.inject.spi.DeploymentException: couldn't start owb context at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:195) at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:60) at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1382) at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1115) at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1405) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1395) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.openejb.OpenEJBRuntimeException: org.apache.webbeans.exception.WebBeansConfigurationException: Problem while loading CDI Extensions at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:200) at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:193) ... 13 more Caused by: org.apache.webbeans.exception.WebBeansConfigurationException: Problem while loading CDI Extensions at org.apache.webbeans.service.DefaultLoaderService.load(DefaultLoaderService.java:68) at org.apache.openejb.cdi.OptimizedLoaderService.loadExtensions(OptimizedLoaderService.java:88) at org.apache.openejb.cdi.OptimizedLoaderService.load(OptimizedLoaderService.java:82) at org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:79) at org.apache.webbeans.portable.events.ExtensionLoader.loadExtensionServices(ExtensionLoader.java:70) at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:214) at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196) ... 14 more Caused by: java.util.ServiceConfigurationError: javax.enterprise.inject.spi.Extension: Provider org.apache.bval.cdi.BValExtension could not be instantiated at java.util.ServiceLoader.fail(ServiceLoader.java:232) at java.util.ServiceLoader.access$100(ServiceLoader.java:185) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.apache.webbeans.service.DefaultLoaderService.load(DefaultLoaderService.java:59) ... 20 more Caused by: java.lang.AbstractMethodError at org.apache.bval.cdi.BValExtension.<init>(BValExtension.java:94) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) ... 23 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.