Forum Stats

  • 3,767,750 Users
  • 2,252,713 Discussions
  • 7,874,327 Comments

Discussions

what can i do resolve this error apart from commenting code block in web.xml.

Meetendra
Meetendra Member Posts: 66 Red Ribbon

<Aug 11, 2021 3:25:45,986 AM UTC> <Error> <javax.enterprise.resource.webcontainer.jsf.application> <BEA-000000> <Error Loading Facelet cache: oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache

java.lang.InstantiationException: oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache

at java.lang.Class.newInstance(Class.java:427)

at com.sun.faces.application.ApplicationAssociate.createFaceletFactory(ApplicationAssociate.java:869)

at com.sun.faces.application.ApplicationAssociate.initializeFacelets(ApplicationAssociate.java:332)

at com.sun.faces.application.ApplicationAssociate.getCompiler(ApplicationAssociate.java:415)

at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:251)

Truncated. see log file for complete stacktrace

Caused By: java.lang.NoSuchMethodException: oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache.<init>()

at java.lang.Class.getConstructor0(Class.java:3082)

at java.lang.Class.newInstance(Class.java:412)

at com.sun.faces.application.ApplicationAssociate.createFaceletFactory(ApplicationAssociate.java:869)

at com.sun.faces.application.ApplicationAssociate.initializeFacelets(ApplicationAssociate.java:332)

at com.sun.faces.application.ApplicationAssociate.getCompiler(ApplicationAssociate.java:415)

Truncated. see log file for complete stacktrace


to resolve this I have comment this code block in web.xml.

 <!--<context-param>

  <param-name>com.sun.faces.faceletCache</param-name>

  <param-value>oracle.adfinternal.view.faces.facelets.rich.MDSFaceletCache</param-value>

 </context-param>-->

But I want to know is there any alternate way to resolve this code without commenting on any existing code. If any jar to be added or any code block I can add to resolve this error.

Tagged:

Answers