Does this present any problem as JSFT is declaring its ViewHandler in
its faces-config.xml?
I would like to talk about repackaging JSFT. Instead of 1 jar file for
everything, I'm thinking something along these lines:
* jsftemplating-component-only.jar
- Includes JSFT w/ only the h:/f: factories
- faces-config.xml w/o the ViewHandler (maybe no faces-config at all?
that would eliminate pageSession, though)
* jsftemplating.jar
- Includes JSFT runtime w/ only the h:/f: factories
- includes faces-config.xml file as it is today
* woodstockFactories.jar
- Just contains the factories
* jMakiFactories.jar
- Just contains the factories
* scalesFactories.jar
(or does scales already include this?)
etc.
What do you think? Perhaps this is a good topic for next Tuesday's JSFT
meeting.
Ken
Jason Lee wrote:
> Sorry about that. I failed to document the dependencies clearly. You
> can get that file from
>
> http://download.java.net/maven/1/com.sun.jsftemplating/jars/jsftemplating-1.2-SNAPSHOT.jar
>
> I have updated the Scales site to note this.
>
> On Tue, Mar 18, 2008 at 12:47 PM, Jubri <oyesiji_at_hotmail.com> wrote:
>
>> I am trying to use scales in my project but anytime i start my project I
>> always get this exception
>>
>> SEVERE: Exception sending context initialized event to listener instance of
>> class org.apache.myfaces.webapp.StartupServletContextListener
>> java.lang.NoClassDefFoundError:
>> com/sun/jsftemplating/component/TemplateOutputComponentBase
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>> at
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>> at
>> org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1819)
>> at
>> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1327)
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:242)
>> at
>> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:134)
>> at
>> org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:160)
>> at
>> org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:272)
>> at
>> org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:608)
>> at
>> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:148)
>> at
>> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:68)
>> at
>> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:51)
>> at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
>> at
>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4350)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>> at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>> at
>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:924)
>> at
>> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:887)
>> at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>> at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
>> at
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>> at
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>> at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>> at
>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>> at
>> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>> at
>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>> at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>> 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:288)
>> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>>
>>
>> please where can i obtain
>> com/sun/jsftemplating/component/TemplateOutputComponentBase
>> ________________________________
>> Shed those extra pounds with MSN and The Biggest Loser! Learn more.
>>
>
>
>
>