lundi 18 mai 2015

Inject Annotation not working

I am using IBM WebSphere Application Server 8.0 for CDI inject. I have created a WAR project and EAR project. In War project I have added the below code

@Inject
Test test;

The test is NULL hence it gives null pointer exception

Aucun commentaire:

Enregistrer un commentaire