webtier@glassfish.java.net

Re: Library missing for jsp:include

From: John Yeary <johnyeary_at_gmail.com>
Date: Fri, 9 Mar 2012 16:59:38 -0500

Why are you trying to mix libraries? See the article below. Don't mix
facelets and jsp libraries.

http://stackoverflow.com/questions/6322127/can-not-find-the-tag-library-descriptor-for-http-java-sun-com-jsf-facelets
____________________________

John Yeary
____________________________

<http://javaevangelist.blogspot.com/> <https://twitter.com/jyeary>
<http://www.youtube.com/johnyeary>
  <http://www.linkedin.com/in/jyeary>
<https://plus.google.com/112146428878473069965>
  <http://www.facebook.com/jyeary>
<http://feeds.feedburner.com/JavaEvangelistJohnYearysBlog>
  <http://netbeans.org/people/84414-jyeary>
____________________________

"Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy much nor suffer much, because they live in the gray twilight
that knows not victory nor defeat."
-- Theodore Roosevelt



On Fri, Mar 9, 2012 at 12:39 PM, <forums_at_java.net> wrote:

> I am declaring the jsp namespace in my xhtml faces pages using
> xmlns:jsp="http://java.sun.**com/jsp/page <http://java.sun.com/jsp/page>"
>
> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD
> XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/**DTD/xhtml1-transitional.dtd<http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>">
> <html
> xmlns="http://www.w3.org/1999/**xhtml <http://www.w3.org/1999/xhtml>"
>
> xmlns:h="http://java.sun.com/**jsf/html <http://java.sun.com/jsf/html>"
>
> xmlns:f="http://java.sun.com/**jsf/core <http://java.sun.com/jsf/core>"
>
> xmlns:ui="http://java.sun.com/**jsf/facelets<http://java.sun.com/jsf/facelets>"
>
> xmlns:c="http://java.sun.com/**jsp/jstl/core<http://java.sun.com/jsp/jstl/core>"
>
> xmlns:fn="http://java.sun.com/**jsp/jstl/functions<http://java.sun.com/jsp/jstl/functions>"
>
> xmlns:jsp="http://java.sun.**com/jsp/page <http://java.sun.com/jsp/page>"
> xml:lang="en" lang="en">
> However the jsp:include directive is not being processed, just rendered. My
> IDE (Netbeans) tells me that it cannot find the library for this
> namespace. I
> am using maven with the following pom.xml file. I have another application
> deployed into the same container, which uses a similar structure, but is
> not
> using maven. I can't for the live of me figure out what library I need to
> include to get any of the jsp:directives working.
>
> <project xmlns="http://maven.apache.**org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>
> "
> xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>
> "
> xsi:schemaLocation="http://**maven.apache.org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>
> http://maven.apache.org/xsd/**maven-4.0.0.xsd<http://maven.apache.org/xsd/maven-4.0.0.xsd>
> ">
> <modelVersion>4.0.0</**modelVersion> <groupId>com.abc.demo</**groupId>
> <artifactId>JSFDebug2</**artifactId> <packaging>war</packaging>
> <version>1.0-SNAPSHOT</**version> <name>JSFDebug2</name>
> <url>http://maven.apache.org</**url> <dependencies> <dependency>
> <groupId>javax.servlet</**groupId> <artifactId>servlet-api</**artifactId>
> <version>2.5</version> <scope>provided</scope> </dependency> <dependency>
> <groupId>javax.servlet.jsp</**groupId> <artifactId>jsp-api</**artifactId>
> <version>2.2</version> <scope>provided</scope> </dependency> <dependency>
> <groupId>org.glassfish</**groupId> <artifactId>javax.faces</**artifactId>
> <version>2.1.7</version> <scope>runtime</scope> </dependency> <dependency>
> <groupId>javax.servlet.jsp.**jstl</groupId> <artifactId>jstl-api</**
> artifactId>
> <version>1.2</version> <scope>runtime</scope> </dependency> <dependency>
> <groupId>org.glassfish.web</**groupId> <artifactId>jstl-impl</**
> artifactId>
> <version>1.2</version> <scope>runtime</scope> </dependency> </dependencies>
> <build> <plugins> <plugin> <groupId>org.apache.maven.**plugins</groupId>
> <artifactId>maven-compiler-**plugin</artifactId> <version>2.0.2</version>
> <configuration> <source>1.7</source> <target>1.7</target> </configuration>
> </plugin> </plugins> </build> <properties>
> <netbeans.hint.deploy.server>**Tomcat</netbeans.hint.deploy.**server>
> </properties> </project>
>
> --
>
> [Message sent by forum member 'lostinspace2011']
>
> View Post: http://forums.java.net/node/**884135<http://forums.java.net/node/884135>
>
>
>