1) some dev without testing I guess ;). BTW using tomee remote all
should be fine
2) agnostic to? org.apache.openejb:javaee-api is agnostic to the container.
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-03-29 12:11 GMT+01:00 Alex Soto <[email protected]>:
> ok :) then:
> 1) what's doing there?
> 2) is there a way to have an agnostic jar?
>
>
> 2014-03-29 12:09 GMT+01:00 Romain Manni-Bucau <[email protected]>:
>
>> hehe, did you decompile these binaries? they are not valid so not
>> usable at any runtime
>> Romain Manni-Bucau
>> Twitter: @rmannibucau
>> Blog: http://rmannibucau.wordpress.com/
>> LinkedIn: http://fr.linkedin.com/in/rmannibucau
>> Github: https://github.com/rmannibucau
>>
>>
>>
>> 2014-03-29 11:18 GMT+01:00 Alex Soto <[email protected]>:
>> > Hello,
>> >
>> > I am developing some examples of javaEE and TomEE. I have tried to
>> maintain
>> > my pom file as clean as possible, so instead of adding JavaEE libraries
>> > from TomEE coordinates, I have decided to use the generic ones (from java
>> > net site)
>> >
>> > <dependency>
>> >
>> >             <groupId>javax</groupId>
>> >
>> >             <artifactId>javaee-api</artifactId>
>> >
>> >             <version>${version.javaee}</version>
>> >
>> >             <scope>provided</scope>
>> >
>> >  </dependency>
>> >
>> >
>> > The problem is that when I run a test from Arquillian using Embed TomEE
>> > adapter, next exception is thrown: java.lang.ClassFormatError: Absent
>> Code
>> > attribute in method that is not native or abstract in class file
>> >
>> > Of course if I use the ones provided by TomEE the application works, but
>> I
>> > don't know if it has lot of sense this behaviour. Basically because if I
>> > want to write an application with dependencies not linked to container,
>> the
>> > best way would be using this generic file and because scope is provided,
>> > each container will provide their own implementation.
>> >
>> > I don't know if there is a solution for this error, or for example if
>> TomEE
>> > Arquillian adapter could do something in this way.
>> >
>> >
>> > Alex.
>> >
>> > --
>> > +----------------------------------------------------------+
>> >   Alex Soto Bueno
>> >   www.lordofthejars.com
>> > +----------------------------------------------------------+
>>
>
>
>
> --
> +----------------------------------------------------------+
>   Alex Soto Bueno - Computer Engineer
>   www.lordofthejars.com
> +----------------------------------------------------------+

Reply via email to