Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Spring boot Web服务器从RestTemplet访问spring表单时出错404_Spring Boot_Resttemplate_Form Authentication - Fatal编程技术网

Spring boot Web服务器从RestTemplet访问spring表单时出错404

Spring boot Web服务器从RestTemplet访问spring表单时出错404,spring-boot,resttemplate,form-authentication,Spring Boot,Resttemplate,Form Authentication,我正在开发一个RestTemplet,其中他们在服务器上进行身份验证。如果有人试图访问特定的url,则打开默认的spring表单对客户端进行身份验证。它在传递正确的凭证时给我一个404错误。只有当我直接访问服务器的端口并尝试访问特定的URL而无法正常工作时,才会从RestTemplet访问该URL

我正在开发一个RestTemplet,其中他们在服务器上进行身份验证。如果有人试图访问特定的url,则打开默认的spring表单对客户端进行身份验证。它在传递正确的凭证时给我一个404错误。只有当我直接访问服务器的端口并尝试访问特定的URL而无法正常工作时,才会从RestTemplet访问该URL