Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

error while running JSTL

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 67637
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Please do not repeat the same question more than once. Please continue any discussion here.
 
Morning came much too soon and it brought along a friend named Margarita Hangover, and a tiny ad.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
    Bookmark Topic Watch Topic
  • New Topic