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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 3.2
    • Other
    • OS: Windows 7 Enterprise
      Installation Type: Standalone
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: