iteye_9587 2011-08-01 01:17
浏览 594
已采纳

java.lang.ClassFormatError 问题

20110801 01:24:50 ERROR - StandardContext.listenerStart(3768) | Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.xxx.business.services.impl.PaymentPresentServiceImpl] for bean with name 'paymentPresentServiceImpl' defined in ServletContext resource [/WEB-INF/applicationContext-services.xml]: problem with class file or dependent class; nested exception is java.lang.ClassFormatError: (com/xxx/business/services/impl/PaymentPresentServiceImpl) bad magic number at offset=0
Caused by:
[color=red]java.lang.ClassFormatError: (com/xxx/business/services/impl/PaymentPresentServiceImpl) bad magic number at offset=0[/color]

操作系统:AIX 5.3
应用服务器:Apache Tomcat 5.5.27
JDK版本:1.5.0

bash-3.00# java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20060511 (SR2))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20060504 (JIT enabled)
J9VM - 20060501_06428_bHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA)
JCL - 20060511a

:cry: ???

  • 写回答

9条回答 默认 最新

  • iihero_ 《SybaseASE15.X全程实践》书籍作者 2011-08-03 11:29
    关注

    用AIX的jdk重新编译一下吧

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(8条)

报告相同问题?

悬赏问题

  • ¥50 易语言把MYSQL数据库中的数据添加至组合框
  • ¥20 求数据集和代码#有偿答复
  • ¥15 关于下拉菜单选项关联的问题
  • ¥20 java-OJ-健康体检
  • ¥15 rs485的上拉下拉,不会对a-b<-200mv有影响吗,就是接受时,对判断逻辑0有影响吗
  • ¥15 使用phpstudy在云服务器上搭建个人网站
  • ¥15 应该如何判断含间隙的曲柄摇杆机构,轴与轴承是否发生了碰撞?
  • ¥15 vue3+express部署到nginx
  • ¥20 搭建pt1000三线制高精度测温电路
  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况