struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajil" <ra...@appliedcommerce.com>
Subject Migratring to struts 1.2.7 from struts1.0b
Date Tue, 25 Nov 2008 09:32:19 GMT
Hi All;

 

I am using struts beta version 1.0 in my application.  I am migrating this
application to struts v1.2.7.

 

I have corrected problems like error.isEmpty instead of errors.empty()  etc.
in my existing application.  And classes are compiled very well.

 

Now, I am facing problem with JSP.  I am not able to run the application.
It shows some error like:

 

org.apache.jasper.JasperException: Failed to load or instantiate
TagExtraInfo class: org.apache.struts.taglib.EnumerateTei
 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:51)
 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409
)
 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:281
)
 
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoIm
pl.java:423)
 
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja
va:249)
 
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java
:163)
 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
        org.apache.jasper.compiler.Parser.parse(Parser.java:127)
 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:21
2)
 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
        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:5
64)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
02)
 
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)
 
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)

root cause 

java.lang.ClassNotFoundException: org.apache.struts.taglib.EnumerateTei
 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1363)
 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1209)
 
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoIm
pl.java:420)
 
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.ja
va:249)
 
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java
:163)
 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:424)
        org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
        org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)
        org.apache.jasper.compiler.Parser.parse(Parser.java:127)
 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:21
2)
 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)
        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:5
64)
 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
02)
 
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)
 
org.securityfilter.filter.SecurityFilter.doFilter(SecurityFilter.java:188)

 

 

Is there any change in TagLibrary also?  Do I have to replace my tag
libraries and their reference in web.xml file ?  Do I need to change the JSP
files also?

 

Please suggest..

 

regards,

Rajil Davda

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message