Take a look at this, http://forums-beta.sun.com/thread.jspa?messageID=3895301
It seems to describe the same problem you are having. Multiple versions of the same class in your classpath. Br, Juha On Mon, May 11, 2009 at 10:26 PM, Clermont, Teddy <teddy.clerm...@dkib.com> wrote: > > When running the contrib-wicketJasperReportsExample, I am getting the > following error: > 40439 [http-8080-1] ERROR > org.apache.wicket.request.target.resource.ComponentRes > ourceRequestTarget - error handling resource request for component > [MarkupContai > ner [Component id = linkToHtml]], on page [Page class = > com.example.ReportLinksP > age, id = 0, version = 0], listener IResourceListener - null > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.wicket.request.target.resource.ComponentResourceRequestTar > get.respond(ComponentResourceRequestTarget.java:69) > at > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstr > actRequestCycleProcessor.java:105) > at > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.j > ava:1200) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:501) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java: > 455) > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja > va:288) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl > icationFilterChain.java:235) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF > ilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV > alve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextV > alve.java:175) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j > ava:128) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j > ava:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal > ve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav > a:286) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java > :844) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce > ss(Http11Protocol.java:583) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 > 7) > at java.lang.Thread.run(Thread.java:595) > Caused by: org.apache.wicket.WicketRuntimeException: > net.sf.jasperreports.engine > .JRException: Error loading object from file : > C:\WicketLibWkSpace\testJasperRep > orts\src\webapp\reports\example.jasper > at > wicket.contrib.jasperreports.JRResource.getJasperReport(JRResource.ja > va:230) > at > wicket.contrib.jasperreports.JRResource.getFileName(JRResource.java:3 > 33) > at > wicket.contrib.jasperreports.JRResource.setHeaders(JRResource.java:48 > 2) > at > org.apache.wicket.markup.html.WebResource.configureResponse(WebResour > ce.java:53) > at > org.apache.wicket.Resource.onResourceRequested(Resource.java:121) > at > org.apache.wicket.markup.html.link.ResourceLink.onResourceRequested(R > esourceLink.java:108) > ... 24 more > Caused by: net.sf.jasperreports.engine.JRException: Error loading object > from fi > le : > C:\WicketLibWkSpace\testJasperReports\src\webapp\reports\example.jasper > at > net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:96 > ) > at > wicket.contrib.jasperreports.JRResource$3.newJasperReport(JRResource. > java:191) > at > wicket.contrib.jasperreports.JRResource.getJasperReport(JRResource.ja > va:226) > ... 29 more > Caused by: java.io.InvalidClassException: > net.sf.jasperreports.engine.base.JRBas > eReport; local class incompatible: stream classdesc serialVersionUID = > 10001, lo > cal class serialVersionUID = 10200 > at > java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:155 > 2) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:155 > 2) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > 699) > at > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) > at > java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) > at > net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:92 > ) > ... 31 more > > Dresdner Kleinwort > 1301 Avenue of the Americas > Tel: +1 212 895 6679 > E-mail: teddy.clerm...@dkib.com > > -----Original Message----- > From: wicket-stuff-user-boun...@lists.sourceforge.net > [mailto:wicket-stuff-user-boun...@lists.sourceforge.net] > Sent: Monday, May 11, 2009 3:23 PM > To: Clermont, Teddy > Subject: Auto-response for your message to the "Wicket-stuff-user" > mailing list > > Please resend your message to users@wicket.apache.org > > This mailinglist has been shut down in favor of the Apache mailinglists. > ________________ > The information contained herein is confidential and is intended solely for > the > addressee. Access by any other party is unauthorised without the express > written permission of the sender. If you are not the intended recipient, > please > contact the sender either via the company switchboard on +44 (0)20 7623 8000, > or > via e-mail return. If you have received this e-mail in error or wish to read > our > e-mail disclaimer statement and monitoring policy, please refer to > http://www.dresdnerkleinwort.com/disc/email/ or contact the sender. Dresdner > Kleinwort’ is an investment banking brand of Commerzbank AG and any of its > associated or affiliated companies. > ________________ > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org