Oracle Reports Erro "REP-50125 : java.lang.ClassNotFoundException" Adding Custom Jar File
(Doc ID 2070031.1)
Last updated on MAY 22, 2023
Applies to:Oracle Reports Developer - Version 11.1 and later
Oracle Forms for OCI - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
When attempting to customize the error message displayed by Reports 11g or later version using a Java API the following error like the following occurs:
The issue can be reproduced at will with the following steps:
1. Setup in the report.sh the REPORTS_CLASSPATH adding your jar file i.e <INSTANCE_HOME>/reports/jlib/JobRepositoryCustom.jar at the end.
2. Restart the Reports Server.
3. Run a Report using reports URL, observe the error in diagnostics files.
Adding a custom java file to display customized message when using Job Repository and login fails.
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