• Post Reply 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

org.apache.taglibs cannot be resolved or is not a type  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i'm developing a jsp-struts-application in the following environment:

- Eclipse 3.0
- Struts 1.2.4
- Tomcat 5.0.28
- JSTL 1.1.1
- Eclipse-Tomcat-Plugin from SYSDEO
- JDK 5
- Windows XP

I installed all libraries as supposed in the appropriate install-files
(standard.jar and jstl.jar in WEB-INF/lib struts.jar also installed correctly).

Sometimes the page works (jstl-tags are executed and an expected html-output-file is generated, But the error still resides in my projects work-directory inside
Eclipse.)

While trying to view a jsp-file in a browser, sometime following error
occurs:
----------------------------------------------------------------------

type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request. exception
javax.servlet.ServletException: Unresolved compilation problems:
org.apache.taglibs cannot be resolved or is not a type
org.apache.taglibs cannot be resolved
org.apache.taglibs cannot be resolved or is not a type


org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont
extImpl.java:825)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContex
tImpl.java:758)
org.apache.jsp.project_jsp._jspService(project_jsp.java:197)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.Error: Unresolved compilation problems:
org.apache.taglibs cannot be resolved or is not a type
org.apache.taglibs cannot be resolved
org.apache.taglibs cannot be resolved or is not a type


org.apache.jsp.project_jsp._jspx_meth_fmt_setLocale_0(project_jsp.java:2
24)
org.apache.jsp.project_jsp._jspService(project_jsp.java:171)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


Any ideas?

Regards,
Ahmet
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ahmet,

The error for org.apache.taglibs comes cos you don't have a jar file installed for java to understand what you are talking about. So you need to install the jar files into the bin folder which would be under the WebContent directory in your eclipse.

You can download the jar files from:https://tomcat.apache.org/download-taglibs.cgi

Make sure you download all the 4 available jars.

After downloading, simply copy the jars from your download folder and paste them directly into your eclipse  project -> WebContent -> bin.

Refresh the projects panel and you'll not see the error anymore.

 
A wop bop a lu bop a womp bam boom! Tiny ad:
Create Edit Print & Convert PDF Using Free API with Java
https://coderanch.com/wiki/703735/Create-Convert-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!