项目没问题,maven也刷新了,为啥无法解析这个值,有什么解决方法吗
报错的意思是:无法从配置文件中获取名为javaweb.resources.staticAccessPath
的配置项。
把配置文件里这个值截图看一下
把24、37和42行中的javaweb.resources.staticAccessPath对应的javaweb去掉
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customResourcesConfig': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'javaweb.resources.accessPath' in value "${javaweb.resources.accessPath}"