5 Replies Latest reply on May 19, 2017 10:37 AM by Seto Kaiba

    Weld 3 PostConstruct question.

    Seto Kaiba Expert

      2017-05-19 21:28:08,598 [main] WARN org.jboss.weld.Validator - WELD-001469: Method init defined on class co.kaiba.blueeyes.impl.executor.infinispan.ExecutorImpl is not defined according to the specification. It is annotated with @javax.annotation.PostConstruct but it does not have zero parameters.

      @Inject
      @PostConstruct
      public void init(@Named("DistributedIdCache") AdvancedCache<String, Object> idCache) {
      

      My PostConstruct method is with @Inject and parameters. Why does the warn still come?