Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认情况下,Intellij 码头启动器将工作目录设置为码头安装目录。我需要它作为项目基目录,因为我在代码中使用相对路径。
如果您创建一个 Maven 目标jetty:run,那么您的工作目录将是该 Maven 模块的目录。
jetty:run