learn java
The moose likes JSF and the fly likes Component javax.faces.component.UIViewRoot is no Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Component javax.faces.component.UIViewRoot is no" Watch "Component javax.faces.component.UIViewRoot is no" New topic

Component javax.faces.component.UIViewRoot is no

Dennis Hopfer
Ranch Hand

Joined: Dec 02, 2010
Posts: 43
So I made a new project trying to get Tomahawk to work.

This is what I get:

Component javax.faces.component.UIViewRoot is no org.apache.myfaces.component.html.ext.HtmlOutputText

Giving up for today. Way too hard to get tomahawk to run inside JSF 2.0.
Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 199
This a a reply to this thread and to to your other (almost similar) thread here http://www.coderanch.com/t/522182/JSF/java/When-trying-deploy-JSF-JSP

Why do you use JSP if you are using JSF 2.0? If you have a new project I do not see why would you stick doing it "the old way" instead of using facelets.

Then your page (.xhtml) looks something like this

As for the installing tomahawk part I have the tomahawk.taglib.xml in WEB-INF folder and faces-config.xml is pretty much empty (only the necessary parts). In web.xml I have

What JSF implementation (and version number) are you using? And what Tomahawk version are you using?
Are you aware of this? http://wiki.apache.org/myfaces/CompatibilityMatrix

I use currently MyFaces 2.0.2 and Tomahawk 1.1.11-SNAPSHOT
I agree. Here's the link: http://aspose.com/file-tools
subject: Component javax.faces.component.UIViewRoot is no