1

在我的项目中,我使用 Jetty 9.2.5 + Weld 2.2.7(目前是最新版本)。当我启动 Jetty 时,会显示此警告:

WARN: WELD-ENV-001004: Found both WEB-INF/beans.xml and WEB-INF/classes/META-INF/beans.xml. It's not portable to use both locations at the same time.

这很奇怪而且不正确。WEB-INF/classes/META-INF/beans.xml战争档案里没有!这是一个错误还是我忽略了什么?

可以在github上找到准备运行的示例项目

4

0 回答 0