Re: Arquillian TomEE 9.0 Embedded Exception

hantsy bai <[email protected]>
Newsgroups gmane.comp.java.openejb.user
Message-ID <CAMq3Qk3E-Oj9kZEkFX7rnKp=LfbfSLg5Sse=gFoyyQEsku2bxg@mail.gmail.com>
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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]> 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
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.