-
Notifications
You must be signed in to change notification settings - Fork 430
Description
Two days ago I completed this guide with Java 11 version.
But I retried it today but It didn't work.
There are compile error:
[class file has wrong version 61.0, should be 55.0 ]
Is it only can tested by Java 17?
AS-IS my pom.xml file:
org.springframework.boot
spring-boot-starter-parent
2.7.6
TOBE :
org.springframework.boot
spring-boot-starter-parent
3.0.0
if I change version
JobBuilder class and StepBuilder class are having more constructor.
return new JobBuilder("importUserJob", jobRepository)
.incrementer(new RunIdIncrementer())
.listener(listener)
.flow(step1)
.end()
.build();
So this code cannot be resolved!
because when I use 2.7.6 version JobBuilder class has only one constructor
public JobBuilder(String name) {
super(name);
}
How can I resolve this problem?