View Full Version : Spring batch jars for java version 1.4?
ananthic
Mar 17th, 2008, 11:06 PM
Hi,
Whether spring batch jars for java version 1.4 is available?
Am using java version 1.4 so am unable to use spring batch jars which is built using java version 1.5.
Can anybody help me out?
Thanks in advance
Dave Syer
Mar 18th, 2008, 03:08 AM
What version of the jars do you have? We have a CI build for the samples that runs with 1.4, and rc1 was out yesterday passing that build.
ananthic
Mar 18th, 2008, 08:51 AM
Hi ,
Am having the spring batch jars of 1.0.0.m4-with-dependencies.
i got tat from below link
http://static.springframework.org/downloads/nightly/milestone-download.php?project=BATCH
lucasward
Mar 18th, 2008, 01:55 PM
What specific error are you getting when trying to use them?
ananthic
Mar 18th, 2008, 11:07 PM
Am getting NoclassDefFoundError. Java 1.4 doesn't have StringBuilder class
java.lang.NoClassDefFoundError: java/lang/StringBuilder
at org.springframework.batch.execution.repository.dao .JdbcJobDao.createJ
obKey(JdbcJobDao.java:142)
at org.springframework.batch.execution.repository.dao .JdbcJobDao.findJob
Instances(JdbcJobDao.java:197)
at org.springframework.batch.execution.repository.Sim pleJobRepository.cr
eateJobExecution(SimpleJobRepository.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
sorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.springframework.aop.support.AopUtils.invokeJoi npointUsingReflecti
on(AopUtils.java:301)
Dave Syer
Mar 19th, 2008, 03:22 AM
Can't you just upgrade to rc1?
ananthic
Mar 19th, 2008, 11:28 PM
yes we are about to use rc1.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.