我正在weblogic10.3上运行项目,但我想在weblogic 9.2上运行。需要对jsp标签进行哪些更改?
weblogic 10.3和9.2之间有什么区别?
<Jan 31, 2011 5:24:36 PM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal? _nfpb=true&_pageLabel=HomePage1.>
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.tag.TagInfoEx.getSetterTypes(TagInfoEx.java:491)
at javelin.jsp.tag.TagInfoEx.initAttributeTypes(TagInfoEx.java:397)
at javelin.jsp.JspActionChecker.checkActionStart(JspActionChecker.java:287)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:217)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:231)
at javelin.jsp.JspActionChecker.check(JspActionChecker.java:157)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:78)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.tag.TagInfoEx.getSetterTypes(TagInfoEx.java:491)
at javelin.jsp.tag.TagInfoEx.initAttributeTypes(TagInfoEx.java:397)
at javelin.jsp.JspActionChecker.checkActionStart(JspActionChecker.java:287)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:217)
at javelin.jsp.JspActionChecker.checkActions(JspActionChecker.java:231)
at javelin.jsp.JspActionChecker.check(JspActionChecker.java:157)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:78)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspActionChecker.check(JspActionChecker.java:163)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:78)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.signActionAll(JspScriptTransform.java:590)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:188)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.signActionAll(JspScriptTransform.java:590)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:188)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at javelin.jsp.JspScriptTransform.transformAll(JspScriptTransform.java:746)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:195)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at javelin.jsp.JspScriptTransform.transformAll(JspScriptTransform.java:746)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:195)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at javelin.jsp.JspScriptTransform.transformRemainActions(JspScriptTransform.java:725)
at javelin.jsp.JspScriptTransform.transformPage(JspScriptTransform.java:217)
at javelin.jsp.JspScriptTransform.<init>(JspScriptTransform.java:154)
at javelin.jsp.JspCheckContext.check(JspCheckContext.java:89)
at javelin.jsp.JspAnalyzer.check(JspAnalyzer.java:59)
at javelin.ProxySourceFile._check(ProxySourceFile.java:152)
at javelin.SourceFile.masterCheck(SourceFile.java:777)
at javelin.SourceFile.check(SourceFile.java:297)
at javelin.SourceFile.check(SourceFile.java:318)
at javelin.ProxySourceFile.codeGen(ProxySourceFile.java:222)
at javelin.SourceFile.codeGen(SourceFile.java:310)
at javelin.client.ClientUtilsImpl$CodeGenJob.run(ClientUtilsImpl.java:1105)
at javelin.client.Job.performJob(Job.java:81)
at javelin.client.ThreadPool$WorkerThread.run(ThreadPool.java:215)
java.lang.NoClassDefFoundError: com/sun/mirror/declaration/ClassDeclaration
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at javelin.mirror.Utilities.createMirrorType(Utilities.java:68)
at javelin.mirror.Utilities.createReferenceType(Utilities.java:85)
at javelin.ProxySourceFile$ProxyEnv.getTypeDeclaration(ProxySourceFile.java:806)
at javelin.jsp.JspLibrary.getClassInfo(JspLibrary.java:1259)
at javelin.jsp.JspScriptTransform.getHandlerInfo(JspScriptTransform.java:1524)
at javelin.jsp.JspScriptTransform.transformAction(JspScriptTransform.java:1185)
at <Console encountered the following error Exception during RequestDispatcher.include().
Throwable: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /layouts/tableBaseLayout_netui.jsp
tableBaseLayout_netui.jsp:1:1: The superclass specified could not be resolved.
<%@ page language="java" %>
^-------------------------^
tableBaseLayout_netui.jsp:16:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="configAreaIntroduction"/><br/>
^-----------------------------^
tableBaseLayout_netui.jsp:16:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="configAreaIntroduction"/><br/>
^-----------------------------^
tableBaseLayout_netui.jsp:22:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="table"/>
^-----------------------------^
tableBaseLayout_netui.jsp:22:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
<beehive-template:includeSection name="table"/>
^-----------------------------^
Stack Trace:
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /layouts/tableBaseLayout_netui.jsp
tableBaseLayout_netui.jsp:1:1: The superclass specified could not be resolved.
%@ page language="java" %>
^-------------------------^
tableBaseLayout_netui.jsp:16:14: The tag handler class was not found "org.apache.beehive.netui.tags.template.IncludeSection".
答案 0 :(得分:0)
最好查看更改日志:
http://download.oracle.com/docs/cd/E15051_01/wls/docs103/upgrade/compat.html
和
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/notes/new.html
如果您使用的是EJB 3,它将无法在版本9上运行。
WebLogic将允许您向后兼容,但无法保证向前兼容性。