Quando inicio o tomcat o seguinte erro acontece:
INFO: Inicializando Mojarra 2.0.2 (FCS b10) para o contexto '/oficina'
27/05/2011 10:47:14 com.sun.faces.config.configprovider.BaseWebConfigResourceProvider getResources
WARNING: JSF1067: O recurso /WEB-INF/plcf.taglib.xml especificado pela opção de configuração javax.faces.CONFIG_FILES não pôde ser encontrado. O recurso será ignorado.
27/05/2011 10:47:14 com.sun.faces.config.ConfigureListener installExpressionFactory
SEVERE: Unable to instantiate ExpressionFactory 'org.apache.el.ExpressionFactoryImpl'
27/05/2011 10:47:14 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: Parece que a versão do JSP do contêiner é mais antiga que a 2.1 e não pode localizar o gerador de expressões EL RI, com.sun.el.ExpressionFactoryImpl. Se não estiver usando o JSP ou o EL RI, verifique se o parâmetro de inicialização de contexto, com.sun.faces.expressionFactory, está definido corretamente.
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:638)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:241)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
27/05/2011 10:47:14 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
27/05/2011 10:47:14 org.apache.catalina.core.StandardContext start
SEVERE: Context [/oficina] startup failed due to previous errors
#oficina# INFO [AppServletContextListener] Encerrando a Aplicacao 10:47:14,662 [main]
27/05/2011 10:47:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/oficina] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@d3ab8b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@a353ed]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27/05/2011 10:47:14 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: The web application [/oficina] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@daf109]) and a value of type [java.util.WeakHashMap] (value [{class org.hibernate.validator.xml.ValidationConfigType=java.lang.ref.WeakReference@e628d8, class javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@8393ef}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Autor: Paulo Sobreira
66 comentários
O projeto esta com algum tipo de erro? Clica com o botão direito em cima do seu projeto principal e vá em jCompany > Verificar projeto e ambiente, veja se esta tudo verde. Clica em ok!. Realize um novo deploy online e tente de novo. Abs,
@masterudi
<localRepository>C:\jaguar/repositorio</localRepository>
<offline/>
</settings> porem com o setings_exemplo.xml renomeado para settings.xml o seginte erro acontece: [INFO] Scanning for projects...
Downloading: repo1.maven.org/maven2/powerlogic/jaguar/jcompany/projeto-plc/6.0.0-Final/projeto-plc-6.0.0-Final.pom [ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project powerlogic.jaguar.app:oficina:6.0.0-Final (C:\jaguar\meus_projetos\oficina\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact powerlogic.jaguar.jcompany:projeto-plc:pom:6.0.0-Final in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 16, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
<localRepository>C:\jaguar/repositorio</localRepository>
<servers>
<server>
<id>powerlogic</id>
<username>epc</username>
<password>senha</password>
</server>
</servers> <profiles>
<profile>
<id>powerlogic</id>
<repositories>
<repository>
<id>powerlogic</id>
<name>Repositorio Powerlogic</name>
<url>http://update.powerlogic.com.br:8080/archiva/repository/powerlogic
</url>
<snapshots>
<updatePolicy>interval:60</updatePolicy>
</snapshots>
</repository>
</repositories> <pluginRepositories>
<pluginRepository>
<id>powerlogic</id>
<name>Repositorio Powerlogic</name>
<url>http://update.powerlogic.com.br:8080/archiva/repository/powerlogic</url>
<snapshots>
<updatePolicy>interval:60</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile> <profile>
<id>jsf-app-profile</id>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots> <id>snapshots.jboss.org</id>
<name>Snapshot Jboss Repository for Maven</name>
<url>http://snapshots.jboss.org/maven2/</url>
<layout>default</layout>
</repository> <repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<id>repository.jboss.com</id>
<name>Jboss Repository for Maven</name>
<url>http://repository.jboss.com/maven2/</url>
<layout>default</layout>
</repository>
<repository>
<id>jasperreports</id>
<url>http://jasperreports.sourceforge.net/maven2</url>
</repository>
</repositories>
</profile>
</profiles> <activeProfiles>
<activeProfile>powerlogic</activeProfile>
<activeProfile>jsf-app-profile</activeProfile>
</activeProfiles>
</settings>
@masterudi