发现类字节,但是在部署EAR时,defineClass()失败 [英] Class bytes found but defineClass()failed for error when deploying EAR
本文介绍了发现类字节,但是在部署EAR时,defineClass()失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
找到的类字节,但是对于
,defineClass()失败。 类在那里,被发现是什么原因导致的?
解决方案
我想出来,该项目正在使用JDK 1.7编译,Weblogic服务器已安装1.6。
我将该项目与JDK 1.6,它现在正在工作!
I am trying to deploy and old code base with EJB 1.1 stuff to Weblogic 10.3.6 and keep getting this strange error Class bytes found but defineClass()failed for
.
The classes are there and being found what is causing this?
解决方案
This is here, because this was a hard thing to find on the internet.
I figured it out, the project was getting compiled with JDK 1.7 and the Weblogic server has 1.6 installed.
I recompiled the project with JDK 1.6 and it is working now!
这篇关于发现类字节,但是在部署EAR时,defineClass()失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文