On Feb 24, 2005, at 7:23 AM, Kent Johnson wrote:
> There still seems to be a problem with hessian-3.0.12.jar. I have a
> simple program that just tries to make a call on a remote interface:
> public class RemoteTest {
>
> public static void main(String[] args) throws MalformedURLException
> {
> HessianProxyFactory hpf = new HessianProxyFactory();
> hpf.setOverloadEnabled(true);
> hpf.setUser("xxx");
> hpf.setPassword("xxx");
> CbDao dao = (CbDao)hpf.create(CbDao.class,
> "http://localhost/cbdao");
> dao.clearDatabase();
> }
> }
>
> I get this exception:
> java.lang.NoClassDefFoundError: com/caucho/util/CharBuffer
> at
> com.caucho.hessian.client.HessianProxyFactory.openConnection(HessianPro
> xyFactory.java:204)
> at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
> at $Proxy0.clearDatabase(Unknown Source)
> at com.skillsoft.cb.main.RemoteTest.main(RemoteTest.java:22)
> Exception in thread "main"
>
> I can't find any reference to CharBuffer anywhere other than in a few
> strings; certainly not at HessianProxyFactory.java:204
Thanks.
It's a JDK 1.5 to JDK 1.4 compatibility class. I'm changing the build
and rebuilding that jar.
-- Scott
>
> I rebuilt the jar from source and now the same program works OK.
>
> Kent
>
> Scott Ferguson wrote:
>
>>
>> On Feb 23, 2005, at 1:39 AM, Christian Campo wrote:
>>
>>> Not just you.....I have the same problem.
>>
>>
>> Can you try the new 3.0.12 downloads?
>>
>> -- Scott
>>
>>>
>>> christian
>>>
>>>
>>> On Wed, 23 Feb 2005 10:09:12 +0100, Bordet, Simone
>>> <simone.bordet@xxx.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> it's just me, or the jars for hessian 3.0.11 at
>>>> http://caucho.com/hessian/ are completely empty ?
>>>>
>>>> Thanks,
>>>>
>>>> Simon
>>>>
>>>>
>>>
>>>
>>> --
>>> christian campo (gmail.com)
>>>
>>
>>
>>
>>
>
>
Received on Thu 24 Feb 2005 08:53:10 -0800
This archive was generated by hypermail 2.1.8 : Thu Sep 28 2006 - 20:16:40 PDT