Resource annotation is not supported on static fields
Posted 再见理想
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Resource annotation is not supported on static fields相关的知识,希望对你有一定的参考价值。
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘paramUtil‘ defined in URL [jar:file:/Users/exmyth/web/target/xxx/WEB-INF/lib/octopus-xxx-1.0-SNAPSHOT.jar!/cn/xxx/utils/ParamUtil.class]: Post-processing failed of bean type [class cn.xxx.utils.ParamUtil] failed; nested exception is java.lang.IllegalStateException: @Resource annotation is not supported on static fields
以上是关于Resource annotation is not supported on static fields的主要内容,如果未能解决你的问题,请参考以下文章
No ‘Access-Control-Allow-Origin‘ header is present on the requested resource.
No ‘Access-Control-Allow-Origin‘ header is present on the requested resource.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
我得到 No 'Access-Control-Allow-Origin' header is present on the requested resource error
No 'Access-Control-Allow-Origin' header is present on the requested resource
解决跨域问题:No ‘Access-Control-Allow-Origin‘ header is present on the requested resource.