反编后class文件不能识别
公司现在要修改一个以前的项目,项目的JDK版本是1.4.2_08,我也是用这个版本编译的class文件,但是class文件一上服务器就不能被加载,求高手指点,小弟拜谢了! --------------------编程问答-------------------- 如果是同样版本编译的,不应该不能使用啊,你看看你服务器上的jre的版本是多少? --------------------编程问答-------------------- 没错误提示么? --------------------编程问答-------------------- 服务器上jre版本是1.4.2_18,错误提示我看不到啊,服务器不在本地啊 --------------------编程问答--------------------服务器上jre版本是1.4.2_18 --------------------编程问答-------------------- 服务器上jre版本是1.4.2_18 --------------------编程问答-------------------- 那你是怎么知道不能被加载的呢? --------------------编程问答-------------------- 有日志信息呢,加载失败啊 --------------------编程问答-------------------- 错误贴出来啊,错误里面有没有出现version关键字的,如果有的话就有可能是jre不匹配的问题了 --------------------编程问答-------------------- 数据库等配置信息没错吧 --------------------编程问答-------------------- 错误日志:
05 Jun 2013 16:49:01:184 fixed request URL= http://10.46.101.198:6001/skandiaReport/callcenter/report92_1/begin.do
05 Jun 2013 16:49:01:185 ConversationID=null; Protocol=java-call; URI=/skandiaReport/callcenter/callcenterDBLink/callcenterDBlink.jcx; Method=getBranchList_branch; Phase=none; Callback=null
05 Jun 2013 16:49:01:185 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=$context; Method=com.bea.control.ControlContext$Callback.onAcquire()
05 Jun 2013 16:49:01:190 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=$context; Method=com.bea.control.ControlContext$Callback.onRelease()
05 Jun 2013 16:49:01:191 Handling uncaught Throwable java.lang.NullPointerException
正常日志:
05 Jun 2013 17:34:38:780 fixed request URL= http://10.46.101.198:6001/skandiaReport/callcenter/report92_1/begin.do
05 Jun 2013 17:34:38:782 ConversationID=null; Protocol=java-call; URI=/skandiaReport/callcenter/callcenterDBLink/callcenterDBlink.jcx; Method=getBranchList_branch; Phase=none; Callback=null
05 Jun 2013 17:34:38:782 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=$context; Method=com.bea.control.ControlContext$Callback.onAcquire()
05 Jun 2013 17:34:38:782 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=$context; Method=weblogic.jws.control.Context$Callback.onCreate()
05 Jun 2013 17:34:38:782 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=top-level; Method=callcenter.callcenterDBLink.callcenterDBlink.getBranchList_branch()
05 Jun 2013 17:34:38:782 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:$context; Method=com.bea.control.ControlContext$Callback.onAcquire()
05 Jun 2013 17:34:38:783 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:$context; Method=weblogic.jws.control.Context$Callback.onCreate()
05 Jun 2013 17:34:38:783 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink; Method=common.commonDBlink.commonDBlink.getBranchList_branch()
05 Jun 2013 17:34:38:783 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:commonvalue:context; Method=com.bea.control.ControlContext$Callback.onAcquire()
05 Jun 2013 17:34:38:783 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:commonvalue:context; Method=weblogic.jws.control.Context$Callback.onCreate()
05 Jun 2013 17:34:38:783 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:commonvalue; Method=com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onAcquire()
05 Jun 2013 17:34:38:784 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:commonvalue; Method=common.commonDBlink.commonValue.getBranchList_branch()
05 Jun 2013 17:34:38:788 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=$context; Method=com.bea.control.ControlContext$Callback.onRelease()
05 Jun 2013 17:34:38:788 ConversationID=null; Protocol=java-call; URI=/skandiaReport/callcenter/callcenterDBLink/callcenterDBlink.jcx; Method=getBranchList_branch; Phase=none; Callback=null; Result=success
05 Jun 2013 17:34:38:788 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:commonvalue:context; Method=com.bea.control.ControlContext$Callback.onRelease()
05 Jun 2013 17:34:38:788 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:commonvalue; Method=com.bea.wlw.runtime.core.control.DatabaseControlImpl.context_onRelease()
05 Jun 2013 17:34:38:788 ConversationID=null; TopLevelClass=callcenter.callcenterDBLink.callcenterDBlink; Id=commondblink:$context; Method=com.bea.control.ControlContext$Callback.onRelease()
这个东西我贴出来也没人知道啊
补充:Java , Web 开发