REP-50125 : java.lang.ClassNotFoundException Adding Custom Jar File
Last updated on FEBRUARY 12, 2018
Applies to:Oracle Reports Developer - Version 11.1 to 188.8.131.52.0 [Release 11g]
Information in this document applies to any platform.
When attempting to customize the error message displayed by Reports 11g using a Java API the following error like the following occurs:
at java.lang.Class.forNameImpl(Native Method)
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 /local/apps/fmw/pfrd/as_1/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.
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