Forum Stats

  • 3,839,204 Users
  • 2,262,465 Discussions
  • 7,900,894 Comments

Discussions

Element 'adf-faces-config' not expected.

Meetendra
Meetendra Member Posts: 74 Red Ribbon

Getting this error in jdeveloper in oracle adf 12.2.1.4 

<adf-faces-config xmlns="http://xmlns.oracle.com/adf/faces/config">

  <taglib-config>

      <taglib uri="http://xmlns.oracle.com/adf/faces/rich">

    <tag name="column">

     <attribute name="displayIndex">

      <persist-changes>true</persist-changes>

     </attribute>

     <attribute name="frozen">

      <persist-changes>true</persist-changes>

     </attribute>

     <attribute name="noWrap">

      <persist-changes>true</persist-changes>

     </attribute>

     <attribute name="selected">

      <persist-changes>true</persist-changes>

     </attribute>

     <attribute name="visible">

      <persist-changes>true</persist-changes>

     </attribute>

     <attribute name="width">

      <persist-changes>true</persist-changes>

     </attribute>

    </tag>

   </taglib>

  </taglib-config>

 </adf-faces-config>


getting this error Error(15,70): <Line 15, Column 70>: XML-24534: (Error) Element 'adf-faces-config' not expected. in adf-config.xml

Tagged:

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,590 Red Diamond

    User, we need some context to help. The code you posted is the adf-faces-config.xml. The error is in the adf-config.xml file as the error message tells you.

    Is the application a migrated application?

    If yes you should create a new app in 12.2.1.4 and see how the descriptor adf-config.xml is built by the framework.


    Timo