Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

error while running JSTL  RSS feed

 
gaurav chhabra
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Report post to moderator
sir
i m using JSTL and i have written all the three files in proper in right manner ,,,,, that is .class file , .tld file and .jsp file but it is giving the error .........

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Compiling 1 source file

C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\tag_f_jsp.java:74: cannot resolve symbol
symbol : class t2
location: class org.apache.jsp.tag_f_jsp
t2 _jspx_th_ram1_sita_0 = (t2) _jspx_tagPool_ram1_sita_nobody.get(t2.class);
^
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\tag_f_jsp.java:74: cannot resolve symbol
symbol : class t2
location: class org.apache.jsp.tag_f_jsp
t2 _jspx_th_ram1_sita_0 = (t2) _jspx_tagPool_ram1_sita_nobody.get(t2.class);
^
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\tag_f_jsp.java:74: cannot resolve symbol
symbol : class t2
location: class org.apache.jsp.tag_f_jsp
t2 _jspx_th_ram1_sita_0 = (t2) _jspx_tagPool_ram1_sita_nobody.get(t2.class);
^
3 errors


my class file named is t2 and it is not able to compile as i have already set the path to servlet.jar but i dont know that why this is giving the error .......
please help me out

thank you
gaurav
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not repeat the same question more than once. Please continue any discussion here.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!