HTTP Status 500 - Unable to compile class for JSP:Syntax error on token "=", @ expected

jsp页面中使用<% = com.xunge.base.constant.PlatInfo.title %>取静态字段的值,报HTTP Status 500 – Unable to compile class for JSP:Syntax error on token “=”, @ expected错误。
详细错误信息如下:
《HTTP Status 500 - Unable to compile class for JSP:Syntax error on token
在网上搜索了很久也没找到解决方法,后来发现是因为“<% =”百分号和等号之间多了一个空格的原因,去掉就OK了。

点赞