port org.springframework.*;
import org.springframework.context.support.FileSystemXmlApplicationContext;
难道.* 不 包括后面那一串吗?为啥注释了长的import 报错FileSystemXmlApplicationContext cannot be resolved to a type
port org.springframework.*;
import org.springframework.context.support.FileSystemXmlApplicationContext;
难道.* 不 包括后面那一串吗?为啥注释了长的import 报错FileSystemXmlApplicationContext cannot be resolved to a type
import org.springframework.context.support.*,你这么写就可以了,而你那么写的话不会导入子包里面的类。