NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

MyFaces, NB cannot find JSF taglibs

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
mutable



Joined: 12 Oct 2008
Posts: 2

PostPosted: Sun Oct 12, 2008 5:22 pm    Post subject: MyFaces, NB cannot find JSF taglibs Reply with quote

Hello.

I would like to use autocomplete features for JSF tags, however on these taglib declarations:

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

NetBeans shows me following error:

"The absolute uri: http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar files deployed with this application"

I don't know what's wrong. I did a lot of googling but without success. All required libraries are defined in project classpath in project properties.
Back to top
mutable



Joined: 12 Oct 2008
Posts: 2

PostPosted: Wed Oct 15, 2008 6:48 pm    Post subject: Reply with quote

I'm sorry, it was my fault. I have plain Ant project so when I add library to my lib folder I don't update java source classpath in project properties if I don't need to use new lib in my sources. After updating classpath, everything worked.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo