Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Tomahawk library

 
Tomasz Gutkowski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I don't know why but when i open my page i get warning:
Source:

My libraries in WEB-INF/lib:

Can you help me with this error? I tried many solutions already but it still does not work.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding the library in the WebContent/WEB-INF/lib foler.
 
Tomasz Gutkowski
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is in WebContent/WEB-INF/lib but it doesnt work
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an XML file that must be included in the classpath that defines the Tomahawk tagset to facelets. Check the MyFaces website.

BTW, it's not good practice to use upper case for the first letter of a JSF bean's name. Initial uppercase should be reserved for class names, and initial lowercase for instance names. The JSF annotations assume that that's what you'll be doing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic