有时候,我们使用idea工具重新开启一个项目时,项目的maven project dependencies会报红线,这是因为需要用到的jar报没有导入进来,可以修改maven配置,使用本地仓库。
在使用schedule创建定时任务时,出现空指针的解决方式。
手动new对象出现空指针
You have defined query method in the repository but you don't have any query lookup strategy defined. The infrastructure apparently does not support query methods!
idea工具下提示找不到servlet-api.jar
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号