java.lang.NoClassDefFoundError: sun/io/CharacterEncoding

Oracle Community | Montherz | 3 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

    BI Publisher failed to start in weblogic

    Oracle Community | 3 years ago | Montherz
    java.lang.NoClassDefFoundError: sun/io/CharacterEncoding

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      sun/io/CharacterEncoding

      at oracle.j2ee.ws.common.util.TestPageUtils.encode()
    2. oracle.j2ee.ws
      ProviderServlet.init
      1. oracle.j2ee.ws.common.util.TestPageUtils.encode(TestPageUtils.java:216)
      2. oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.createTestPagePath(WebServiceOperation.java:276)
      3. oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.initialize(WebServiceOperation.java:253)
      4. oracle.j2ee.ws.server.management.mbeans.WebServiceOperation.<init>(WebServiceOperation.java:244)
      5. oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceOperationMBean(GenericProviderInterceptorPipeline.java:175)
      6. oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceOperationMBeans(GenericProviderInterceptorPipeline.java:250)
      7. oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.registerWebServiceMBeans(GenericProviderInterceptorPipeline.java:161)
      8. oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.<init>(AbstractProviderInterceptorPipeline.java:130)
      9. oracle.j2ee.ws.server.provider.GenericProviderInterceptorPipeline.<init>(GenericProviderInterceptorPipeline.java:103)
      10. oracle.j2ee.ws.server.provider.GenericProviderPlatform.createProviderInterceptorPipeline(GenericProviderPlatform.java:211)
      11. oracle.j2ee.ws.server.provider.management.ProviderInterceptorPipelineManager.createProviderInterceptorPipeline(ProviderInterceptorPipelineManager.java:101)
      12. oracle.j2ee.ws.server.provider.management.ProviderInterceptorPipelineManager.createProviderInterceptorPipeline(ProviderInterceptorPipelineManager.java:80)
      13. oracle.j2ee.ws.server.provider.ProviderProcessor.configureProviderManagement(ProviderProcessor.java:353)
      14. oracle.j2ee.ws.server.provider.ProviderProcessor.init(ProviderProcessor.java:198)
      15. oracle.j2ee.ws.server.provider.ProviderServlet.initializeProcessor(ProviderServlet.java:619)
      16. oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:302)
      17. oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:231)
      17 frames
    3. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:241)
      1 frame
    4. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
      1 frame
    5. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    6. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    7. Atmosphere weblogic
      WebAppModule.start
      1. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
      2. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
      3. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
      4. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
      5. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
      6. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
      7. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
      8. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
      9. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
      10. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
      10 frames
    8. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      1 frame
    9. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      1 frame
    10. weblogic.application.internal
      ModuleStateDriver$3.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
      3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
      4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
      4 frames
    11. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      1 frame
    12. weblogic.application.internal
      BaseDeployment$2.next
      1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
      2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
      3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
      3 frames
    13. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      1 frame
    14. weblogic.application.internal
      DeploymentStateChecker.activate
      1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
      2. weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
      3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
      3 frames
    15. weblogic.deploy.internal
      DeploymentServiceDispatcher.commit
      1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
      2. weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
      3. weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
      4. weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
      5. weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:149)
      6. weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
      7. weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
      8. weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
      9. weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
      10. weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
      10 frames
    16. weblogic.deploy.service
      DeploymentReceiverCallbackDeliverer$2.run
      1. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
      2. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
      3. weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
      3 frames
    17. weblogic.work
      ExecuteThread.run
      1. weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
      2. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      3. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
      3 frames