Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7624

UI-test suite is unable to start XWiki instance on Windows systems

    XMLWordPrintable

Details

    • Unknown

    Description

      Scenario:

      • user wants to run ui-tests from a Windows System
      • UI-tests are started with: C:\gitrepo\xwiki-enterprise\xwiki-enterprise-test\xwiki-enterprise-test-ui>mvn clean install

      Everything goes well, checking dependencies, downloading the artifact (jetty-hsqldb zip file), unzipping the artifact.

      Error occurs when starting the XWiki instance:

      Starting XWiki server start
      Checking that XWiki is up and running...
      Could not load definitions from resource org/apache/tools/ant/antlib.xml. It cou
      ld not be found.
      The command attribute is deprecated.
      Please use the executable attribute and nested arg elements.
      Current OS is Windows XP
      Executing 'cmd' with arguments:
      '/c'
      'start_xwiki.bat'
      '8080'
      '8079'
      
      The ' characters around the executable and arguments are
      not part of the command.
      java.lang.NoClassDefFoundError: 8079
      Caused by: java.lang.ClassNotFoundException: 8079
              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: 8079.  Program will exit.
      Exception in thread "main"
      Result: 1
      

      I get the same error when usint the same command with cygwin.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              sorinello Sorin Burjan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: