博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
对应的德鲁伊applicationContext.xml配置
阅读量:4662 次
发布时间:2019-06-09

本文共 1477 字,大约阅读时间需要 4 分钟。

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd ">
<context:component-scan base-package="com.tao.service,com.tao.dao,com.tao.utils"></context:component-scan>
<bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource">
<property name="username" value="root"></property>
<property name="password" value="root"></property>
<property name="url" value="jdbc:mysql://localhost:3306/day35"></property>
<property name="driverClassName" value="com.mysql.jdbc.Driver"></property>
</bean>
</beans>

转载于:https://www.cnblogs.com/foreverone/p/10635297.html

你可能感兴趣的文章
MySQL中有关TIMESTAMP和DATETIME的总结
查看>>
Alpha 冲刺 (7/10)
查看>>
python3周末班2期第3天
查看>>
DotNetZip封装类
查看>>
mac中使用nvm管理node
查看>>
NLP-训练个model出来写诗
查看>>
小小知识点(八)——星座图与PSK、QAM调制的关系
查看>>
LeetCode 235. Lowest Common Ancestor of a Binary Search Tree
查看>>
JAVA高级特性反射和注解
查看>>
spring boot properties文件与yaml文件的区别
查看>>
不错的博客
查看>>
左右固定,中间自适应的三栏式布局五种写法
查看>>
存一些可能会用得到的vue的UI框架
查看>>
MySql随笔part4 数据操作
查看>>
WPF MultiDataTrigger
查看>>
(CSDN迁移)js中的判空
查看>>
centos7上安装mysql说明
查看>>
Redis几个认识误区
查看>>
SQL Server 2008系统信息查询常用命令 查看表大小、记录数等
查看>>
Python学习 :常用模块(一)
查看>>