TagExtraInfo noclassfound problem(please help)
Some people have encountered this problem before but nobody seemed to have an answer for it, I digged a little bit deeper (as I am stuck and can't really move on to the next thing until I solve this) and I found a bit more.
I have got a jsp file, an actionform file, an actionclass file and struts-config.xml
I will post the files below as I don't think some of you would need them to solve this problem but you can always refer to it if needed.
What happens is that, when I try to execute the jsp file, it's constantly complaining the TaxExtraInfo is missing. Here is the message .
exception
javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagExtraInfo
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
java.net.URLClassLoader.access$000(URLClassLoader.java:56)
java.net.URLClassLoader$1.run(URLClassLoader.java:195)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1273)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:416)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:250)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
org.apache.jasper.compiler.Parser.parse(Parser.java:133)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:215)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
So, it took me awhile to go deep into the jar file to see what's going on, what I found is that the servlet-api.jar doesn't actually have such class exist (the jsp directory is empty), it's actually in the jsp-api.jar ( I am using Tomcat 6.0 btw). And then I had a look at my SDK j2ee.jar (which sort of redirect it to javaee.jar), inside javaee.jar, the TaxExtraInfo is actually defined as part of the servlet. (instead of havint the servlet package being splited into servlet-api and jsp-api).
What I did, I copied the j2ee.jar (along with javaee.jar and j2ee-svc.jar) into the ...tomcat6.0\lib directory, it got passed the noclassfound error and it ran into the web-app_2_3.dtd not found error (which is located in my C:\Sun\SDK\lib\dtds) and this is where I am at. I just don't know where to now, (btw, My SDK is 1.60)
This is what my classpath looks like .;C:\Sun\SDK\lib\j2ee.jar;C:\Sun\SDK\jdk\jre\lib\ext\mysql-connector-java-5.0.5-bin.jar;C:\Sun\SDK\jdk\jre\lib\ext\itext-2.0.1.jar;C:\Sun\SDK\jdk\jre\lib\ext\iTextAsian.jar;C:\Sun\SDK\jdk\jre\lib\ext\poi-2.5.1-final-20040804.jar;C:\Sun\SDK\jdk\jre\lib\ext\bcprov-jdk16-136.jar
I also tried to put the web-app_2_3.dtd into various locations but it still didn't work.
I will put all the related programs in next message. I would appreciate if anyone of you could take a look at this problem as I have already put quite a bit of effort in this, I just need some experienced people to point at the right place. Thx.....

