原文:java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header.

.出現這個問題的原因是因為controller層跨域注解多了一個 .解決把allowCredentials true 給注釋掉就行了 ...

2021-03-02 09:32 0 770 推薦指數:

查看詳情

 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM