ERROR: 'Could Not Find Main Class' OR 'Exception in thread "main" java.lang.NoClassDefFoundError' When Launching Database Utilities on Database Media or Database Configuration Tools With P6
(Doc ID 1376091.1)
Last updated on AUGUST 28, 2023
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 8.1.1.0 and laterPrimavera P6 Professional Project Management - Version 8.4.0.0 to 8.4.0.0 [Release 8.4]
Information in this document applies to any platform.
Symptoms
When attempting to run database configuration tools for P6 Web (formerly WebAccess) or the Database Utilities (within the database media) the follow error occurs:
ERROR
Java Virtual Machine Launcher
Could not find main class.
OR
Exception in thread "main" java.lang.NoClassDefFoundError: <CLASSNAME>
Could not find the main class.
Database Utilities and Configuration Tools Affected:
- databaselogins.bat (database utility on database media)
- dbsetup.bat (database utility on database media)
- migrate.bat (database utility on database media)
- validate.bat (database utility on database media)
- dbconfigpv.cmd or dbconfig.sh (database configuration tool for P6)
- adminpv.cmd or adminpv.sh (database configuration tool for P6)
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |