If I'm not wrong GlassFish 4 support Java 7: http://docs.oracle.com/javaee/7/api/javax/ejb/PostActivate.html http://docs.oracle.com/javaee/7/api/javax/ejb/PrePassivate.html
You might be interested in (which blames it on a project configuration): https://java.net/jira/browse/GLASSFISH-20564 "WARNING: Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled" I'm still on GlassFish v3.1.2.2 but with the new IE-10 I might have to upgrade as well. Let me know how it goes for you :) ~ Thank you, Paul Bors -----Original Message----- From: Dieter Tremel [mailto:[email protected]] Sent: Tuesday, July 02, 2013 10:11 AM To: [email protected] Subject: wicket-cdi 6.9.0 on Glassfish 4: Warning WELD-001529 Hello, after using wicket 6.9.0 which solved https://issues.apache.org/jira/browse/WICKET-5226 I gave it another try with a quickstart and injecting a simple helloBean, but got some warnings: > INFO: WELD-000900 2.0.0 (SP1) > WARNING: Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled > WARNING: Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled > ... > WARNING: No matching SeamConversationContext for store type interface javax.servlet.http.HttpServletRequest, using NOOP instance! > WARNING: WELD-001529 An InjectionTarget implementation is created for a class org.apache.wicket.cdi.ConversationPropagator which does not have any appropriate constructor. > WARNING: WELD-001529 An InjectionTarget implementation is created for a class org.apache.wicket.cdi.ConversationExpiryChecker which does not have any appropriate constructor. > WARNING: WELD-001529 An InjectionTarget implementation is created for a class org.apache.wicket.cdi.DetachEventEmitter which does not have any appropriate constructor. > ... > WARNING: WELD-001529 An InjectionTarget implementation is created for a class de.tremel_computer.gf4minimum.HomePage which does not have any appropriate constructor. > WARNING: WELD-001529 An InjectionTarget implementation is created for a class org.apache.wicket.markup.html.basic.Label which does not have any appropriate constructor. > WARNING: WELD-001529 An InjectionTarget implementation is created for a class org.apache.wicket.markup.html.internal.HtmlHeaderContainer which does not have any appropriate constructor. > WARNING: WELD-001529 An InjectionTarget implementation is created for a class org.apache.wicket.markup.html.TransparentWebMarkupContainer which does not have any appropriate constructor. I suppose the first two warnings are a missing dependency, does anybody know which? Any hint how to get rid of the other warnings? Thank You Dieter Tremel --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
