• 请不要在回答技术问题时复制粘贴 AI 生成的内容
szz
V2EX  ›  程序员

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

  •  
  •   szz · Jan 5, 2019 · 2052 views
    This topic created in 2705 days ago, the information mentioned may be changed or developed.

    启动 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.

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   952 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 93c8b4a0 · 30ms · UTC 21:58 · PVG 05:58 · LAX 14:58 · JFK 17:58
    ♥ Do have faith in what you're doing.