I created a new Java Web/Web Application Project in Netbeans 8.0.2 using Java EE 6 Web profile and not activating the checkbox Enable Contexts and Dependency Injection. Now the project has grown bigger and I want to add CDI support without restarting the project from scratch.
In Eclipse you can do that via File/Properties/Project Facets by activating the checkbox CDI (Contexts and Dependency Injection).
How can this be done in Netbeans?
Aucun commentaire:
Enregistrer un commentaire