首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >J反演没有使用WebLogic12.X

J反演没有使用WebLogic12.X
EN

Stack Overflow用户
提问于 2018-05-24 13:36:21
回答 1查看 519关注 0票数 0

问题描述:无法用JRebel弹出weblogic服务器

错误:--当我试图弹出服务器时,我得到了折叠错误

代码语言:javascript
复制
JRebel: ERROR Class 'java.lang.ClassLoader' could not be processed by com.zeroturnaround.javarebel.bv@null: org.zeroturnaround.bundled.javassist.bytecode.DuplicateMemberException: duplicate method: _jr$defineClass in java.lang.ClassLoader
        at org.zeroturnaround.bundled.javassist.bytecode.ClassFile.testExistingMethod(SourceFile:721)
        at org.zeroturnaround.bundled.javassist.bytecode.ClassFile.addMethod(SourceFile:696)
        at org.zeroturnaround.bundled.javassist.CtClassType.addMethod(SourceFile:1411)
        at com.zeroturnaround.javarebel.bv.process(SourceFile:40)
        at org.zeroturnaround.javarebel.integration.support.JavassistClassBytecodeProcessor.process(SourceFile:79)
        at com.zeroturnaround.javarebel.vu.a(SourceFile:376)
        at com.zeroturnaround.javarebel.vu.a(SourceFile:365)
        at com.zeroturnaround.javarebel.vu.a(SourceFile:350)
        at com.zeroturnaround.javarebel.f.runBootClassProcessors(SourceFile:245)
        at com.zeroturnaround.javarebel.bl.a(SourceFile:115)
        at com.zeroturnaround.javarebel.gib.a(SourceFile:63)
        at com.zeroturnaround.javarebel.gfc.a(SourceFile:59)
        at com.zeroturnaround.javarebel.gfc.doTransform(SourceFile:39)
        at com.zeroturnaround.jrebelbase.reorder.a.transform(SourceFile:182)
        at com.zeroturnaround.jrebelbase.reorder.a.transform(SourceFile:148)
        at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java)
        at sun.instrument.InstrumentationImpl.redefineClasses0(Native Method)
        at sun.instrument.InstrumentationImpl.redefineClasses(InstrumentationImpl.java:170)
        at com.mercury.opal.capture.jdk15.agent.ProbeClassFileTransformer.instrumentAndReplace(ProbeClassFileTransformer.java:369)
        at com.mercury.opal.capture.jdk15.agent.ProbeClassFileTransformer.reinstrumentClass(ProbeClassFileTransformer.java:331)
        at com.mercury.opal.capture.jdk15.agent.ProbeClassFileTransformer.patchClassLoaders(ProbeClassFileTransformer.java:137)
        at com.mercury.opal.capture.jdk15.agent.ProbeClassFileTransformer.<init>(ProbeClassFileTransformer.java:98)
        at com.mercury.opal.capture.jdk15.agent.InstrumentationAgent.premain(InstrumentationAgent.java:66)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at sun.instrument.InstrumentationImpl._jrLoadClassAndStartAgent(InstrumentationImpl.java:386)
        at com.zeroturnaround.jrebelbase.reorder.b.a(SourceFile:31)
        at com.zeroturnaround.jrebelbase.reorder.a.c(SourceFile:129)
        at com.zeroturnaround.jrebelbase.reorder.a.a(SourceFile:118)
        at com.zeroturnaround.javarebel.gec.a(SourceFile:309)
        at com.zeroturnaround.javarebel.gec.deferredInitHook(SourceFile:149)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java)

Config详细信息:

启动脚本中的以下行是基于J反叛根文件夹的

代码语言:javascript
复制
export REBEL_HOME=[JRebel root folder]
export JAVA_OPTIONS="-agentpath:$REBEL_HOME/lib/libjrebel64.so -Drebel.remoting_plugin=true $JAVA_OPTIONS"

版本:

Weblogic : 12.2.1.2.0

J反演: 7.1.2

有人能帮我过来吗?

EN

回答 1

Stack Overflow用户

发布于 2018-05-24 13:57:29

请尝试使用最新版本的JRebel,而不是7.1.2。在https://zeroturnaround.com/software/jrebel/download/prev-releases/下载它。

如果由于某种原因,结果仍然相同,也可以删除REBEL_HOME/bootcache并重试。如果您仍然看到异常,请写信给support@zeroturnaround.com和来自REBEL_HOMEjrebel.log,他们将能够帮助您解决问题。

票数 4
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50510811

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档