You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "R. Müller" <r....@unicomp-berlin.de> on 2006/01/10 14:37:07 UTC

reference to org.apache.myfaces.webapp.StartupServletContextListener

Hi group,

sometimes i switch between the reference implementation and myfaces to 
see, wether it behaves the same.

This time  i've got a startup error :

java.lang.ClassNotFoundException: 
org.apache.myfaces.webapp.StartupServletContextListener
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
         at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3775)
org.apache.myfaces.webapp.StartupServletContextListener

So far this message is clear : i removed the myfaces libaries and putted 
the RI-implementation there instead, so the 
StartupServletContextListener can not be found. But who is the one, who 
still references it ?
I think the only place where the StartupServletContextListener is 
referenced is the myfaces_core.tld inside the myfaces-jsf 
implementation, but this is already removed.

Are there other places where i can look for that ?

By the way : the reason for switching the implementation this time was, 
that i could not get the dateTime-converter working in following code :

<h:selectManyCheckbox id="selectFilter" >
	<f:convertDateTime type="date" dateStyle="full"/>
	<f:selectItems value="#{filterAdapter.dates}"  />
</h:selectManyCheckbox>

Backing-Bean :

private Date[] dates;

...

public SelectItem[] getDates() {
	SelectItem[] items = new SelectItem[dates.length];
	for (int i = 0;i < dates.length ; i++ ) {
		items[i] = new SelectItem(d);
		// alternativly :
		//items[i] = new SelectItem(d,
		//	(new SimpleDateFormat()).format(d));


	}		
	return items;
}





-- 
*********************************************************
*M-Unicomp GmbH
*
*Ronald Müller
*
*Plauener Straße 163-165, Haus 11
*13053 Berlin
*
*fon   : +49 ( 0 ) 30  / 98 69 61 54
*mobil : +49 ( 0 ) 172 / 93 95 00 4
*fax   : +49 ( 0 ) 30  / 98 69 61 55
*email : r.mueller@unicomp-berlin.de
*web   : www.unicomp-berlin.de
********************************************************