在服务实施中,在@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