The value for the useBean class attribute SecurityOrgPages is invalid. in tomcat 5.5
Aproject work fine in tomcat 4.1, but upgrade apache-tomcat-4.1.34/jdk 1.4 to apache-tomcat-5.5.25, jdk 1.5, ecounter the following error.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /jsp/security/securityOrgPages.jsp(4,0) The value for the useBean class attribute SecurityOrgPages is invalid.
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1175)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1117)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2216)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2222)
org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2166)
org.apache.jasper.compiler.Generator.generate(Generator.java:3322)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.newmodern.etm.security.servlet.SecurityOrgServlet.service(SecurityOrgServlet.java:367)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.25 logs.
in jsp /jsp/security/securityOrgPages.jsp change below bean classs as absolute path ok, why??? but it work fine in tomcat 4.1.
Solution:
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/4082/viewspace-1002625/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- jQuery [attribute*=value]jQuery
- jQuery [attribute~=value]jQuery
- jQuery [attribute|=value]jQuery
- jQuery [attribute$=value]jQuery
- jQuery [attribute^=value]jQuery
- jQuery [attribute!=value]jQuery
- jQuery [attribute=value]jQuery
- ERROR getting 'android:label' attribute: attribute is not a string valueErrorAndroid
- According to TLD or attribute directive in tag file, attribute value does not accept any expressionExpress
- Truncating HTML attribute value in SharePoint DataFormWebPartHTMLORMWeb
- get_attribute ('textContent') 和 get_attribute ('value') 有什麼區別
- css中attribute selector及pseudo classCSS
- According to TLD or attribute directive in tag file, attribute value does not accept any expressions報錯解決辦法Express
- 使用JSTL庫的時候: According to TLD or attribute directive in tag file, attribute value does not accept anyJS
- jsp:useBean用法JSBean
- jdk1.5與Tomcat5.5配置JDKTomcat
- An invalid XML character (Unicode: 0x10) was found in the value of attributeXMLUnicode
- The Mac is invalid. 為什麼?Mac
- Tomcat5.5 Admin的安裝與配置Tomcat
- Tomcat5.5+Jdk1.5下配置jdon出錯TomcatJDK
- Tomcat 5.5 配置 MySQL 資料庫連線池TomcatMySql資料庫
- tomcat使用cookies快取的時候中文報錯解決辦法 java.lang.IllegalArgumentException: Control character in cookie value or attribute.TomcatCookie快取JavaException
- VUE前端打包報錯:TypeError: Class extends value undefined is not a constructor or nullVue前端ErrorUndefinedStructNull
- PHP 對字串進行十六進位制替換 invalid character in attribute valuePHP字串
- Error: Attribute application@label value=(@string/appname) from AndroidManifestErrorAPPAndroid
- Target runtime apache tomcat v5.5 is not defined錯誤ApacheTomcat
- JSPjsp:useBean介紹JSBean
- web server apache tomcat11-10-Class LoaderWebServerApacheTomcat
- 測試案例testWeb在tomcat5.0和tomcat5.5中的配置區別?WebTomcat
- jdk1.4+tomcat5.5可配最大記憶體問題JDKTomcat記憶體
- jsp標籤jsp:useBean用法JSBean
- jsp:useBean的亂碼處理JSBean
- 特此記錄下----“長征式的安裝配置tomcat5.5”Tomcat
- JDK 1.6 + Eclipse 3.2.2 + MyEclipse 5.5GA + Tomcat 5.5.23JDKEclipseTomcat
- Tomcat的class載入的優先順序一覽Tomcat
- 使用jsp:useBean的時候出錯!JSBean
- 矽基流動 The parameter is invalid. Please check againAI
- SpringBoot升級到3.2.0報錯Invalid value type for attribute ‘factoryBeanObjectType‘: java.lang.StringSpring BootBeanObjectJava