Unable to “Run on Server” a webapp from Eclipse

后端 未结 15 1441
悲哀的现实
悲哀的现实 2021-01-30 11:20

When running my WebApp project from Eclipse most of times it run correctly. But if by mistake to stop server, I kill it in \"Console\" view on instead of \"Stop\" Server from \"

15条回答
  •  礼貌的吻别
    2021-01-30 11:46

    Check Tomcat doc for Document base xyz does not exist or is not a readable directory:

    Document base does not exist or is not a readable directory The URL specified by the war parameter must identify a directory on this server that contains the "unpacked" version of a web application, or the absolute URL of a web application archive (WAR) file that contains this application. Correct the value specified by the war parameter.

    Can you manually do "Clean..." and then "Publish" (from context menu on Tomcat in Servers view) after clean project is completed?

提交回复
热议问题