HouseRentalSystem
HouseRentalSystem copied to clipboard
直接把项目放在webapp目录下,看日志部署成功,为啥访问404呀??http://localhost:8080/HouseRentalSystem/
[localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\apache-tomcat-8.5.35\webapps\HouseRentalSystem-master] 04-Apr-2019 14:49:09.985 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apache-tomcat-8.5.35\webapps\HouseRentalSystem-master] has finished in [47] ms 04-Apr-2019 14:49:09.988 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [D:\apache-tomcat-8.5.35\webapps\ROOT] 04-Apr-2019 14:49:10.027 信息 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [D:\apache-tomcat-8.5.35\webapps\ROOT] has finished in [39] ms 04-Apr-2019 14:49:10.040 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"] 04-Apr-2019 14:49:10.070 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"] 04-Apr-2019 14:49:10.077 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 3417 ms
后面还得加具体的请求地址
http://localhost:8080/HouseRentalSystem/index.jsp 还是404呢
那就还得麻烦你把代码导入eclipse重新编译运行了
导不进去==||| finish是灰色的,点refresh还是灰色的
你给我发邮件吧,截图给我看看。我试着导入了,我的能导入,给我看看你的是什么情况
谢谢~
同样部署遇到了问题
我的也遇到了这种情况,楼主写一个部署文档吧,好多人都在问这些问题,谢谢了。
主要是部署文档和访问方式,谢谢楼主。
等几天吧,我老早就把后面的一个版本写好了,是基于现在的项目稍微改进了一下,我用springboot给重构一下,过几天就开放出来,欢迎 star ,部署的话,我后面把文档完善一下,你需要SSM版本的就自行选择了
发件人: saisai1002mailto:[email protected] 发送时间: 2020年3月21日 20:05 收件人: chriy/HouseRentalSystemmailto:[email protected] 抄送: chriymailto:[email protected]; Commentmailto:[email protected] 主题: Re: [chriy/HouseRentalSystem] 直接把项目放在webapp目录下,看日志部署成功,为啥访问404呀??http://localhost:8080/HouseRentalSystem/ (#5)
主要是部署文档和访问方式,谢谢楼主。
― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/chriy/HouseRentalSystem/issues/5#issuecomment-602034893, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGI7GRIINGLJ3ZUOKB7QJ4DRISUQXANCNFSM4HDQKUXA.
OK,会star的,谢谢楼主,对于刚入门的java web小白来说,可以当做练手的项目,感谢!期待你后一个版本,会持续关注。
你好给你发了好多邮箱你都没有回复
将部署地址改成“/”,也就是没有“HouseRentalSystem”。运行之后是这样的“http://localhost:8080/”