执行任何脚本均提示错误

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

执行任何脚本均提示错误

feiguyang
安装时选择的JDK为1.7  
本机JAVA_HOME配置的为JDK1.8  
Jython版本为2.5.4rc1

执行GET   www.baidu.com提示错误:exceptions.SyntaxError
2016-08-15 15:42:24,820 ERROR Aborting process - Jython exception: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n')) [initialising test script]

net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n'))


2016-08-15 15:42:24,821 ERROR validation-0: aborting process - Jython exception: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n')) [initialising test script]
net.grinder.scriptengine.jython.JythonScriptExecutionException: <type 'exceptions.SyntaxError'>: ("mismatched input '&' expecting RPAREN", ('C:\\Users\\WeLab\\.ngrinder\\script\\admin\\session.py', 22, 16, 'test1 = Test(1, "www.baidu.com")\n'))
Reply | Threaded
Open this post in threaded view
|

Re: 执行任何脚本均提示错误

Mavlarn
之前的版本不支持1.8,但是在最近的版本里面已经支持1.8了,你看一下更新日志。
Reply | Threaded
Open this post in threaded view
|

Re: 执行任何脚本均提示错误

qing
In reply to this post by feiguyang
请问你现在解决这个问题了吗