此代码出现此错误... 重复的局部变量值 - 重复的局部变量 displayValue - 缺少结束标记 “形式:选项”
<td>Year</td>
<td><form:select path="p1q5">
<form:option value=''>
<form:option value="2014" label="2014"/>
<form:option value="2015" label="2015"/>
</form:select></td>
有什么想法吗?
答案 0 :(得分:1)
在您的第一个form:option
中,您忘记了结束标记。这应该有效:
<form:option value=''/>
答案 1 :(得分:0)
您尚未关闭第一个选项<200 OK, { success=true, msg=proxy found !, id=http://192.168.3.37:5555, request={class=org.openqa.grid.common.RegistrationRequest, id=null, name=null, description=null, configuration={port=5555, servlets=[], host=192.168.3.37, Dwebdriver.ie.driver=C:\Anoop\IEdriver\IEDriverServer.exe=, cleanUpCycle=5000, Dwebdriver.chrome.driver=C:\Anoop\chromeDriver\chromedriver.exe=, browserTimeout=0, hubHost=localhost, registerCycle=5000, capabilityMatcher=org.openqa.grid.internal.utils.DefaultCapabilityMatcher, newSessionWaitTimeout=-1, hub=http://localhost:4444/grid/register, url=http://192.168.3.37:5555, remoteHost=http://192.168.3.37:5555, register=true, throwOnCapabilityNotPresent=true, nodePolling=5000, proxy=org.openqa.grid.selenium.proxy.DefaultRemoteProxy, browser=browserName=firefox, maxSession=5, role=node, jettyMaxThreads=-1, hubPort=4444, timeout=300000}, capabilities=[{seleniumProtocol=WebDriver, platform=WIN8_1, browserName=firefox}, {seleniumProtocol=WebDriver, platform=WIN8_1, browserName=chrome}, {seleniumProtocol=WebDriver, platform=WIN8_1, browserName=internet explorer}]}},{Content-Type=[application/json;charset=UTF-8], Content-Length=[1185], Server=[Jetty(7.x.y-SNAPSHOT)]}>
的标记。