I have TomEE working in netbeans with cdi. I installed it in eclipse, but no cdi.
I followed all of this:
https://tomee.apache.org/latest/docs/tomee-and-eclipse.html
It works as far as everything except no dependency injection (@Inject). The exact same project, same tomee server works in netbeans.
I can even (in eclipse) export as war, launch the TomEE manager console, deploy the war, and everything works. Any hints why cdi isn't working in eclipse?
Edit: I got it working, in the TomEE guide, the step where you:
Select the following files for import: logging.properties, system.properties and tomee.xml
That step got everything working. I hope the post helps someone. I had done just the first section the first time.
[Updated on: Wed, 07 July 2021 02:23] by Moderator