File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

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?

I use currently MyFaces 2.0.2 and Tomahawk 1.1.11-SNAPSHOT
I agree. Here's the link:
subject: Component javax.faces.component.UIViewRoot is no
It's not a secret anymore!