This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am using JSF for my project and I am still getting familiar with it. Meanwhile I am getting the following error in one of the examples [I am trying.
I have searched for solutions in google but surprisingly there were only questions but no answers.
I would really appreciate if someone takes time and shares the solution so not only me but many others would benefit from it.
Server: BEA Weblogic Server v10.0
Java version : JDK150_11
Maven : 2.0.7
Here is the Error:
javax.faces.FacesException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /pages/inputname.jsp
inputname.jsp:3:5: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
Truncated. see log file for complete stacktrace
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /pages/inputname.jsp
These are the following Jars I am using:
and some commons...*.jar...
I have tried few combinations of the version of the above jars too.
I am not using a weblogic.xml file.
Welcome to the JavaRanch, Indu. Your posting was colorful, but we have a "code" button on the editor that will wrap tags around your code samples and keep them from getting reformatted.
The URI in question should have been resolved in the faces-api.jar. I don't think the MyFaces-api.jar is the same thing, since the JSF faces-api is part of the Sun specs, not a per-vendor thing. So you may need to add that jar to your WAR's WEB-INF/lib collection.
An IDE is no substitute for an Intelligent Developer.
Joined: Dec 08, 2009
Thank you for the response.
I will keep the code button in mind for the new posts I would be doing.
You solution made me think and try few things.
Meanwhile I copied a sample project from my friend and it works great. The sample project is using the myfaces-api.jar and myfaces-impl.jar
I see everything is same with respect to my project and sample project and am I still getting the error. So I am not sure why mine isn't working. I have pretty much all the jars he is having...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: No tag library could be found with this URI