Fórum

No Function Found on type: org.primefaces.util.ComponentUtils with signatur

thumbnail
Jobin Mathew, modificado 9 Anos atrás.

No Function Found on type: org.primefaces.util.ComponentUtils with signatur

Junior Member Postagens: 77 Data de Entrada: 04/07/14 Postagens Recentes
Hi,
i tried to deploy one JSF portlet, but error shown as follows

java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.lang.Exception: No Function Found on type: org.primefaces.util.ComponentUtils with signature: java.lang.String getWidgetVar(java.lang.String)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:280)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4937)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1113)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1671)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.sun.faces.config.ConfigurationException: java.lang.Exception: No Function Found on type: org.primefaces.util.ComponentUtils with signature: java.lang.String getWidgetVar(java.lang.String)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processFunctions(FaceletTaglibConfigProcessor.java:642)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:325)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:270)
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:437)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:221)
        ... 13 more
Caused by: java.lang.Exception: No Function Found on type: org.primefaces.util.ComponentUtils with signature: java.lang.String getWidgetVar(java.lang.String)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.createMethod(FaceletTaglibConfigProcessor.java:682)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processFunctions(FaceletTaglibConfigProcessor.java:639)
        ... 17 more



all tag libraries are updated.

please help
thumbnail
Neil Griffin, modificado 9 Anos atrás.

RE: No Function Found on type: org.primefaces.util.ComponentUtils with sign (Resposta)

Liferay Legend Postagens: 2655 Data de Entrada: 27/07/05 Postagens Recentes
Hi Jobin,

My best guess is that you are experiencing a configuration error, possibly due to multiple primefaces jars in your classpath. I recommend that you start with a new project by following the steps in the PrimeFaces Portlet Tutorial or the Generating a Liferay Faces Portlet using mvn archetype generate wiki articles.

Kind Regards,

Neil
thumbnail
Jobin Mathew, modificado 9 Anos atrás.

RE: No Function Found on type: org.primefaces.util.ComponentUtils with sign

Junior Member Postagens: 77 Data de Entrada: 04/07/14 Postagens Recentes
Hi Neil,
Thanks a lot for the reply. i am working based on the link to solve it.


Thanks.
thumbnail
Jobin Mathew, modificado 9 Anos atrás.

RE: No Function Found on type: org.primefaces.util.ComponentUtils with sign (Resposta)

Junior Member Postagens: 77 Data de Entrada: 04/07/14 Postagens Recentes
Hi,
i changed the ivy.xml files which causing auto downloading the jar files. and it corrected the issue.
thanks to Neil emoticon