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 SEPTEMBER 11, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version and later
Primavera P6 Professional Project Management - Version to [Release 8.4]
Information in this document applies to any platform.


When attempting to run database configuration tools for P6 Web (formerly WebAccess) or the Database Utilities under the database media the follow error occurs:

Java Virtual Machine Launcher
Could not find main class.


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 (database configuration tool for P6)
  • adminpv.cmd or (database configuration tool for P6)




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