摘要:
前言 bean是Spring中最核心的东西,因为Spring就像一个大水桶,而bean就像是容器中的水,先新建一个小例子来看一下; 一、使用eclipse构建项目,项目结构如下 二、类文件内容 三、功能分析 1、上述完成的功能 1)读取配置文件beans.xml 2)根据beans.xml中的配置找 阅读全文
posted @ 2017-09-22 11:30
霓裳梦竹
阅读(203)
评论(0)
推荐(0)
摘要:
在eclipse中新建了一个maven项目搭建Spring源码阅读环境,创建一个bean生产getter和setter方法的时候报错“the resource is not on the build path of a java project” 这种情况是因为在工程中找不到类; 解决办法:项目右键 阅读全文
posted @ 2017-09-22 08:50
霓裳梦竹
阅读(2006)
评论(0)
推荐(0)

浙公网安备 33010602011771号