在WEBLOGIC中出现下面的异常的时候,可以通过如下方式进行解决;
<jsp-config>
<jsp-property-group>
<description>
WEB项目配置
</description>
<display-name>JSPConfiguration</display-name>
<url-pattern>*.jsp</url-pattern>
<el-ignored>false</el-ignored>
<page-encoding>gbk</page-encoding>
<scripting-invalid>false</scripting-invalid>
<!--这句居然引起webloic错误!!!! include-coda/-->
</jsp-property-group>
</jsp-config>
java.io.FileNotFoundException: D:\BEA\user_projects\domains\iaip_domain\servers\
AdminServer\tmp\_WL_user\IAIPEAR\s9rzv0\war (拒绝访问。)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at workshop.util.filesystem.file.WlFileSystem.getInputStream(WlFileSyste
m.java:98)
at workshop.util.filesystem.FS.getInputStream(FS.java:216)
at javelin.jsp.JspParser.readStaticInclude(JspParser.java:3296)
at javelin.jsp.JspParser.parseStaticInclude(JspParser.java:3227)
at javelin.jsp.JspParser.processImplicitIncludes(JspParser.java:3344)
at javelin.jsp.JspParser.jspParse(JspParser.java:697)
at javelin.jsp.JspParser._parse(JspParser.java:520)
at javelin.jsp.JspParser.parse(JspParser.java:513)
at javelin.jsp.JspAnalyzer.parseFile(JspAnalyzer.java:113)
at javelin.jsp.JspAnalyzer.parse(JspAnalyzer.java:101)
at javelin.ProxySourceFile.parse(ProxySourceFile.java:117)
at javelin.SourceFile.getAst(SourceFile.java:564)
at javelin.SourceFile.getAst(SourceFile.java:538)
at javelin.SourceFile.check(SourceFile.java:340)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:232)
at javelin.SourceFile.codeGen(SourceFile.java:332)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:11
26)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
<2011-10-24 下午04时05分05秒 CST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet
.internal.WebAppServletContext@1ebf0d3 - appName: 'IAIPEAR', name: 'IAIP', conte
xt-path: '/IAIP'] Root cause of ServletException.
java.lang.NullPointerException
at javelin.jsp.JspAnalyzer.parse(JspAnalyzer.java:104)
at javelin.ProxySourceFile.parse(ProxySourceFile.java:117)
at javelin.SourceFile.getAst(SourceFile.java:564)
at javelin.SourceFile.getAst(SourceFile.java:538)
at javelin.SourceFile.check(SourceFile.java:340)
Truncated. see log file for complete stacktrace
>
本文参考于以下地址:http://robin88129.iteye.com/blog/675995