Javafree
Página Inicial do Fórum > JEE / EJB

Exception sending context initialized event to listener instance



Criar novo tópico   Responder tópico


  1. evandro_araujo
    Posts:596


    Comment Arrow

    Publicado em: 16/09/2012 12:16:13

    Pessoal, esta dando o seguinte erro na minha aplicacação

    GRAVE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    java.lang.RuntimeException: 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.contextInitialized(ConfigureListener.java:292)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4701)
    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204)
    at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: 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:690)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:243)
    ... 8 more


    segue abaixo o meu codigo:


    abc a todos..



  1. jmayer13
    Posts:521


    Comment Arrow

    Publicado em: 16/09/2012 13:44:34

    use tags [ code] [ /code] no código
    _________________

    Jonas Mayer
    -Apresentação
    -Deixe seu código bem formatado
    -PostgreSQL is better
    -use tags [ code] e [ /code] para código



  1. rosbon
    Posts:98


    Comment Arrow

    Publicado em: 27/09/2012 16:37:57

    Posso está enganado mas sugiro colocar os jars do JSTL pois acho que está faltado isso em sua app.
    _________________

    Quando uma mente se expande jamais volta ao seu estado original.



  1. Relacionados