The function getUserId must be used with a prefix when a default namespace is not specified
出现这个错误找了好久去网上搜了一下才知道
解决方法:
在正则表达式中${}调用不能调用方法,即不可以这样${oauser.getUserId()} ${u.getPostcode()}而是要这样${oauser.userId}要省略括号和get,也就是直接用模型里面的属性就可以了,才能正确运行
T
he function getUserId must be used with a prefix when a default namespace is not specified
The function getUserId must be used with a prefix when a default namespace is not specified
出现这个错误找了好久去网上搜了一下才知道
解决方法:
在正则表达式中${}调用不能调用方法,即不可以这样${oauser.getUserId()} ${u.getPostcode()}而是要这样${oauser.userId}要省略括号和get,也就是直接用模型里面的属性就可以了,才能正确运行