Using MyFaces as your JSF runtime is always a good decision :-) If your app depends on the RI, what you can do is putting only "ComponentNotFoundException" into your applications classpath. For instance under WEB-INF/classes/
but creating the folder(s) "org/apache/myfaces/application/" (Just a *quick* hack) -Matthias On 3/28/06, Frank Russo <[EMAIL PROTECTED]> wrote: > So I assume that means I need to add the myfaces-impl-1.1.3-SNAPSHOT.jar to > my project's WEB-INF/lib as well? > > Thanks... > > Frank Russo > Senior Developer > FX Alliance, LLC > > > -----Original Message----- > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 3:43 PM > To: MyFaces Discussion > Subject: Re: Tomahawk and JSF RI > > good catch, > > the clazz "org/apache/myfaces/application/ComponentNotFoundException" > > is currently under "impl" ([1]) > > > [1] - http://tinyurl.com/etjd9 > > > On 3/28/06, Frank Russo <[EMAIL PROTECTED]> wrote: > > > > Sorry if I post this twice. I wasn't subscribed the first time, so I > > don't know if it made it. I originally was going to send it to the > > facelets list, but realized this was not a facelets issue. > > > > 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].[/scadmi > > n] > > - 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(ConfigureListener.java:328) > > at > > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) > > at > > org.apache.catalina.core.StandardContext.start(StandardContext.java:4183) > > at > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: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:904) > > 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:310) > > at > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.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.java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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 > > > > > -- > Matthias Wessendorf > Zülpicher Wall 12, 239 > 50674 Köln > http://www.wessendorf.net > mwessendorf-at-gmail-dot-com > > > > -- Matthias Wessendorf Zülpicher Wall 12, 239 50674 Köln http://www.wessendorf.net mwessendorf-at-gmail-dot-com