Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » [Solved] TomEE in Eclipse IDE 2021-06(TomEE no CDI (dependency injection))
[Solved] TomEE in Eclipse IDE 2021-06 [message #1842932] Wed, 07 July 2021 00:04
Jim Whitaker is currently offline Jim WhitakerFriend
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:

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:, 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

Previous Topic:Dependency injection with @inject
Next Topic:Which version did I install?
Goto Forum:

Current Time: Thu Feb 09 04:15:34 GMT 2023

Powered by FUDForum. Page generated in 0.02707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top