nginx+tomcat由于jsessionid出现找不到资源错误 通过在nginx的配置文件中配置一个全局的跳转:rewrite ^(.*)\;jsessionid=(.*)$ $1 break;问题就解决了.