Hi everyone!
 
I'm trying to setup a simple jakarta rs project on netbeans using apache tomee microprofile as application server (apache-tomee-microprofile-9.0.0-M7).
I have trouble starting the project because of errors like these:
 
18-Nov-2021 09:27:47.270 SEVERE [http-nio-8080-exec-6] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [opentracing]
    jakarta.enterprise.inject.UnsatisfiedResolutionException: Api type [org.apache.geronimo.microprofile.opentracing.impl.ScopeManagerImpl] is not found with the qualifiers 
Qualifiers: [@jakarta.enterprise.inject.Default()]
 
18-Nov-2021 10:09:15.280 SEVERE [http-nio-8080-exec-10] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [opentracing]
    jakarta.enterprise.inject.UnsatisfiedResolutionException: Api type [io.opentracing.Tracer] is not found with the qualifiers 
Qualifiers: [@jakarta.enterprise.inject.Default()]
 
 
I see in tomee logs: 
18-Nov-2021 10:09:08.813 INFO [main] org.apache.openejb.util.OptionsLog.info Using 'tomee.mp.scan=all'
which should mean that microprofile support is enabled.
 
I looked inside the common libraries path and found the classes that produce the error.
 
 
I tried to launch the same project with eclipse and it's deployment plugin, I had the same errors. I manually added -Dtomee.mp.scan=all to the run configuration arguments and now everything works, but with netbeans I can't seem to find a solution for this error.
 
Thanks for your support.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to