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:

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

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


Current Time: Sat Apr 27 04:41:41 GMT 2024

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

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

Back to the top