You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Frank Russo <fr...@FXALL.com> on 2006/03/28 22:26:22 UTC

Tomahawk and JSF RI

This has probably been discussed a thousand times, but I can't find a
mailing list archive. (If one is out there, it should be posted on the
facelets site somewhere.)
 
Anyway, I've read that Tomahawk can run with the JSF RI without myfaces,
but I'm getting the following exception:

	2006-03-28 15:01:28,623 ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/scadmin]
- Exception sending context initialized event to listener instance of
class com.sun.faces.config.ConfigureListener
	java.lang.NoClassDefFoundError:
org/apache/myfaces/application/ComponentNotFoundException
	        at java.lang.Class.getDeclaredConstructors0(Native
Method)
	        at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
	        at java.lang.Class.getConstructor0(Class.java:2640)
	        at java.lang.Class.newInstance0(Class.java:321)
	        at java.lang.Class.newInstance(Class.java:303)
	        at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:
711)
	        at
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:
398)
	        at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListe
ner.java:328)
	        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.j
ava:3729)
	        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4183
)
	        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)
	        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	        at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:9
04)
	        at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java
:867)
	        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
	        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1112)
	        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:31
0)
	        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
	        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
	        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	        at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
	        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
	        at
org.apache.catalina.startup.Catalina.start(Catalina.java:551)
	        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	        at java.lang.reflect.Method.invoke(Method.java:585)
	        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

I've set up the tomahawk.taglib.xml file and the entry needed in
web.xml, but that is the only docs I find. I have both the tomahawk.jar
and the jar for the sandbox components. 
 
Any ideas on what I am missing? 

Frank Russo
Senior Developer
FX Alliance, LLC
900 Third Avenue, 3rd Floor
New York, NY 10022
646.268.9949