пʼятниця, 14 січня 2011 р.

SoapUI 3.6.1 start up fail on Win XP

SoapUI is the biliant tool for web-service and JMS testing purposes, but last version has a one bug - it has start up problems with the next error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
If you'll check libs, you'll found related jar, misterious...
Don't worry - let's look at soapui.bat, and add before the line:
"%JAVA%" %JAVA_OPTS% -cp "%CLASSPATH%" com.eviware.soapui.SoapUI %*
next code:
setlocal ENABLEDELAYEDEXPANSION
if defined CLASSPATH (set CLASSPATH=%CLASSPATH%;.) else (set CLASSPATH=.)
FOR /R ..\lib %%G IN (*.jar) DO set CLASSPATH=!CLASSPATH!;%%G
It seems a bit strange, but it realy helpful;)

Немає коментарів:

Дописати коментар