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