Hello,
I have another issue with spring batch template.
I've try to create my first simple batch program.
from Eclipse I do:
File-> new-> Spring Template Project
from there I select
Simple Spring Batch Project
I enter the required value ( project name "test1" , toplevel package = com.company.batch)
at this pont The project is generated But I see red cross indicating errors.
SpringElements--- Beans---
aka
src\main\resources
launch-context.xml
module-context.xml
come all with error, but i I open the two xml files I can see any error in it.
another error appears in:
src\main\java
ExampleConfiguration.java
the import of
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configurati on;
import org.springframework.transaction.PlatformTransactio nManager;
cannot be resolved
Very Strange because if I open the maven dependencies I can see the spring-context-3.0.6.RELEASE.jar
containing both Bean and Configuration classes.
while
spring-tx-3.0.6.RELEASE.jar contains PlatformTransactionManager class
What's wrong?
what I miss to do?![]()
Thank you for any help
Franco



Reply With Quote
