0

I have an existing jakartaEE application I'm trying to port to TomEE. I'm getting stuck however since the deployment is failing on injecting MetricRegistry (no default provider) and if I temporarily disable that, ConfigProperty (no default provider).

I tried Tomee+Microprofile UnsatisfiedResolutionException and this seemed to work, but I would prefer this solution in the tomee.xml Is this possible?

https://javanexus.com/blog/troubleshooting-microprofile-configurations-apache-tomee seems to indicate that it is, but they do not give any (much needed) examples. Can you guys help me out?

1 Answer 1

0

No. You cannot do this via tomee.xml. You need to set tomee.mp.scan = all in the system.properties.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.