My Oracle Support Banner

java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance when CLASSPATH Includes nls_charset12.jar (Doc ID 822891.1)

Last updated on DECEMBER 14, 2018

Applies to:

JDBC - Version 11.1.0.6 and later
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

An application runs successfully in a version 1.6 JVM connecting to an Oracle database via JDBC/Thin 11.1.0.6 ojdbc6.jar. An Eclipse plugin for this application is being developed.

The Eclipse plugin fails with:

java.lang.NoSuchMethodError:
oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/Character
Converter;
at oracle.sql.converter.CharacterConverterFactoryOGS.make(CharacterConverterFactoryOGS.java:43)
at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:95)
at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:126)
at oracle.sql.CharacterSet.make(CharacterSet.java:448)
at oracle.jdbc.driver.DBConversion.init(DBConversion.java:150)
at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:111)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1007)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:292)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:508)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
at java.sql.DriverManager.getConnection(Unknown Source) at
java.sql.DriverManager.getConnection(Unknown Source)
...
... remaining lines omitted ...
...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.