No 'Access-Control-Allow-Origin' header is present on the requested resource

问题描述  

ajax跨域请求出现异常:No 'Access-Control-Allow-Origin' header is present on the requested resource

解决办法:

 在control层增加标签  @CrossOrigin


你可能感兴趣的:(No 'Access-Control-Allow-Origin' header is present on the requested resource)