My Oracle Support Banner

ORA-29540: class <className> does not exist, when class has PUBLIC synonym (Doc ID 1212973.1)

Last updated on AUGUST 04, 2018

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


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.