自己做了一个网站在tomcat里面发布后成war文件(我租的服务器只支持上传war文件),然后上传到服务器,服务器上面提示如下:1,仅能上传.war文件,最大不能超过100M,更大的请通过FTP上传
2,war文件,将直接上传到您的站点下webapps目录下
3,仅当你的容器被设置为支持自动部署(默认支持)时,才会自动部署
4m在删除war文件时,其对应的包也会跟着被undeploy(删除),请慎重! 但是我上传了一个webapps/school.war里面的school.war文件,我将school.war文件上传到服务器后,无法访问我的页面,我的域名已经指向了我的服务器的ip地址,不知道这是为什么啊 。求救啊 啊 ???并且我访问我的域名报如下的错误:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
2,war文件,将直接上传到您的站点下webapps目录下
3,仅当你的容器被设置为支持自动部署(默认支持)时,才会自动部署
4m在删除war文件时,其对应的包也会跟着被undeploy(删除),请慎重! 但是我上传了一个webapps/school.war里面的school.war文件,我将school.war文件上传到服务器后,无法访问我的页面,我的域名已经指向了我的服务器的ip地址,不知道这是为什么啊 。求救啊 啊 ???并且我访问我的域名报如下的错误:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
如果可以,那就应该是对方服务器的问题了。
这是对的方法
你本地开发绝对能部署上
再去找对端的服务器问题
一般除了tomcat配置问题
也有可能是他们那边的操作
比如什么上传限制之类的
权限之类的 很可能