GRAVE: Critical error during deployment:
com.sun.faces.config.ConfigurationException:
Source Document: file:/C:/Users/t1090306.INTRABB/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/livraria/WEB-INF/faces-config.xml
Cause: Unable to find class 'br.com.caelum.livraria.util. LogPhaseListener'
Meu Faces-Config.xml '''
<lifecycle>
<phase-listener>br.com.caelum.livraria.util. LogPhaseListener</phase-listener>
</lifecycle>
'''
Minha Classe LogPhaseListene
'''package br.com.caelum.livraria.util;
import javax.faces.event.PhaseEvent; import javax.faces.event.PhaseId; import javax.faces.event.PhaseListener;
public class LogPhaseListener implements PhaseListener{
private static final long serialVersionUID = 1L;
@Override
public void afterPhase(PhaseEvent event) {
}
@Override
public void beforePhase(PhaseEvent event) {
System.out.println("FASE: " + event.getPhaseId());
}
@Override
public PhaseId getPhaseId() {
return PhaseId.ANY_PHASE;
}
}'''