Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » JSP Compilation Issue for Simple Web Application
JSP Compilation Issue for Simple Web Application [message #1287172] Mon, 07 April 2014 13:42
Andrew Stoneberg is currently offline Andrew StonebergFriend
Messages: 4
Registered: April 2014
Junior Member
New poster - so please redirect me if this is not the proper forum. It is not clear to me where this should be posted, so starting here...

I have a simple web application in which I am trying to render a JSP page. When trying to visit the page, I am hit with the following error: PWC6181: File /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd not found

To make sure my entire plugin was not messed up, I coded up a very simple Servlet to output some text. I was able to see the output, so I know the basic wirings are ok.

The contents of the page is merely:

<%@ taglib prefix="c" uri="h t tp : / /" %>

<c:out value="Hello World"/>



Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Webapp
Bundle-SymbolicName: org.eclipse.jetty.example.webapp;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: org.eclipse.jetty.example.webapp.Activator
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
Import-Package: javax.servlet;version="2.6.0",
Bundle-ClassPath: lib/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar,

My plugin.xml:

<?xml version="1.0"?>
  <extension point="org.eclipse.equinox.http.registry.servlets">
	<servlet alias="/jsp/*.jsp" class="org.eclipse.equinox.jsp.jasper.registry.JSPFactory:/WEB-INF/jsps"/>       

I am using Eclipse SDK 4.2.2 and my 'Target Platform' is merely the default 'Running Platform'. I do have org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar referenced in a /lib directory for the taglib definitions.

In the osgi console, I see that javax.servlet.jsp.resources package is resolved by javax.servlet.jsp_2.2.0.v201112011158.jar. Inspecting that jar, the file that is claimed to be missing is actually present.

Can anyone shed any light on what is going on here?

I have included an export of my project for the sake of reproducing.

Previous Topic:How to make those customized buttons to be left-aligned on main toolbar
Next Topic:How to activate plugin providing an IAdapterFactory?
Goto Forum:

Current Time: Sun May 27 12:16:31 GMT 2018

Powered by FUDForum. Page generated in 0.01378 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top