每当我启动 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
中。
有什么方法可以修复/防止这些警告吗?
最佳答案
我认为您可以忽略这些警告。我对此从未有过任何问题,而且它们不仅存在于最后一个版本中。这只是一个警告:)
但是如果您想使用维护得更好的 Glassfish ,请看这里: glassfish replacement with a few bugfixes
关于jakarta-ee - GlassFish 4.1 启动警告 : javax. ejb.PostActivate 和 javax.ejb.PrePassivate 未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27477799/