Senhores, Bom dia…
Quero utilizar o Stella Faces para validação de CPJ e CNPJ porém estou tendo problemas.
Depois de colocar as libs no meu projeto está ocorrendo o senguinte erro durante o deploy.
Alguém já pegou esse problema
GRAVE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! br.com.caelum.stella.faces.validation.StellaIEValidatorTagHandler.<init>(javax.faces.view.facelets.ValidatorConfig)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
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(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodException: br.com.caelum.stella.faces.validation.StellaIEValidatorTagHandler.<init>(javax.faces.view.facelets.ValidatorConfig)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getConstructor(Class.java:1657)
at com.sun.faces.facelets.tag.AbstractTagLibrary$UserValidatorHandlerFactory.<init>(AbstractTagLibrary.java:408)
at com.sun.faces.facelets.tag.AbstractTagLibrary.addValidator(AbstractTagLibrary.java:585)
at com.sun.faces.facelets.tag.TagLibraryImpl.putValidator(TagLibraryImpl.java:77)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processValidator(FaceletTaglibConfigProcessor.java:474)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:361)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:310)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:259)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:334)
... 9 more
17/05/2012 11:12:17 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
17/05/2012 11:12:17 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
17/05/2012 11:20:52 org.apache.catalina.core.StandardContext listenerStart
GRAVE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! br.com.caelum.stella.faces.validation.StellaIEValidatorTagHandler.<init>(javax.faces.view.facelets.ValidatorConfig)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:220)
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(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoSuchMethodException: br.com.caelum.stella.faces.validation.StellaIEValidatorTagHandler.<init>(javax.faces.view.facelets.ValidatorConfig)
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getConstructor(Class.java:1657)
at com.sun.faces.facelets.tag.AbstractTagLibrary$UserValidatorHandlerFactory.<init>(AbstractTagLibrary.java:408)
at com.sun.faces.facelets.tag.AbstractTagLibrary.addValidator(AbstractTagLibrary.java:585)
at com.sun.faces.facelets.tag.TagLibraryImpl.putValidator(TagLibraryImpl.java:77)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processValidator(FaceletTaglibConfigProcessor.java:474)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:361)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:310)
at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:259)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:334)
... 9 more