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.
我有一个JAX-WS服务也有一些依赖项,我需要将它们捆绑在一起作为其中的一部分,WAR file以便在部署到服务器时,依赖项不会安装在正常$TOMCAT/lib目录中,这可能会影响生产服务器上运行的其他服务。我该怎么做?
JAX-WS
WAR file
$TOMCAT/lib
war 文件是一个包含文件和目录的 zip 存档。它应该包含一个 WEB-INF/lib 目录,用于存储依赖项(大多数情况下为 jar 文件)