项目集成birt发布到weblogic上,出错java.lang.NoSuchMethodError: initStandardObjects,解决方法
2009-05-11 14:00
627 查看
错误信息:
####<2009-5-13 上午10时41分19秒 CST> <Error> <HTTP> <mothion> <examplesServer> <[ACTIVE]
ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>
<1242182479790> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@33b69d -
appName: 'test', name: 'test', context-path: '/test', spec-version: 'null', request:
weblogic.servlet.internal.ServletRequestImpl@c1ef2c[
POST /test/logonReport.do HTTP/1.1
Accept: */*
Referer: http://192.168.0.1/test/logonReport.do
Accept-Language: zh-cn
Content-
Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR
3.0.04506.648; .NET CLR 3.5.21022)
Content-Length: 148
Connection: Keep-Alive
Cache-Control:
no-cache
Cookie: ADMINCONSOLESESSION=tKyhKKwbBTshV2JvrLfG64p61JtmcbMnQHnHvzd6TLvyGGn8nwJJ!-
1177562492; JSESSIONID=pRQMKKzdvTbnxkZZvThFzkRJG0GhWhmD7njCq0xGgTYhcyybSbYg!-1783816437
]]
Root cause of ServletException.
java.lang.NoSuchMethodError: initStandardObjects
at org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:80)
at org.eclipse.birt.report.engine.executor.ExecutionContext.<init>
(ExecutionContext.java:313)
at org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:160)
at org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:176)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.<init>
(RunAndRenderTask.java:54)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.createRunAndRenderTask
(ReportEngineHelper.java:292)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.createRunAndRenderTask
(ReportEngine.java:303)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet
(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute
(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute
(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
新建weblogic.xml使用记事本另存为utf-8编码,copy到web-info目录下,重启服务
服务启动不起来肯定是xml文件编码错误,一定使用记事本编辑,不要用UltraEdit
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<session-descriptor></session-descriptor>
<jsp-descriptor></jsp-descriptor>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
####<2009-5-13 上午10时41分19秒 CST> <Error> <HTTP> <mothion> <examplesServer> <[ACTIVE]
ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <>
<1242182479790> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@33b69d -
appName: 'test', name: 'test', context-path: '/test', spec-version: 'null', request:
weblogic.servlet.internal.ServletRequestImpl@c1ef2c[
POST /test/logonReport.do HTTP/1.1
Accept: */*
Referer: http://192.168.0.1/test/logonReport.do
Accept-Language: zh-cn
Content-
Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR
3.0.04506.648; .NET CLR 3.5.21022)
Content-Length: 148
Connection: Keep-Alive
Cache-Control:
no-cache
Cookie: ADMINCONSOLESESSION=tKyhKKwbBTshV2JvrLfG64p61JtmcbMnQHnHvzd6TLvyGGn8nwJJ!-
1177562492; JSESSIONID=pRQMKKzdvTbnxkZZvThFzkRJG0GhWhmD7njCq0xGgTYhcyybSbYg!-1783816437
]]
Root cause of ServletException.
java.lang.NoSuchMethodError: initStandardObjects
at org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:80)
at org.eclipse.birt.report.engine.executor.ExecutionContext.<init>
(ExecutionContext.java:313)
at org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:160)
at org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:176)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.<init>
(RunAndRenderTask.java:54)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.createRunAndRenderTask
(ReportEngineHelper.java:292)
at org.eclipse.birt.report.engine.api.impl.ReportEngine.createRunAndRenderTask
(ReportEngine.java:303)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet
(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:43)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run
(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs
(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute
(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute
(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
新建weblogic.xml使用记事本另存为utf-8编码,copy到web-info目录下,重启服务
服务启动不起来肯定是xml文件编码错误,一定使用记事本编辑,不要用UltraEdit
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd">
<session-descriptor></session-descriptor>
<jsp-descriptor></jsp-descriptor>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>
相关文章推荐
- 集成jcaptcha到spring-boot+maven项目中时出现java.lang.NoSuchMethodError: com.jhlabs.image.WaterFilter的问题的解决方法
- 在tomcat上发布web应用时,报java.lang.NullPointerException错误的解决方法
- Exception in thread "main" java.lang.IllegalArgumentException:解决方法
- 解决Maven项目发布报错:Publishing failed Could not publish to the server. java.lang.IndexOutOfBoundsException
- exception in thread main java.lang.NoClassDefFoundError wrong name解决方法
- Exception in thread "main" java.lang.OutOfMemoryError: Java heap space(Java堆空间内存溢出)解决方法
- weblogic java.lang.OutOfMemoryError: PermGen space 问题解决方法
- 发送邮件时遇到mail包冲突异常Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/LineInputStream 解决方法
- WebLogic发布点Activate Changes时候出错:java.lang.LinkageError: loader constraint violation: loader
- android studio加载 so文件以及出错。android java.lang.UnsatisfiedLinkError: 分析及解决方法
- Exception in thread "main" java.lang.NoClassDefFoundError 问题及其解决方法
- Exception in thread "main" java.lang.OutOfMemoryError: Java heap space(Java堆空间内存溢出)解决方法
- java.lang.Exception: libsvm classes not in CLASSPATH!问题解决方法
- struts2做项目报错:java.lang.RuntimeException: java.lang.reflect.InvocationTargetException 的解决方法
- 启动maven项目报错:java.lang.ClassNotFoundException: ContextLoaderListener解决方法
- java.lang.IllegalArgumentException: Illegal character in path at index ZZ: XXXXXXX 解决方法
- ORACLE解决登陆em状态暂挂方法 java.lang.Exception: Exception in sending Request :: null
- java.lang.UnsatisfiedLinkError: no XX in java.library.path解决方法
- 一个解决过程:Servlet [某路径xxx] in web application [/项目xxx] threw load() exception和java.lang.ClassNotFoundException XXX
- 进入em后,报错:java.lang.Exception: Exception in sending Request : null的解决方法