GlassFish 4.1 launch warnings: javax.ejb.PostActivate & javax.ejb.PrePassivate not found

Whenever I start GlassFish 4.1, I get the following two warnings in the GlassFish log:

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 

Both reference classes, however, are in glassfish/modules/javax.ejb-api.jar .

Is there a way to fix / prevent these warnings?

+8
java-ee weld glassfish ejb
source share
1 answer

I think there are warnings that you can ignore. I have never come across this, and they exist not only for the latest version. And this is just a warning :)

But if you want to use a more supported glass fish, so see here: replacing glass fish with a few fixes

0
source share

All Articles