我想在我的Ant項目中使用Flyway運行DDL腳本。我設法配置了類路徑,以便Flyway能夠看到遷移腳本。當我跑飛路:遷移任務,我得到這個異常: Unable to obtain resource from (...)/src/ddl/V1__create_tables_logging.sql: java.util.zip.ZipException: error in opening zip f
@Configuration
@ComponentScan("com.sammy")
@EnableTransactionManagement
public class DataSourceConfig {
@Bean(destroyMethod = "shutdown")
public DataSource dataSource(){