在我的一个jspx中,jstl表达式如下:
<c:set var="colors" value="${['#1abc9c', '#e74c3c', '#3498db', '#F4D03F', '#9b59b6', '#bdc3c7', '#244F75']}" />
在tomcat 7上抛出以下错误:
org.apache.jasper.JasperException: /WEB-INF/views/proj/abc/show.jspx(第90行, 专栏:119)&#34; $ {[&#39;#1abc9c&#39;,&#39;#ecccc&#39;,&#39;#3498db&#39;,&#39;#F4D03F&#39; , &#39;#9b59b6&#39;,&#39;#bdc3c7&#39;,&#39;#244F75&#39;]}&#34;包含无效的表达式: javax.el.ELException:无法解析表达式[$ {[&#39;#1abc9c&#39;, &#39;#ecc3c&#39;,&#39;#3498db&#39;,&#39;#F4D03F&#39;,&#39;#9b59b6&#39;,&#39;#bdc3c7&#39;, &#39;#244F75&#39;]}]
我已经在我的tomcat 7 conf catalina.properties中添加了以下其他线程,但它没有帮助。
org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true
这对tomcat 8.5上的同事很有用。我真的需要升级还是错过了什么?
答案 0 :(得分:0)
尝试更改为:
Sub columnCompare()
Dim sh1 As Worksheet, sh2 As Worksheet, r1 As Range, r2 As Range
Set sh1 = Worksheets("Sheet1")
Set sh2 = Worksheets("Sheet2")
Set r1 = sh1.Range("A1")
Set r2 = sh2.Range("A1")
While r1 <> "" And r2 <> ""
If r1 = r2 Then r2.Offset(0, 1) = r1
Set r1 = r1.Offset(1, 0)
Set r2 = r2.Offset(1, 0)
Wend
End Sub