当前位置: 首页 > 知识库问答 >
问题:

java.lang.ClassNotFoundExcema:org.slf4j.从12.2.1.0升级时,Weblogic12.2.1.4.0中的记录器[重复]

冉俊德
2023-03-14

我正在将weblogic从12.2.1.0.0升级到12.2.1.4.0。Weblogic升级成功。但当我要启动服务器时,部署失败了。下面是完整的错误跟踪。我附上显示失败状态的管理控制台截图。你能帮我解决这个问题吗?部署状态为失败的Weblogic管理控制

weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.slf4j.Logger
    at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)
    at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)
    at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)
    at weblogic.application.utils.StateMachineDriver.nextStateInParallel(StateMachineDriver.java:144)
    at weblogic.application.internal.flow.ModuleStateDriver.parallelPrepare(ModuleStateDriver.java:46)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:75)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:729)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:66)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
    at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:166)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:41)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:193)
    at weblogic.management.deploy.internal.AppTransition$1.transitionAppInternal(AppTransition.java:32)
    at weblogic.management.deploy.internal.AppTransition.transitionApp(AppTransition.java:138)
    at weblogic.management.deploy.internal.ConfiguredDeployments$2.doItem(ConfiguredDeployments.java:741)
    at weblogic.management.deploy.internal.parallel.BucketInvoker.invoke(BucketInvoker.java:153)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionAppsParallel(ConfiguredDeployments.java:749)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:363)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:232)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:219)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:133)
    at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
    at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)
    at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)
    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
    at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:698)
    at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:78)
    at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:212)
    at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:235)
    at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:358)
    at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
    at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
    at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
    at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)
    at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)
    at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)
    at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
    at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
    at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
    at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
    at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

共有1个答案

晁开宇
2023-03-14

尝试包含此依赖项:

    <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.30</version>
    </dependency>
 类似资料:
  • 本文向大家介绍Xcode8、iOS10升级问题记录,包括了Xcode8、iOS10升级问题记录的使用技巧和注意事项,需要的朋友参考一下 1、webView的代理方法:   升级前: - (void)webView:(UIWebView *)webView didFailLoadWithError:(nullable NSError *)error   升级后: - (void)webView:(U

  • 本文向大家介绍Android studio升级4.1时遇到的问题记录,包括了Android studio升级4.1时遇到的问题记录的使用技巧和注意事项,需要的朋友参考一下 1.布局文件预览不了 百度搜索了好多办法,有要降低android sdk版本的,有要改Theme的都没有成功。   个人的解决办法:在布局文件的design界面,点击右上角的感叹号,如图1,      在下方展开的界面中点击图2

  • 我们刚刚从野蝇20升级到23,现在看到infinispan错误输出、进入日志和重试循环的问题。问题在启动后每秒发生100次,只有在集群的一个节点关闭时才会停止。 我们得到了下面的错误,它无限期地退出,在服务器之间使用大约30Mbs的带宽,而通常大约是10-30Kbs。错误的令人困惑的部分是节点1,它收到了来自节点2的错误,而节点2的错误是来自节点1的超时。我已经尝试从udp转移到tcp堆栈,但仍然

  • 第一步:在“MUI 现代界面定义结束”后面读取注册表中关于安装路径的键值,如果没有,就使用默认路径。 InstallDirRegKey HKCU "Software\eBook Workshop" "" 第二步:在主区段中把安装路径写入注册表。 WriteRegStr HKCU "Software\eBook Workshop" "" $INSTDIR 第三步:在卸载区段删除注册表中安装路径的

  • 我正在使用log4j进行日志记录。我有一个场景,我必须为不同的严重性使用单独的日志记录。例如,对于软件包foo,我必须在控制台中打印具有严重性ERROR的消息,而我必须在日志文件中打印具有严重性WARN的消息。我如何配置我的log4j.xml相同。

  • 介绍 本文档提供了从 Vant 2 到 Vant 3 的升级指南。 升级步骤 1. 升级 Vue 3 Vant 3 是基于 Vue 3 开发的,在使用 Vant 3 前,请将项目中的 Vue 升级到 3.0 以上版本。 2. 处理不兼容更新 Vant 2 到 Vant 3 存在一些不兼容更新,请仔细阅读下方的不兼容更新内容,并依次处理。 不兼容更新 组件命名调整 GoodsAction 商品导航组