The function getUserId must be used with a prefix when a default namespace is not specified

曾经终败给现在 2022-05-30 02:37 308阅读 0赞

转自:http://blog.sina.com.cn/s/blog\_a59efe3c01015lqz.html







The function getUserId must be used with a prefix when a default namespace is not specified

出现这个错误找了好久去网上搜了一下才知道


解决方法:


在正则表达式中${}调用不能调用方法,即不可以这样

${oauser.getUserId()} ${u.getPostcode()}而是要

这样${oauser.userId}要省略括号和get,也就是直接用模

型里面的属性就可以了,才能正确运行



发表评论

表情:
评论列表 (有 0 条评论,308人围观)

还没有评论,来说两句吧...

相关阅读