package org.onetwo.common.spring.context;

import org.onetwo.common.spring.config.JFishProfiles;
import org.onetwo.common.spring.ftl.DirFreemarkerConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

@Configuration
@ImportResource({ "classpath:applicationContext.xml" })
@Import({JFishProfiles.class, DirFreemarkerConfig.class})
public class ClassPathApplicationContext extends BaseApplicationContextSupport {


}

package org.onetwo.common.spring.context;

import org.onetwo.common.spring.config.JFishProfiles;
import org.onetwo.common.spring.ftl.DirFreemarkerConfig;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;

@Configuration
@ImportResource({ "classpath:applicationContext.xml" })
@Import({JFishProfiles.class, DirFreemarkerConfig.class})
public class ClassPathApplicationContext extends BaseApplicationContextSupport {

}

change it