If you are trying to open your DBAdapter configuration but getting the below error in popup:
java.util.InvalidPropertiesFormatException:
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 12; <Line 2, Column 12>:
XML-20149: (Error) Element 'properties' used but not declared.
at sun.util.xml.PlatformXmlPropertiesProvider.load(PlatformXmlPropertiesProvider.java:80)
at java.util.Properties$XmlSupport.load(Properties.java:1201)
The configuration still opens if you ignore the error but properties don't load correctly.
The reason for this error is that the properties declaration is missing from the adapter-properties.xml file.
Add the below line before the properties element in your adapter-properties.xml file.
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
Save and retry.
Helpful? Please Comment.
Happy Learning!!
java.util.InvalidPropertiesFormatException:
org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 12; <Line 2, Column 12>:
XML-20149: (Error) Element 'properties' used but not declared.
at sun.util.xml.PlatformXmlPropertiesProvider.load(PlatformXmlPropertiesProvider.java:80)
at java.util.Properties$XmlSupport.load(Properties.java:1201)
The configuration still opens if you ignore the error but properties don't load correctly.
The reason for this error is that the properties declaration is missing from the adapter-properties.xml file.
Add the below line before the properties element in your adapter-properties.xml file.
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
Save and retry.
Helpful? Please Comment.
Happy Learning!!
Faced similar issue for jdev 11.1.17 and your post helped...Thanks
ReplyDeletefaced same issue in 12.2.1.4 and this helped to resolve... thanks
ReplyDeleteUseful post, Thanks.
ReplyDelete