You probably don't need to include JSF as part of your WAR file?  It looks
like there's a conflict between versions of JSF (the version provided by the
container, and the version provided by your WAR file?).

If this is the case, change the scope in Maven for the JSF dependencies to
"provided".  If you want to use a later version of JSF, you should patch the
container not provide the jars in the WAR file.  That's been my experience
with Glassfish, anyways.  I can't speak for other app containers, though,
having never used them in anger.

Hope this helps,
Ed

On Mon, Mar 21, 2011 at 6:59 AM, inforedaster <[email protected]>wrote:

> I just created a web project in myeclipse 8 and I use maven Support
> So I added JSF and ICEfaces capabilities in my project I put a
> single home page in the project but when I deployed the project in
> of myeclipse tomcat (I tried the same thing by installing Tomcat7)
> when I start the server it gives me errors I have not understood or it
> come!!
> is that you have a proposal about?!
>
> Error :
>
>
> 19 mars 2011 11:13:32 org.apache.catalina.core.AprLifecycleListener init
> INFO: The Apache Tomcat Native library which allows optimal performance in
> production environments was not found on the java.library.path: C:\Program
> Files\Common
> Files\MyEclipse\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Program
> Files\Common
>
> Files\MyEclipse\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_8.6.0.me201007231647\tomcat\bin
> 19 mars 2011 11:13:32 org.apache.coyote.http11.Http11Protocol init
> INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
> 19 mars 2011 11:13:32 org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 798 ms
> 19 mars 2011 11:13:32 org.apache.catalina.core.StandardService start
> INFO: Démarrage du service Catalina
> 19 mars 2011 11:13:32 org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
> 19 mars 2011 11:13:34 com.sun.faces.config.ConfigureListener
> contextInitialized
> INFO: Initializing Sun's JavaServer Faces implementation (1.2_04-b07-FCS)
> for context '/criam-web'
> 19 mars 2011 11:13:34
> com.icesoft.faces.application.ViewRootStateManagerImpl
> INFO: ViewRootStateManagerImpl constructed with Delegate:
> com.sun.faces.application.StateManagerImpl@1ba0f36
> 19 mars 2011 11:13:34 com.icesoft.faces.application.D2DViewHandler
> INFO:
> ICEsoft Technologies, Inc.
> ICEfaces 1.8.1
> Build number: 7
> Revision: 18926
>
> 19 mars 2011 11:13:35 org.apache.catalina.core.StandardContext
> listenerStart
> GRAVE: Exception lors de l'envoi de l'évènement contexte initialisé
> (context
> initialized) à l'instance de classe d'écoute (listener)
> com.sun.faces.config.ConfigureListener
> java.lang.LinkageError: loader constraint violation: when resolving
> interface method
>
> "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;"
> the class loader (instance of org/apache/catalina/loader/WebappClassLoader)
> of the current class, com/sun/faces/config/ConfigureListener, and the class
> loader (instance of org/apache/catalina/loader/StandardClassLoader) for
> resolved class, javax/servlet/jsp/JspApplicationContext, have different
> Class objects for the type javax/el/ExpressionFactory used in the signature
>   at
>
> com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1628)
>   at
>
> com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:453)
>   at
>
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
>   at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
>   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:920)
>   at
>
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
>   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
>   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:566)
>   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:597)
>   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> 19 mars 2011 11:13:35 org.apache.catalina.core.StandardContext start
> GRAVE: Error listenerStart
> 19 mars 2011 11:13:35 org.apache.catalina.core.StandardContext start
> GRAVE: Erreur de démarrage du contexte [/criam-web] suite aux erreurs
> précédentes
> 19 mars 2011 11:13:35
> com.icesoft.faces.util.event.servlet.ContextEventRepeater contextDestroyed
> INFO: Servlet Context Name: null, Server Info: Apache Tomcat/6.0.13
> 19 mars 2011 11:13:36 org.apache.coyote.http11.Http11Protocol start
> INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
> 19 mars 2011 11:13:36 org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> 19 mars 2011 11:13:36 org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/36  config=null
> 19 mars 2011 11:13:36 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3684 ms
>
>
> [
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/maven-with-ICEFACES-tp4152962p4152962.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to