aspose file tools*
The moose likes Struts and the fly likes Struts Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Error" Watch "Struts Error" New topic
Author

Struts Error

SonalPSPL Bagmar
Greenhorn

Joined: Jul 29, 2004
Posts: 22
Hi all,
plz help me solving following err...during running a struts application


javax.servlet.ServletException: javax/servlet/jsp/tagext/TagExtraInfo
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:256)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)


root cause

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
java.lang.ClassLoader.loadClass(ClassLoader.java:262)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1296)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1230)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:453)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:291)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:205)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:458)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:523)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1577)
org.apache.jasper.compiler.Parser.parse(Parser.java:171)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:258)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:553)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Please, you MUST check java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo class file is exist in /webapps/WEB-INF/lib/somefile.jar or not ???


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
TagExtraInfo class is in j2ee.jar, check your lib directory.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Error