8161 [01 Aug 2023 12:25:02.580] ERROR server01 [main] org.springframework.batch.core.step.AbstractStep - Encountered an error executing step step in job importUserJob
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.reader' defined in class path resource [com/batch/BatchConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.beanio.spring.BeanIOFlatFileItemReader]: Factory method 'reader' threw exception; nested exception is java.lang.IllegalArgumentException: Path must not be null
У меня есть пружинная загрузка с пакетным приложением Spring, которая выдает следующую ошибку: [code]8161 [01 Aug 2023 12:25:02.580] ERROR server01 [main] org.springframework.batch.core.step.AbstractStep - Encountered an error executing step step in job importUserJob org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.reader' defined in class path resource [com/batch/BatchConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.beanio.spring.BeanIOFlatFileItemReader]: Factory method 'reader' threw exception; nested exception is java.lang.IllegalArgumentException: Path must not be null [/code] [b]BatchConfiguration.java[/b] [code] @Bean @StepScope public BeanIOFlatFileItemReader reader(@Value("#{jobParameters['filePath']}") String filePath) {
У меня есть приложение Spring Boot, в котором я использую Kafka Streams (KStream и GlobalKTable) вместе с пакетным заданием Spring. Несмотря на настройку Spring.batch.job.enabled: false, я продолжаю сталкиваться со следующей ошибкой:
Мы используем пакет Spring для автоматизации некоторых процессов и передаем ряд параметров, некоторые из которых являются конфиденциальными паролями и не могут быть зарегистрированы.
Я предотвратил регистрацию этих паролей, расширив классы...