Pretty Code Blog

Just another weblog about development

NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ThreadFactory

SEVERE: StandardWrapper.Throwable java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/ThreadFactory Solução: adicionar backport-util-concurrent.jar às libs

Eclipse GALILEO

Eclipse Java EE IDE for Web Developers. Build id: 20090621-0832 (c) Copyright Eclipse contributors and others 2005, 2009.  All rights reserved. Visit http://www.eclipse.org/webtools Aê! Faz uma semana que estou usando o novo Eclipse para Web Development. Estou muito feliz com ele, rápido, prático… E tem TUDO! Esse está caprichado, eu recomendo! Have fun :-)

Just in Time: Instalando o maven

Estou instalando o Apache Maven. Vamos a um passo a passo do que estou fazendo. Vamos considerar que você já tem seu “JAVA_HOME” definido, com o valor do diretório onde foi instalado o seu Java Developer Kit (JDK), ok? Baixe o zip da versão mais recente do site do apache (hoje é a 2.2.0): http://maven.apache.org/download.html [...]

The method getELContext() is undefined for the type FacesContext

Em um projeto JSF estava encontrando a todo momento os erros The method getELContext() is undefined for the type FacesContext e The method getELResolver() is undefined for the type Application Ainda não encontrei a causa disso, mas consegui resolver. Eu tinha o código FacesContext context = FacesContext.getCurrentInstance(); Object relatedController = context.getApplication().getELResolver().getValue(context.getELContext(), null, relatedControllerString); e troquei [...]

Switch to our mobile site

Switch to our mobile site