博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
java.lang.ClassFormatError:...illegal JVM_CONSTANT_Class name: [L[Ljava/lang/String;;错误
阅读量:6906 次
发布时间:2019-06-27

本文共 2084 字,大约阅读时间需要 6 分钟。

【早期文章迁移过来】

OS :RedHat Enterprise Server 5.4

JDK:Jrockit 1.6.0_05
WLS:10.3.0.0
应用访问中有些jsp页面无法显示,IE报错500,后台日志报错如下:

java.lang.ClassFormatError: jsp_servlet/_customermanage/__customerlist : illegal JVM_CONSTANT_Class name: [L[Ljava/lang/String;;.>

<2011-3-3 ???02?41?¤?3? CST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@177b024 - appName: 'chongqing', name: 'chongqing', context-path: '/chongqing', spec-version: '2.5'] Root cause of ServletException.

javax.servlet.ServletException: [HTTP:101249][weblogic.servlet.internal.WebAppServletContext@177b024 - appName: 'chongqing', name: 'chongqing', context-path: '/chongqing', spec-version: '2.5']: Servlet class jsp_servlet._customermanage.__customerlist for servlet /CustomerManage/CustomerList.jsp could not be loaded because the requested class was not found in the classpath .

java.lang.ClassFormatError: jsp_servlet/_customermanage/__customerlist : illegal JVM_CONSTANT_Class name: [L[Ljava/lang/String;;.

        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:533)

        at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:262)

        at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)

        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)

        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)

解决方法:

1.在MEM_ARGS中增加参数-Xverify:none
   -Xverify:<option>With no parameters, enables the verifier. Note that this is the default; used on its own, this option has no effect. 
   -Xverify:allThis option enables maximum verification. 
   -Xverify:noneThis option disables the verifier. 
   -Xverify:remoteThis option enables strict class-loading checks on remotely loaded classes.
2.如果还是没有解决,就要打补丁
 

Patches are available for :

------------------------------------------      PATCH REPOSITORY INFORMATION ------------------------------------------   WLS Version | Patch ID |  Passcode --------------+----------+----------------     10.3 GA   | HEH5     |  JW6PS6W4

转载于:https://www.cnblogs.com/helloweblogic/articles/10840582.html

你可能感兴趣的文章
Liferay 启动过程分析3-处理启动事件(第四部分)
查看>>
Rust语言开发基础(七)Rust 特性
查看>>
CountDownLatch示例
查看>>
Windows 8 相关资源 MSDN原版
查看>>
NetScaler VPX 10实施1:NetScaler入门
查看>>
如何优化eclipse
查看>>
互联互通网络质量分析
查看>>
记一次OOM排查解决
查看>>
AIX 6.1 + HACMP 6.1 + Oracle 11g双机实施 (3) --- AIX 6.1 Cloning an Oracle Home
查看>>
阮一峰之webpack-demos(译)
查看>>
(2)在Windows 7 x64端设置Python环境
查看>>
Set
查看>>
安装和配置mstmtp、mutt
查看>>
Mac操作postgres——使用homebrew
查看>>
解决低版本Xcode不支持高版本iOS真机调试的问题
查看>>
ubuntu限制本地网速
查看>>
div浮动层
查看>>
那些年我用awk时踩过的坑——awk使用注意事项
查看>>
逻辑卷LVM 应用之详解! VG LV用法 !
查看>>
服务器遇到大流量***的处理过程
查看>>