humm.. well, I am combinning EJB 3 with Jersey..
so, how can I use the ejbs without javaee ?
I will check here........
On Thu, Apr 30, 2009 at 6:41 PM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:
>
> On Apr 30, 2009, at 6:34 PM, Felipe Gaúcho wrote:
>
>> My service has this resource:
>> http://fgaucho.dyndns.org:8080/footprint-service/user/read/5
>>
>> then I tried to run a test case using the following code:
>>
>> @Test
>> public void createUser() {
>> Client client = Client.create();
>> WebResource webResource = client
>>
>> .resource("http://fgaucho.dyndns.org:8080/footprint-service/user/read/5");
>> FpUserWritable user =
>> webResource.get(FpUserWritable.class);
>> }
>>
>> and the exception:
>>
>> java.lang.ClassFormatError: Absent Code attribute in method that is
>> not native or abstract in class file javax/servlet/http/HttpServlet
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>> at
>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>>
>> ...
>>
>> what is wrong ??
>>
>
> It looks like another stubbed jar issue you were running into previously.
>
> The problem being:
>
> <classpathentry kind="var"
> path="M2_REPO/javaee/javaee-api/5/javaee-api-5.jar"/>
>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>
--
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces