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.
我一直在尝试将 tomahawk 库添加到 JSF 应用程序中。我单击项目-> BuildPath-> 库-> 添加外部罐子。但是当我尝试部署时,有一条消息说没有标签库t。
那么,添加库的正确方法是什么?
添加特定于 webapp 的库的正确方法是将 JAR 文件放入/WEB-INF/lib. 就这样。Eclipse 足够聪明,可以检测到变化,/WEB-INF/lib并会自动采取适当的行动。你真的不需要在项目的属性中摆弄构建路径。这可能会使事情变得更糟。撤消您在构建路径中所做的所有更改。
/WEB-INF/lib
这些库也是您的 web-inf/lib 的一部分吗?