1 Reply Latest reply on Apr 16, 2008 2:25 AM by jaikiran

    @postconstruct problem

    gcameo

      I have a Bean with a method whic i want to call after the bean is created.

      I have anotated it with the postConstruct anotation. but the bean is not deploying anymore

      When i remove the anotation, the application deploys fine.

      I'm using jboss 4.2.2

      Is there sth i shd do when i add the anotation apart from the import????

        • 1. Re: @postconstruct problem
          jaikiran

          Can you post the bean code which contains the @PostConstruct annotation and also the error logs that you see when you deploy this bean?

          While posting the logs or code or xml content, remember to wrap it in a code block using the Code button in the message editor window and please hit the Preview button to make sure your post is correctly formatted