XMLHttpRequest cannot load http://xxx. Response for preflight has invalid HTTP status code 404

緣由1:最簡單的錯誤,路徑或者端口號不對java 緣由2:rest服務,路徑參數java程序雖然經過@PathParam註解更新了相應接口文件,可是忘記更新路徑參數@Path("xx/yy"),致使出現下面錯誤。後端 XMLHttpRequest cannot load http://127.0.0.1:21888/services/searchPromotionRestService/getEc
相關文章
相關標籤/搜索