You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by danielitob <gb...@aliceposta.it> on 2006/10/07 11:00:58 UTC

What is this exception??

Hi guys,
i'm using myfaces 1.4 with jsf RI 1.1.0.1.
I've a page a jsf page for registering an user and among lots of fields i've

<h:outputText value="Data"/>
 				<t:inputDate value="#{user.data}"  popupCalendar="true">
					
				</t:inputDate>
				<h:panelGroup/>
				<h:panelGroup/>

that works fine showing me calendar.
Now i've decided to add

<h:outputLabel for="email1" value="Email:  "/>
          <h:inputText id="email1" value="#{userInfo.email}"
required="true">
            <t:validateEmail/>
          </h:inputText>
          <h:message for="email1"/>
                        
          <h:outputLabel for="email2" value="Re-enter Email:  "/>
          <h:inputText id="email2" value="#{userInfo.email}"
required="true">
            <t:validateEqual for="email1"/>
          </h:inputText>
          <h:message for="email2"/>

for using another myfaces function but......
I'VE THIS EXCEPTION!!!!!WHY???????Please help me!!!


GRAVE: Error configuring application listener of class
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException:
org.apache.myfaces.webapp.StartupServletContextListener
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
	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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
7-ott-2006 10.54.14 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Skipped installing application listeners due to previous error(s)
7-ott-2006 10.54.14 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
7-ott-2006 10.54.14 org.apache.catalina.core.StandardContext start
GRAVE: Context [/MicroArray] startup failed due to previous errors

Thanks very much,please help me...


-- 
View this message in context: http://www.nabble.com/What-is-this-exception---tf2399870.html#a6691925
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: What is this exception??

Posted by Titi Wangsa <bl...@gmail.com>.
i had a similar problem..
it turns out
that i had more than one application on my tomcat
both were using myfaces..
but..
i removed one, while the other remained..
but i did not remove it properly...
perhaps you have a similar situation...?

try looking inside the webapps folder...
of your catalina_home and catalina_base
and delete the tldcache.ser or somethig like that..

Re: What is this exception??

Posted by Jeff Bischoff <jb...@klkurz.com>.
The Sun RI and MyFaces Core are alternative implementations of the JSF 
spec. You can use one or the other, but you can not use both in the same 
webapp. You can use tomahawk with the RI, but in this case do not 
include the myfaces core jars in your project.

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

danielitob wrote:
> Hi guys,
> i'm using myfaces 1.4 with jsf RI 1.1.0.1.
> I've a page a jsf page for registering an user and among lots of fields i've
> 
> <h:outputText value="Data"/>
>  				<t:inputDate value="#{user.data}"  popupCalendar="true">
> 					
> 				</t:inputDate>
> 				<h:panelGroup/>
> 				<h:panelGroup/>
> 
> that works fine showing me calendar.
> Now i've decided to add
> 
> <h:outputLabel for="email1" value="Email:  "/>
>           <h:inputText id="email1" value="#{userInfo.email}"
> required="true">
>             <t:validateEmail/>
>           </h:inputText>
>           <h:message for="email1"/>
>                         
>           <h:outputLabel for="email2" value="Re-enter Email:  "/>
>           <h:inputText id="email2" value="#{userInfo.email}"
> required="true">
>             <t:validateEqual for="email1"/>
>           </h:inputText>
>           <h:message for="email2"/>
> 
> for using another myfaces function but......
> I'VE THIS EXCEPTION!!!!!WHY???????Please help me!!!
> 
> 
> GRAVE: Error configuring application listener of class
> org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.ClassNotFoundException:
> org.apache.myfaces.webapp.StartupServletContextListener
> 	at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
> 	at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
> 	at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677)
> 	at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
> 	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> 	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(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> 7-ott-2006 10.54.14 org.apache.catalina.core.StandardContext listenerStart
> GRAVE: Skipped installing application listeners due to previous error(s)
> 7-ott-2006 10.54.14 org.apache.catalina.core.StandardContext start
> GRAVE: Error listenerStart
> 7-ott-2006 10.54.14 org.apache.catalina.core.StandardContext start
> GRAVE: Context [/MicroArray] startup failed due to previous errors
> 
> Thanks very much,please help me...
> 
>