ORA-29540: class <className> does not exist, when class has PUBLIC synonym

(Doc ID 1212973.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.
***Checked for relevance on 22-Jun-2017***


Loaded a java class into a schema using the -s option to create a PUBLIC SYNONYM for that class.

For Example:

>loadjava -user test1/test1 -s Hello.class

Created a package and function in another schema to reference the class.

However, when the function is called it cannot find the class and fails with:

ORA-29540: class <className> does not exist


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