EL1007E: Property or field 'xxx' cannot be found on null
ession中取对象的属性时,如果对象本身为空,就会报错 解决办法:原来的代码: <span th:text="${session.user.username}"></span& ...
ession中取对象的属性时,如果对象本身为空,就会报错 解决办法:原来的代码: <span th:text="${session.user.username}"></span& ...