This error indicates that your application deploys a version of el-api.jar in WEB-INF/lib which conflicts with the built-in version in tomcat.

You should manually delete this jar file from the target directory each time you do a (eclipse based) deployment to tomcat, as to my knowledge declaring <scope>provided</scope> for el-api.jar will not be sufficient to prevent deploying this artifact. I think this is due to a bug in the m2eclipse WTP integration.

And yes, i think this question should have been asked in the m2eclipse or myeclipse forums.

Hope this helps,

Torsten


On 20.03.2011 23:24, inforedaster [via Maven] 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


______________________________________
If you reply to this email, your message will be added to the discussion below:
http://maven.40175.n5.nabble.com/multi-module-support-tp4082273p4157122.html
This email was sent by inforedaster (via Nabble)
To receive all replies by email, subscribe to this discussion: 
http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=subscribe_by_code&node=4082273&code=dXNlcnNAbWF2ZW4uYXBhY2hlLm9yZ3w0MDgyMjczfDI5MDg4MTUwMQ==

--
Torsten Stolpmann
Geschäftsführender Gesellschafter

verit Informationssysteme GmbH
Europaallee 10
67657 Kaiserslautern

E-Mail: stolpm...@verit.de
Telefon: +49 631 520 840 00
Fax: +49 631 520 840 01
Web: http://www.verit.de/

Registergericht: Amtsgericht Kaiserslautern
Registernummer: HRB 3751
Geschäftsleitung: Claudia Könnecke, Torsten Stolpmann


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to