Reference:
1. 60秒入门教程: http://gabriel.jarchitect.org/spring/index.html
必需的jar文件包括: spring-core.jar, common-logging.jar, 在IDEA中,
运行Java虚拟机的目录并不是classes目录, 因此它在当前目录中无法找到
"bean.xml"文件, 使用下面的代码:
import org.springframework.core.io.*;
/* Read the configuration file from classpath */
Resource res = new ClassPathResource("bean.xml");
XmlBeanFactory factory = new XmlBeanFactory(res);
学习了
请问,mac下能推荐几个好的J2EE编辑环境软件么?我第一次尝试mac下编写简单的Java程序
@Andy, 这个我也不是很在行,应该eclipse,netbeans,以及IntelliJ都支持Mac吧 ...