Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0-milestone-1
-
None
-
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
- depends on
-
XWIKI-7639 Allow start_xwiki.bat to support JETTY_PORT and JETTY_STOPPORT parameters just like start_xwiki.sh does
- Closed