My Oracle Support Banner

When Attempting To Run Averify Recieve Error: Could Not Find The Main Class: Files. Program Will Exit (Doc ID 1304158.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Agile PLM Framework - Version and later
Information in this document applies to any platform.


When attempting to run Averify, the following error occurs:

C:\Program Files (x86)\Averify\bin>"C:\Program Files (x86)\Java\jre6\bin\java" -hotspot -ms256m -mx640m -cp "C:\Program
Files (x86)\Java\jre6/lib/tools.jar";..\lib/ant.jar;..\lib/tools.jar;..\lib/ant-launcher.jar;..\lib/;..\lib
ion.jar -Dant.dir=.. -Dsource.dir=C:\Program Files (x86)\Averify\bin.. -Djava.dir="C:\Program Files (x86)\Java\jre6" org -buildfile ..\config\averify.xml -propertyfile ..\config\ -logfile ..\logs\
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: Files. Program will exit.

The issue can be reproduced at will with the following steps:
1. Install latest version of Averify
2. Run Averify


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.