Skip to main content

MarkView All Components – NoClassDefFoundError while running Verify.bat on C&O server from the command line.

Article # 304147 - Page views: 80



Applies To

  • ERP System: All
  • MarkView Version: All


  • As part of an install or update you may need to run Verify.bat in the in the Capture & Output server. Running the file from the command line may yield the following error message:
    Exception in thread 'main' java.lang.NoClassDefFoundError: com/markview/installer/tools/JavaVersionValidator
    Caused by: java.lang.ClassNotFoundException:
            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)
    Could not find the main class:
    . Program will exit.
    ECHO is off.
  • Verify.bat is unable to run

Known Causes

  • Some files are missing or in another folder, or are corrupted.


  • The error message is related to trying to run the Verify.bat file from a different folder (directory). Please try the following:
    • Run Verify.bat from Windows Explorer
    • Run Verify.bat from the command line, but from the folder (directory) where the file is.
      • Use the CD command to move to the folder (directory)
      • Run Verify.bat

Keywords: NoClassDefFoundError,Verify