org.springframework.batch.core.configuration.DuplicateJobException: A job configuration with this name [job1] was already registered

Stack Overflow | membersound | 5 months ago
  1. 0

    How to configure spring batch jobs modular?

    Stack Overflow | 5 months ago | membersound
    org.springframework.batch.core.configuration.DuplicateJobException: A job configuration with this name [job1] was already registered
  2. 0

    importing Job from another xml in Spring batch

    Stack Overflow | 2 years ago | user3553141
    org.springframework.batch.core.configuration.DuplicateJobException: A job configuration with this name [transformationJob] was already registered

    Root Cause Analysis

    1. org.springframework.batch.core.configuration.DuplicateJobException

      A job configuration with this name [job1] was already registered

      at org.springframework.batch.core.configuration.support.MapJobRegistry.register()
    2. Spring Batch Core
      AutomaticJobRegistrar.start
      1. org.springframework.batch.core.configuration.support.MapJobRegistry.register(MapJobRegistry.java:51)[spring-batch-core-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      2. org.springframework.batch.core.configuration.support.DefaultJobLoader.doRegister(DefaultJobLoader.java:258)[spring-batch-core-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      3. org.springframework.batch.core.configuration.support.DefaultJobLoader.doLoad(DefaultJobLoader.java:193)[spring-batch-core-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      4. org.springframework.batch.core.configuration.support.DefaultJobLoader.load(DefaultJobLoader.java:151)[spring-batch-core-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      5. org.springframework.batch.core.configuration.support.AutomaticJobRegistrar.start(AutomaticJobRegistrar.java:173)[spring-batch-core-3.0.7.RELEASE.jar:3.0.7.RELEASE]
      5 frames