My Oracle Support Banner

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 MARCH 22, 2022

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 (within 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)


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.