Project run, there is this problem, very depressed, half a day can not find the wrong source, and then Lenovo a bit before the resolution of a bug and this may be similar, try a bit, sure enough is the problem
My JSP page has such a piece of code:
<pre name= "code" class= "java" ><c:if test= "${topicmodel.userid==0}" > <a class= "js-673810 w-icn2 W-icn2-3 a-followicon icontag1889734 ${topicmodel.userid} "href=" javascript:void (0) "onclick=" Dofocus (This) "
Title= "Follow ${topicmodel.nickname} ${topicmodel.userid}" > Follow </a></c:if>
We note that
<c:if test= "${topicmodel.userid==0}" >If there is a case of converting a string to Lang, according to my guess, I will change the code to the following
<c:if test= "${topicmodel.userid== ' 0 '}" >Then there is no problem, that is, depressed half-day is based on the error message can not be quickly accurate positioning to the wrong place
Javax.el.ELException cannot convert 0e27d734-c316-4e13-8770-161092a2b3c4 of type class JAVA.LANG.STR