You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Luca Merolla <lu...@gmail.com> on 2013/02/14 12:52:40 UTC
Arquillian and CDI problems
Hi everyone,
recently I have managed to add dependencies libraries to arquillian test
cases. In this way I have managed to have DBUnit, Hibernate and Arquillian
working nicely with TomEE.
However, I have found an error in a test case where I'm not able to deploy
with TomEE and Arquillian.
I have packed a project with source code to test here: *
http://www.fileconvoy.com/dfl.php?id=gb4f3503d7da8f9da999223848d1097617e554f3ca
*
And here is the logs http://pastebin.com/kN5EXbZX
The test to run is BroadcasterBeanTest and the problem seems to be with
JsonUtil. Initially I thought it was a problem of dependencies, but even
commenting out the ObjectMapper in the JsonUtil class I get the same error.
Btw, the BroadcasterBean works in TomEE, but it doesn't when I'm trying to
build the test with Arquillian.
Thanks in advance,
LM
Re: Arquillian and CDI problems
Posted by Luca Merolla <lu...@gmail.com>.
Works like a charm! Thanks
On Thu, Feb 14, 2013 at 3:02 PM, Romain Manni-Bucau
<rm...@gmail.com>wrote:
> addAsWebInfResource instead of addAsWebResource
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/2/14 Luca Merolla <lu...@gmail.com>
>
> > Hi everyone,
> >
> > recently I have managed to add dependencies libraries to arquillian test
> > cases. In this way I have managed to have DBUnit, Hibernate and
> Arquillian
> > working nicely with TomEE.
> >
> > However, I have found an error in a test case where I'm not able to
> deploy
> > with TomEE and Arquillian.
> >
> > I have packed a project with source code to test here: *
> >
> >
> http://www.fileconvoy.com/dfl.php?id=gb4f3503d7da8f9da999223848d1097617e554f3ca
> > *
> >
> > And here is the logs http://pastebin.com/kN5EXbZX
> >
> > The test to run is BroadcasterBeanTest and the problem seems to be with
> > JsonUtil. Initially I thought it was a problem of dependencies, but even
> > commenting out the ObjectMapper in the JsonUtil class I get the same
> error.
> >
> > Btw, the BroadcasterBean works in TomEE, but it doesn't when I'm trying
> to
> > build the test with Arquillian.
> >
> > Thanks in advance,
> > LM
>
Re: Arquillian and CDI problems
Posted by Romain Manni-Bucau <rm...@gmail.com>.
addAsWebInfResource instead of addAsWebResource
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*
2013/2/14 Luca Merolla <lu...@gmail.com>
> Hi everyone,
>
> recently I have managed to add dependencies libraries to arquillian test
> cases. In this way I have managed to have DBUnit, Hibernate and Arquillian
> working nicely with TomEE.
>
> However, I have found an error in a test case where I'm not able to deploy
> with TomEE and Arquillian.
>
> I have packed a project with source code to test here: *
>
> http://www.fileconvoy.com/dfl.php?id=gb4f3503d7da8f9da999223848d1097617e554f3ca
> *
>
> And here is the logs http://pastebin.com/kN5EXbZX
>
> The test to run is BroadcasterBeanTest and the problem seems to be with
> JsonUtil. Initially I thought it was a problem of dependencies, but even
> commenting out the ObjectMapper in the JsonUtil class I get the same error.
>
> Btw, the BroadcasterBean works in TomEE, but it doesn't when I'm trying to
> build the test with Arquillian.
>
> Thanks in advance,
> LM
>