-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Error while packaging with Jdk 1.5 #608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, Spring boot requires at least java6. I am afraid this will not work with your current setup. Any reason why you could not upgrade to a more recent Java version? Thanks! |
Hello, Thanks for answering my query. I found it the hard way that it does I am in customer environment, where production servers are on Java 5, Hope you understand.. BTW, is there a way to find which release of spring works on which which Thanks, Anand On Mon, Mar 31, 2014 at 1:14 PM, Stéphane Nicoll
|
"Which release of Spring..." is a bit of an open-ended question, since "Spring" can mean different things to different people. This is the issue tracker for Spring Boot, so I'll answer for that project: we require Java 1.6 for all Spring Boot releases to date (as stated in the docs here). The answer for other projects can generally be found in their release notes. |
Thanks Dave, I am looking to use Spring-batch with spring boot on Jdk5. As Spring boot Thanks, Anand On Mon, Mar 31, 2014 at 3:07 PM, Dave Syer notifications@github.com wrote:
|
If the Spring Batch docs say 1.5 then it's 1.5, but that's not going to work with Boot. |
Spring Boot is builds on new features introduced in Spring Framework 4.0, since this needs Java 6 there is zero chance of getting Spring Boot working with Java 5. I would strongly recommend that you look at upgrading from Java 5 if at all possible. |
Hi,
I am getting this error while building with Jdk 1.5. Is it not compatible?
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin
:1.0.0.RC1:repackage (default) on project unverified-batch: Execution default of
goal org.springframework.boot:spring-boot-maven-plugin:1.0.0.RC1:repackage fail
ed: Unable to load the mojo 'repackage' in the plugin 'org.springframework.boot:
spring-boot-maven-plugin:1.0.0.RC1' due to an API incompatibility: org.codehaus.
plexus.component.repository.exception.ComponentLookupException: Bad version number in .class file
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.springframework.boot:spring-boot-maven-plugin:1.0.
0.RC1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/D:/maven_repo/org/springframework/boot/spring-boot-maven
The text was updated successfully, but these errors were encountered: