org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/simple-webservice]]

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    tomee webservice doesn't deploy - asm error - Unable to create annotation scanner for web module simple-webservice: 43626

    Stack Overflow | 8 months ago | stackexchange57483
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/simple-webservice]]

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      43626

      at org.apache.xbean.asm5.ClassReader.readClass()
    2. Apache XBean :: ASM 5 shaded (repackaged)
      ClassReader.accept
      1. org.apache.xbean.asm5.ClassReader.readClass(Unknown Source)
      2. org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
      3. org.apache.xbean.asm5.ClassReader.accept(Unknown Source)
      3 frames
    3. Apache XBean :: Finder shaded (repackaged)
      AnnotationFinder.<init>
      1. org.apache.xbean.finder.AnnotationFinder.readClassDef(AnnotationFinder.java:1170)
      2. org.apache.xbean.finder.AnnotationFinder.<init>(AnnotationFinder.java:147)
      3. org.apache.xbean.finder.AnnotationFinder.<init>(AnnotationFinder.java:160)
      3 frames
    4. OpenEJB :: OSGi :: Core
      DeploymentLoader.load
      1. org.apache.openejb.config.FinderFactory$OpenEJBAnnotationFinder.<init>(FinderFactory.java:546)
      2. org.apache.openejb.config.FinderFactory.newFinder(FinderFactory.java:267)
      3. org.apache.openejb.config.FinderFactory.create(FinderFactory.java:80)
      4. org.apache.openejb.config.FinderFactory.createFinder(FinderFactory.java:69)
      5. org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:875)
      6. org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:231)
      6 frames
    5. OpenEJB :: TomEE :: Catalina
      GlobalListenerSupport.lifecycleEvent
      1. org.apache.tomee.catalina.TomcatWebAppBuilder.loadApplication(TomcatWebAppBuilder.java:2254)
      2. org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1151)
      3. org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1112)
      4. org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
      4 frames
    6. Glassfish Core
      HostConfig$DeployDirectory.run
      1. org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
      2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5093)
      3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
      4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
      5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
      7. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
      8. org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
      8 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5. java.lang.Thread.run(Unknown Source)
      5 frames