java.lang.NoSuchMethodError oracle.ons.ONS.buildServerList With FCF And JDBC Configuration (ONS) (Doc ID 555714.1)

Last updated on OCTOBER 05, 2010

Applies to:

JDBC - Version: 10.2.0.3 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Symptoms

Using the JDBC driver and ONS library from the Oracle site for version 10.2.0.3
(http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html), compiled
and ran the program to test it the next error is generated:

ERROR

Exception in thread "main" java.lang.NoSuchMethodError
at oracle.ons.ONS.buildServerList(ONS.java:1699)
at oracle.ons.ONS.onsSetup(ONS.java:310)
at oracle.ons.ONS.<init>(ONS.java:429)
at oracle.jdbc.pool.OracleConnectionCacheManager$1.run(OracleConnectionCacheManager.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleConnectionCacheManager.java:241)
at MyOracleConnectionCache.createConnectionCache(MyOracleConnectionCache.java:121)
at FCF.createOracleConnectionCache(FCF.java:19)
at FCF.main(FCF.java:156)


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms