java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String

Oracle Community | 852965 | 6 years 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

    Sun Role Manager 4.1 – WebLogic server not getting started

    Oracle Community | 6 years ago | 852965
    java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
  2. 0

    The main list for end users to discuss Apache CXF ()

    gmane.org | 1 year ago
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Class cannot be cast to java.lang.String

      at org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClassName()
    2. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractBeanDefinition.getBeanClassName(AbstractBeanDefinition.java:364)
      2. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:377)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1135)
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:522)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:754)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:422)
      7 frames
    3. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
      2 frames
    4. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
      3 frames
    5. Atmosphere weblogic
      EventsManager$FireContextListenerAction.run
      1. weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
      1 frame
    6. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    7. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(Unknown Source)
      1 frame
    8. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
      2. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1784)
      3. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999)
      4. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371)
      5. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468)
      5 frames
    9. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      1 frame
    10. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      1 frame
    11. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
      4 frames
    12. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      1 frame
    13. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
      3 frames
    14. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
      1 frame
    15. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      2. weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:16)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
      3 frames
    16. weblogic.deploy.internal
      BasicDeployment.activateFromServerLifecycle
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
      3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
      3 frames
    17. weblogic.management.deploy
      DeploymentServerService.start
      1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
      2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
      3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
      4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
      5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
      6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
      7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
      8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
      8 frames
    18. weblogic.t3.srvr
      SubsystemRequest.run
      1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
      1 frame
    19. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      2 frames