需要引入开发人员的配置文件:
补记2019-05-2:这种配置不推荐,不利于项目后期的整体维护,而且开发人员自身水平不一,容易造成项目配置混乱
<?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:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <!-- bean definitions here --> <bean id="projectController" class="com.smartdot.iam.project.controller.ProjectController" init-method="init" destroy-method="destroy"> </bean> <!-- 多个人开发时,模块化配置,只需将人员的xml文件包含进来即可 --> <import resource="dataSource/applicationContext.xml"/> </beans>
Best Regards
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步