dev@jsftemplating.java.net

Re: JSFTemplating: Run problem with new jars

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Fri, 16 Feb 2007 16:10:13 -0800

Ken,
It was in the classpath. I removed it and it seems to be working fine
now. Now I am getting a alert box popup on every page stating: DynaFaces
already defined!
How do I get rid of this alert box popping up on every page.

Thanks
Karam

Ken Paulsen wrote:
>
> Are you sure the web/WEB-INF/lib/webui-jsf-dt.jar isn't in your
> classpath? I added this .jar file to my WEB-INF/lib directory and
> started getting the same error you reported. Without it, I have no
> problems.
>
> Ken
>
> Karam Singh Badesha wrote:
>> Hi,
>> I just replaced woodstock jars, jsftemplating jars with the new ones
>> from java.net. Now I can't get my application to run. What did I
>> miss? Application compiles fine. Here is classpath:
>>
>> web/WEB-INF/lib/dataprovider.jar
>> web/WEB-INF/lib/dojo-0.4.1-ajax.jar
>> web/WEB-INF/lib/jsftemplating-dt.jar
>> web/WEB-INF/lib/jsftemplating-dynafaces-0.1.jar
>> web/WEB-INF/lib/jsftemplating.jar
>> web/WEB-INF/lib/json.jar
>> web/WEB-INF/lib/MultipleListDataProvider.jar
>> web/WEB-INF/lib/ojdbc14.jar
>> web/WEB-INF/lib/prototype-1.5.0.jar
>> web/WEB-INF/lib/UsageTracking.jar
>> web/WEB-INF/lib/webui-jsf-dt.jar
>> web/WEB-INF/lib/webui-jsf-suntheme.jar
>> web/WEB-INF/lib/webui-jsf.jar
>> C:/SunAppServer/lib/javaee.jar
>>
>> Out of the above, jsftemplating-dt.jar, webui-jsf-dt.jar and
>> javaee.jar are not part of the war file.
>> Here is the error when the application is run:
>>
>> *exception*
>>
>> javax.servlet.ServletException:
>> com/sun/rave/designtime/faces/FacetDescriptor
>>
>> *root cause*
>>
>> java.lang.NoClassDefFoundError:
>> com/sun/rave/designtime/faces/FacetDescriptor
>>
>>
>> -Karam