9

每当我启动 GlassFish 4.1 时,我的 GlassFish 日志中都会收到以下两个警告:

WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled

WELD-001700: Interceptor annotation class javax.ejb.PrePassivate not found, interception based on it is not enabled

然而,这两个引用的类都在glassfish/modules/javax.ejb-api.jar.

有没有办法修复/防止这些警告?

4

1 回答 1

1

我认为您可以忽略这些警告。我从来没有遇到过这个问题,而且它们不仅存在于最后一个版本中。它只是一个警告:)

但是,如果您想使用维护得更好的 glassfish,请看这里: glassfish replacement with some bugfixes

于 2016-03-31T03:56:42.957 回答