« Return to Thread: MyFaces Tree2 Component

Re: MyFaces Tree2 Component

by Grzesiek-4 :: Rate this Message:

Reply to Author | View in Thread

Yes, that is what should be. But in my case JSF Mojarra + Tomahawk causes a lot of problems, eg :

1. First (but it doesn't matter):
2008-04-21 13:22:02 org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 5 column 14: Document root element "faces-config", must match DOCTYPE root "null".
org.xml.sax.SAXParseException: Document root element "faces-config", must match DOCTYPE root "null".

when faces-config.xml is successfully validated and in 100% is good.

2. My real problem is this exception:

2008-04-21 13:29:52 org.apache.myfaces.webapp.filter.ExtensionsFilter doFilter
SEVERE: Exception wile retrieving addResource
javax.servlet.ServletException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.myfaces.shared_tomahawk.config.MyfacesConfig
(but the same project + MyFaces + Tomahawk works perfect). This exception takes place when I try to add `Tomahawk-1.6.jar` to my projet with jsf-api.jar and jsf-impl.jar from SUN JSF.
I need Tomahawk for e.g files upload.

Regards

2008/4/21, simon.kitching@... <simon.kitching@...>:
This isn't correct; Tomahawk can be used with any JSF implementation, eg
Sun's.

In very old Tomahawk versions, you needed to add a "shared" jar if you
weren't using myfaces but that was removed long ago.

Regards,
Simon

Grzesiek schrieb:

> Personally I regret tomahawk can't be used without myfaces
> (dependencies on `_shared` jars).


 « Return to Thread: MyFaces Tree2 Component

LightInTheBox - Buy quality products at wholesale price