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????
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