org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.liferay.portal.spring.context.PortalContextLoaderListener

liferay.com | 2 weeks ago
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

    Liferay 7 Glassfish 4.1 installation - Forums | Liferay

    liferay.com | 10 months ago
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.liferay.portal.spring.context.PortalContextLoaderListener
  2. 0

    Liferay 7 Glassfish 4.1 installation - Community Forums | Liferay

    liferay.com | 2 weeks ago
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.liferay.portal.spring.context.PortalContextLoaderListener
  3. 0

    Liferay 7 Glassfish 4.1 installation - Forums communautaires | Liferay

    liferay.com | 4 months ago
    org.apache.catalina.LifecycleException: java.lang.IllegalArgumentException: javax.servlet.ServletException: com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class: class com.liferay.portal.spring.context.PortalContextLoaderListener
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [GLASSFISH-20539] [fishcat] GF b89 : SEVERE: Exception during lifecycle processing - Java.net JIRA

    java.net | 1 year ago
    org.glassfish.deployment.common.DeploymentException: CDI deployment failure:Error loading class com.sun.jersey.guice.spi.container.servlet.GuiceContainer

    22 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      com.liferay.registry.dependency.ServiceDependencyListener

      at org.glassfish.web.loader.WebappClassLoader.loadClass()
    2. Web Container Common Utilities
      WebappClassLoader.loadClass
      1. org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1783)
      2. org.glassfish.web.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1633)
      2 frames
    3. Java RT
      Class.getDeclaredConstructors
      1. java.lang.Class.getDeclaredConstructors0(Native Method)
      2. java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
      3. java.lang.Class.getDeclaredConstructors(Class.java:2020)
      3 frames
    4. Weld Implementation
      GetDeclaredConstructorsAction.run
      1. org.jboss.weld.security.GetDeclaredConstructorsAction.run(GetDeclaredConstructorsAction.java:30)
      2. org.jboss.weld.security.GetDeclaredConstructorsAction.run(GetDeclaredConstructorsAction.java:22)
      2 frames
    5. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    6. Weld Implementation
      ClassTransformer$TransformClassToBackedAnnotatedType.load
      1. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:161)
      2. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.computeValue(BackedAnnotatedType.java:158)
      3. org.jboss.weld.util.LazyValueHolder.get(LazyValueHolder.java:35)
      4. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$EagerlyInitializedLazyValueHolder.<init>(BackedAnnotatedType.java:154)
      5. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.<init>(BackedAnnotatedType.java:158)
      6. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType$BackedAnnotatedConstructors.<init>(BackedAnnotatedType.java:158)
      7. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.<init>(BackedAnnotatedType.java:64)
      8. org.jboss.weld.annotated.slim.backed.BackedAnnotatedType.of(BackedAnnotatedType.java:47)
      9. org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:83)
      10. org.jboss.weld.resources.ClassTransformer$TransformClassToBackedAnnotatedType.load(ClassTransformer.java:80)
      10 frames
    7. Guava
      LocalCache$LocalLoadingCache.get
      1. com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3589)
      2. com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2374)
      3. com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2337)
      4. com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2252)
      5. com.google.common.cache.LocalCache.get(LocalCache.java:3990)
      6. com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3994)
      7. com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4878)
      7 frames
    8. Weld Implementation
      BeanManagerImpl.createAnnotatedType
      1. org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49)
      2. org.jboss.weld.util.cache.LoadingCacheUtils.getCastCacheValue(LoadingCacheUtils.java:74)
      3. org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:175)
      4. org.jboss.weld.resources.ClassTransformer.getBackedAnnotatedType(ClassTransformer.java:194)
      5. org.jboss.weld.manager.BeanManagerImpl.createAnnotatedType(BeanManagerImpl.java:1214)
      5 frames
    9. Embedded GlassFish Web
      JCDIServiceImpl.createManagedObject
      1. org.glassfish.weld.services.JCDIServiceImpl.createManagedObject(JCDIServiceImpl.java:322)
      2. org.glassfish.weld.services.JCDIServiceImpl.createManagedObject(JCDIServiceImpl.java:263)
      2 frames
    10. Container Common
      InjectionManagerImpl.createManagedObject
      1. com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:485)
      2. com.sun.enterprise.container.common.impl.managedbean.ManagedBeanManagerImpl.createManagedBean(ManagedBeanManagerImpl.java:439)
      3. com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:336)
      3 frames
    11. Glassfish
      WebModule.createListenerInstance
      1. com.sun.enterprise.web.WebContainer.createListenerInstance(WebContainer.java:1023)
      2. com.sun.enterprise.web.WebModule.createListenerInstance(WebModule.java:2158)
      2 frames
    12. Glassfish Core
      StandardContext.loadListener
      1. org.apache.catalina.core.StandardContext.createListener(StandardContext.java:3421)
      2. org.apache.catalina.core.StandardContext.loadListener(StandardContext.java:5446)
      2 frames
    13. Glassfish
      WebModule.loadListener
      1. com.sun.enterprise.web.WebModule.loadListener(WebModule.java:1788)
      1 frame
    14. Glassfish Core
      StandardContext.addApplicationListener
      1. org.apache.catalina.core.StandardContext.addListener(StandardContext.java:3300)
      2. org.apache.catalina.core.StandardContext.addApplicationListener(StandardContext.java:2508)
      2 frames
    15. Glassfish
      WebModuleContextConfig.start
      1. com.sun.enterprise.web.TomcatDeploymentConfig.configureApplicationListener(TomcatDeploymentConfig.java:251)
      2. com.sun.enterprise.web.TomcatDeploymentConfig.configureWebModule(TomcatDeploymentConfig.java:110)
      3. com.sun.enterprise.web.WebModuleContextConfig.start(WebModuleContextConfig.java:264)
      3 frames
    16. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:486)
      2. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:163)
      3. org.apache.catalina.core.StandardContext.start(StandardContext.java:5895)
      3 frames
    17. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:691)
      1 frame
    18. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1041)
      2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:1024)
      3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:747)
      3 frames
    19. Glassfish
      WebApplication.start
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2286)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1932)
      3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:139)
      3 frames
    20. Private APIs of Glassfish
      ApplicationInfo.start
      1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:122)
      2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:291)
      3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:352)
      3 frames
    21. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:500)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      2 frames
    22. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
      1 frame
    23. Kernel Classes
      CommandRunnerImpl$2$1.run
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:539)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:535)
      2 frames
    24. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:360)
      2 frames
    25. Kernel Classes
      CommandRunnerImpl$3.run
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:534)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:565)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl$3.run(CommandRunnerImpl.java:557)
      3 frames
    26. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:360)
      2 frames
    27. Kernel Classes
      CommandRunnerImpl$ExecutionContext.execute
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:556)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1464)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1722)
      5 frames
    28. GlassFish Admin
      TemplateListOfResource.createResource
      1. org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:253)
      2. org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:231)
      3. org.glassfish.admin.rest.utils.ResourceUtil.runCommand(ResourceUtil.java:275)
      4. org.glassfish.admin.rest.resources.TemplateListOfResource.createResource(TemplateListOfResource.java:133)
      4 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    30. jersey-core-server
      ServerRuntime$1.run
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:151)
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:171)
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:152)
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:104)
      6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:387)
      7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:331)
      8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:103)
      9. org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:271)
      9 frames
    31. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:297)
      6 frames
    32. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:254)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1028)
      2 frames
    33. jersey-container-grizzly2-http
      GrizzlyHttpContainer.service
      1. org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:365)
      1 frame
    34. GlassFish Admin
      RestAdapter.service
      1. org.glassfish.admin.rest.adapter.RestAdapter$2.service(RestAdapter.java:316)
      2. org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:179)
      2 frames
    35. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167)
      2 frames
    36. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201)
      2. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175)
      3. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235)
      3 frames
    37. Grizzly
      ProcessorExecutor.execute
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      6 frames
    38. Nucleus Grizzly jars Combining
      PUFilter.handleRead
      1. org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
      1 frame
    39. Grizzly
      ProcessorExecutor.execute
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      6 frames
    40. Nucleus Grizzly jars Combining
      PUFilter.handleRead
      1. org.glassfish.grizzly.portunif.PUFilter.handleRead(PUFilter.java:231)
      1 frame
    41. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545)
      13 frames
    42. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame