在服務實施中,在@Autowired的幫助下,我正在注入CollectInfo對象在serviceImpl中,但我得到NullPointerException。 package net.group.cts.service.serviceImpl;
@Service
public class EmployeeImpl implements EmployeeService {
我試圖使用出站網關從服務器上下載文件, 我的配置: @IntegrationComponentScan
@EnableIntegration
@Configuration
public class FtpConfig {
@Bean(name = "myGateway")
@ServiceActivator(inputChannel = "sftpChannel")
public M