• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic