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

Last updated on MAY 02, 2017

Applies to:

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

Symptoms

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/classes12.zip;..\lib
/crypto.jar;..\lib/fsclient.jar;..\config;..\lib/agileclasses.jar;..\lib/ant-javamail.jar;..\lib/mail.jar;..\lib/activat
ion.jar -Dant.dir=.. -Dsource.dir=C:\Program Files (x86)\Averify\bin.. -Djava.dir="C:\Program Files (x86)\Java\jre6" org
.apache.tools.ant.Main -buildfile ..\config\averify.xml -propertyfile ..\config\averify.properties -logfile ..\logs\
Averify.log
Exception in thread "main" java.lang.NoClassDefFoundError: Files
Caused by: java.lang.ClassNotFoundException: Files
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown 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

Cause

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