Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to find or serve resource from library org.apache.myfaces.custom

 
Ben Jammin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Since i a noob in JSF i hope to find some help here.
I tried to include Tomahawk/MyFaces to my first JSF project. I think that i included all the libraries and changed the web.xml as found i the documentation.
NetBeans also gives me the choice of the tomahawk features (autofulfill etc.) now after including them with xmlns:t="http://myfaces.apache.org/tomahawk.

I want to generate a table with some content using Tomahawk/Myfaces and on the first sight it seems to work fine. The page and the table are looking fine but for some reason i get the following Warning messages from Glassfish and i donĀ“t know how to solve this issue:

JSF1064: Unable to find or server resource dataTable.xhtml from library org.apache.myfaces.custom
JSF1064: Unable to find or server resource column.xhtml from library org.apache.myfaces.custom
JSF1064: Unable to find or server resource output.xhtml from library org.apache.myfaces.custom


It seems that something went wrong including Tomahawk/Myfaces. Here we go with a part of the JSF Code i used for the table:



And here is the Web.XML


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

I think it miss the tomahawk's configuration file in web.xml
The documentation describes a filter option

http://myfaces.apache.org/tomahawk/extensionsFilter.html

You must verify in your EAR or JAR file if tomahawks.jar is also include ?

Olivier
 
Ben Jammin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Olivier.
I changed my web.xml to the following, but it did not change anything.

Here is a screenshot of the included .jar

Libraries


 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic