V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
szz
V2EX  ›  程序员

只有 WebContent 的 Java Web 项目在 Windows 上可以启动,但在 macOS 上无法启动,如何解决

  •  
  •   szz · 2019-01-05 11:22:40 +08:00 · 1206 次点击
    这是一个创建于 1942 天前的主题,其中的信息可能已经有所发展或是发生改变。

    启动 Tomcat 之 后,访问localhost:8080正常。

    无论我是把项目直接放在 Tomcat 的webapps下,还是通过配置项目路径(<Context path="/ZhiMa" docBase="/Users/username/development/ZhiMa" debug="0" reloadabled="true"/>),都无法访问项目。

    Tomcat 报 404,描述是 The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   895 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 22:27 · PVG 06:27 · LAX 15:27 · JFK 18:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.