试试这个看看呢
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:jdbc.properties</value>
</list>
</property>
</bean>
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:jdbc.properties</value>
</list>
</property>
</bean>
解决方案 »
- 数据库突然连不上了,是怎么回事?
- org.hibernate.LazyInitializationException: could not initialize proxy - the owni
- java开发的RCP程序通过按钮调用外部EXE文件的问题
- jndi结构包括那三个结构a应用层 b实现层 c数据层 djndi api层?
- 菜鸟来求教之二_关于override与overload的叫法
- EJB3.0的问题!!请教一下
- linux+weblogic8环境下用jspsmartupload组件上传文件的中文乱码问题如何解决
- 初学者:为什么我做的用jdbc连接sqlserver总是报加载驱动程序错误
- 哪位告诉我一下java中怎么划虚线。
- jbuilder+weblogic开发CMP时出现的问题(在线等)
- 关于springmvc+hibernate的问题
- Hibernate与Mysql数据库问题求大牛小牛解答
<!-- 实例化占位符对象 -->
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:jdbc.properties"/>
</bean>