|
From: Thomas B. <sp...@th...> - 2004-10-05 22:20:45
|
Hi, first of all: @developer: great work so far with the spring framework! @rod + @juergen: great "must read by every j2ee developer" book!. @rod: cool presentation at JAOO. I heard people talking about spring at breakfast, breaks, lunch, ... people get "spring infected!" :) and then: I download this release and try to run the jpetstore example. Everything seems to work, but running the client (test remote service access) throws the following exception. Running the 1.1.1 jpetstore with a 1.1-rc2 client works (?!). Is it my fault? And by the way, the readme.txt says 'run "client/client.bat 1000"' but you must be in the directory "client" otherwise the classpath doesn't fit. Not very important to me, just to mentioned it ... --- start --- ... Calling OrderService 'hessianProxy' with order ID 1000 Got order with order ID 1000 and order date Tue Oct 05 00:00:00 CEST 2004 Shipping address is: 901 San Antonio Road LineItem 1: 1 piece(s) of item EST-9 Calling OrderService 'httpInvokerProxy' with order ID 1000 org.springframework.remoting.RemoteAccessException: Cannot access HTTP invoker remote service at [http://localhost:8080/jpetstore/remoting/OrderService-httpinvoker]; nested exception is java.io.InvalidClassException: org.springframework.remoting.support.RemoteInvocationResult; local class incompatible: stream classdesc serialVersionUID = 3460514161585267937, local class serialVersionUID = 2138555143707773549 java.io.InvalidClassException: org.springframework.remoting.support.RemoteInvocationResult; local class incompatible: stream classdesc serialVersionUID = 3460514161585267937, local class serialVersionUID = 2138555143707773549 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.readRemoteInvocationResult(AbstractHttpInvokerRequestExecutor.java:126) at org.springframework.remoting.httpinvoker.SimpleHttpInvokerRequestExecutor.doExecuteRequest(SimpleHttpInvokerRequestExecutor.java:52) at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:67) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:86) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152) at $Proxy1.getOrder(Unknown Source) at org.springframework.samples.jpetstore.service.client.OrderServiceClient.invokeOrderServices(OrderServiceClient.java:46) at org.springframework.samples.jpetstore.service.client.OrderServiceClient.main(OrderServiceClient.java:84) Exception in thread "main" --- end --- jürgen höller [werk3AT] wrote: > Dear Spring community, > > I'm pleased to announce that Spring Framework 1.1.1 has just been released. > This is a bugfix and minor enhancement release. > -- Ciao, Thomas |