Solved by downloading a new copy of tomee microprofile. Maybe there was a misterious property/config that was somehow interfering with the netbeans deploy module.
 
Sent: Thursday, November 18, 2021 at 4:43 PM
From: "Santino Nervetti" <santino.nerve...@mail.com>
To: "Som Lima" <somplastic...@gmail.com>
Cc: users@netbeans.apache.org
Subject: Re: [java] Netbeans and apache TomEE microprofile
I will try this, thanks!
Sent: Thursday, November 18, 2021 at 3:39 PM
From: "Som Lima" <somplastic...@gmail.com>
To: "Santino Nervetti" <santino.nerve...@mail.com>
Cc: "NetBeans Mailing List" <users@netbeans.apache.org>
Subject: Re: [java] Netbeans and apache TomEE microprofile
There a couple of suggestion found at link below including putting it in the pom file with tomee plug-in  which should mean your project will work in both IDEs.
 
 
On Thu, 18 Nov 2021, 14:25 Santino Nervetti, <santino.nerve...@mail.com> wrote:
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
--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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