项目无缘无故就报了一个这样的错:org.springframework.expression.spel.SpelEvaluationException: EL1007E: Property or field 'username' cannot be found on null
根据错误提示:username不能为null。建议检查下.properties配置文件,或者全局查看下username是否存在null的情况。
配置文件中有问题 检查一下