Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1038

Could not find the main class: %2. Program will exit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Other
    • Labels:
    • Environment:
      OS: Windows 7 Enterprise
      Installation Type: Standalone
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Error when running xwiki_start.bat after installing using the Windows installer "xwiki-enterprise-installer-windows-3.2.exe" and using all default settings. Below is the error that I'm getting:

      C:\Program Files\XWiki Enterprise>java %XWIKI_OPTS% %2 %3 %4 %5 %6 %7 %8 %9 -jar
       %JETTY_HOME%/start.jar
      Exception in thread "main" java.lang.NoClassDefFoundError: %2
      Caused by: java.lang.ClassNotFoundException: %2
              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)
      Could not find the main class: %2.  Program will exit.
      

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              evivares Elvin Vivares
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: