[Solved] TomEE in Eclipse IDE 2021-06 [message #1842932] |
Wed, 07 July 2021 00:04 |
Jim Whitaker Messages: 26 Registered: October 2020 |
Junior Member |
|
|
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 06:23] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.08887 seconds