Discussions
Categories
- 196.7K All Categories
- 2.2K Data
- 235 Big Data Appliance
- 1.9K Data Science
- 449.8K Databases
- 221.5K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 477 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.8K SQL & PL/SQL
- 21.2K SQL Developer
- 295.4K Development
- 17 Developer Projects
- 138 Programming Languages
- 292K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 27 Java Learning Subscription
- 37K Database Connectivity
- 153 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 158 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 390 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 170 Deutsche Oracle Community
- 1K Español
- 1.9K Japanese
- 230 Portuguese
what can i do resolve this error apart from commenting code block in web.xml.

<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.
Answers
-
Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,252 Red Diamond
As in your other question we need more information.
JDev version?
Information about the application?
When do you get this error?
....
-
I have migrated from 11.1.2.4 to 12.2.1.4 when I deploy my application from 12.2.1.4 JDeveloper it gives this error.
-
MDS exception when deploying in Jdev 12.2.1
as I followed this above solution from blog, to comment this code block but just wanted to know will I face any issue if I comment this block code / or it can be ignored by adding some code lines
-
-
Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,252 Red Diamond
The thread you mention tells you to purge the MDS data, not to comment out the block as you did. This info came from another user. I can't comment on this. You should try the other solution (purging the mds data).
And I still don't know what type of application we are talking about.
Timo
-
@Timo Hahn thanks for the help I am new to this technology. It would be really helpful if you could share any link on how to purging mds data as applicable is in my local only
-
Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,252 Red Diamond
It's all in the other post you mentioned yourself. I don't have anything else.
Timo