You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Stefan Klinger <kl...@cs.york.ac.uk> on 2006/02/22 13:07:51 UTC
Xbean Version problem
Hello,
I have noticed an interesting phenomenon. When I create the latest
servicemix-*.jars using maven in my local incubator-servicemix
repository, I get the following error message (see below). However,
when I delete the jars and download them from the remote Apache
repository, it works fine.
Stefan
Testcase: testMessage(MessagingTest): Caused an ERROR
org/xbean/server/repository/Repository
java.lang.NoClassDefFoundError: org/xbean/server/repository/Repository
at
org.apache.servicemix.http.HttpComponent.createServiceUnitManager(HttpComponent.java:42)
at
org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:50)
at
org.apache.servicemix.http.HttpComponent.<init>(HttpComponent.java:29)
at MessagingTest.testMessage(MessagingTest.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Re: Xbean Version problem
Posted by Jamie Le Grange <ja...@googlemail.com>.
hi Stefan,
I've seen the same problem in the past but it seems to have gone away.
I'm not 100% up to date, though (probably last built from source about
a week ago).
On 22/02/06, Stefan Klinger <kl...@cs.york.ac.uk> wrote:
> I am using the 2.2 version in both cases, my code actually uses the new
> org.apache.xbean.* packages and compiles fine with the 2.2 version in
> both cases. However, I get the runtime error below if I use the recently
> generated packages with the latest code from Apache, but I don't get it
> when I download the jars from Apache. Seems very strange...
>
> I am happy to use the available jars, I just thought that someone else
> might have seen this problem as well.
>
> Stefan
>
> Guillaume Nodet wrote:
>
> > ServiceMix has recently changed from 2.1 to 2.2 version of xbean, in
> > which packages have
> > been renamed. This may be the cause of your problem.
> >
> > Guillaume Nodet
> >
> > Stefan Klinger wrote:
> >
> >> Hello,
> >>
> >> I have noticed an interesting phenomenon. When I create the latest
> >> servicemix-*.jars using maven in my local incubator-servicemix
> >> repository, I get the following error message (see below). However,
> >> when I delete the jars and download them from the remote Apache
> >> repository, it works fine.
> >>
> >> Stefan
> >>
> >> Testcase: testMessage(MessagingTest): Caused an ERROR
> >> org/xbean/server/repository/Repository
> >> java.lang.NoClassDefFoundError: org/xbean/server/repository/Repository
> >> at
> >> org.apache.servicemix.http.HttpComponent.createServiceUnitManager(HttpComponent.java:42)
> >>
> >> at
> >> org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:50)
> >> at
> >> org.apache.servicemix.http.HttpComponent.<init>(HttpComponent.java:29)
> >> at MessagingTest.testMessage(MessagingTest.java:72)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >> at
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>
> >> at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>
> >>
> >>
> >>
> >>
>
>
Re: Xbean Version problem
Posted by Stefan Klinger <kl...@cs.york.ac.uk>.
I am using the 2.2 version in both cases, my code actually uses the new
org.apache.xbean.* packages and compiles fine with the 2.2 version in
both cases. However, I get the runtime error below if I use the recently
generated packages with the latest code from Apache, but I don't get it
when I download the jars from Apache. Seems very strange...
I am happy to use the available jars, I just thought that someone else
might have seen this problem as well.
Stefan
Guillaume Nodet wrote:
> ServiceMix has recently changed from 2.1 to 2.2 version of xbean, in
> which packages have
> been renamed. This may be the cause of your problem.
>
> Guillaume Nodet
>
> Stefan Klinger wrote:
>
>> Hello,
>>
>> I have noticed an interesting phenomenon. When I create the latest
>> servicemix-*.jars using maven in my local incubator-servicemix
>> repository, I get the following error message (see below). However,
>> when I delete the jars and download them from the remote Apache
>> repository, it works fine.
>>
>> Stefan
>>
>> Testcase: testMessage(MessagingTest): Caused an ERROR
>> org/xbean/server/repository/Repository
>> java.lang.NoClassDefFoundError: org/xbean/server/repository/Repository
>> at
>> org.apache.servicemix.http.HttpComponent.createServiceUnitManager(HttpComponent.java:42)
>>
>> at
>> org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:50)
>> at
>> org.apache.servicemix.http.HttpComponent.<init>(HttpComponent.java:29)
>> at MessagingTest.testMessage(MessagingTest.java:72)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>>
>>
>>
>>
Re: Xbean Version problem
Posted by Guillaume Nodet <gu...@worldonline.fr>.
ServiceMix has recently changed from 2.1 to 2.2 version of xbean, in
which packages have
been renamed. This may be the cause of your problem.
Guillaume Nodet
Stefan Klinger wrote:
> Hello,
>
> I have noticed an interesting phenomenon. When I create the latest
> servicemix-*.jars using maven in my local incubator-servicemix
> repository, I get the following error message (see below). However,
> when I delete the jars and download them from the remote Apache
> repository, it works fine.
>
> Stefan
>
> Testcase: testMessage(MessagingTest): Caused an ERROR
> org/xbean/server/repository/Repository
> java.lang.NoClassDefFoundError: org/xbean/server/repository/Repository
> at
> org.apache.servicemix.http.HttpComponent.createServiceUnitManager(HttpComponent.java:42)
>
> at
> org.apache.servicemix.common.BaseComponent.<init>(BaseComponent.java:50)
> at
> org.apache.servicemix.http.HttpComponent.<init>(HttpComponent.java:29)
> at MessagingTest.testMessage(MessagingTest.java:72)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
>
>
>