My starter project includes a test for testing Jaxrs resource, but when deploying the test archive, It seems tomee-embedded and tomee-jaxrs lacks some deps,I am not sure what it is, even though I do not use Myfaces here.
I have to exclude the tomee-myfaces from tomee-embedded, the GreetingResourceTest(for testing Jaxrs Resource) gets passed now. --- Regards, *Hantsy Bai* Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker GitHub: https://github.com/hantsy Twitter: https://twitter.com/@hantsy Medium: https://medium.com/@hantsy On Sat, Feb 11, 2023 at 12:09 PM hantsy bai <han...@gmail.com> wrote: > Thanks David, so the embedded adapter is only for testing basic CDI beans? > --- > > Regards, > > *Hantsy Bai* > > Self-employed consultant, fullstack developer, agile coach, > freelancer/remote worker > > GitHub: https://github.com/hantsy > > Twitter: https://twitter.com/@hantsy > Medium: https://medium.com/@hantsy > > > On Thu, Feb 9, 2023 at 4:36 AM David Blevins <david.blev...@gmail.com> > wrote: > >> Hi, Hantsy Bai! >> >> Great to hear from you and thanks for updating your awesome starter. >> >> The trick is TomEE embedded is really a fifth distribution, not strictly >> either webprofile, plus, plume or microprofile. If you need Plume you’d >> need to use the remote arquillian adapter. >> >> >> -David >> >> >> > On Feb 1, 2023, at 5:06 AM, hantsy bai <han...@gmail.com> wrote: >> > >> > I have tried to add tomee support to my Jakarta EE 9 starter template >> > project. >> > >> > https://github.com/hantsy/jakartaee9-starter-boilerplate >> > >> > But the tests against tomee embedded always failed. >> > >> > [org.apache.myfaces.webapp.StartupServletContextListener] >> > java.lang.NoClassDefFoundError: >> > com/sun/faces/application/ValueBindingValueExpressionAdapter >> > >> > >> > I added tomee-mojara does not help. >> > >> > The complete arquillian tomee embedded config is here. >> > >> > >> https://github.com/hantsy/jakartaee9-starter-boilerplate/blob/master/pom.xml#L2006-L2058 >> > --- >> > >> > Regards, >> > >> > *Hantsy Bai* >> > >> > Self-employed consultant, fullstack developer, agile coach, >> > freelancer/remote worker >> > >> > GitHub: https://github.com/hantsy >> > >> > Twitter: https://twitter.com/@hantsy >> > Medium: https://medium.com/@hantsy >> >>