spring_service.xml 737 B

1234567891011
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  4. xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  5. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd">
  6. <!-- 配置spring扫描@service的包路径 -->
  7. <!-- 可以使用通配符,如<context:component-scan base-package="com.gcx.*.service..*" /> -->
  8. <context:component-scan base-package="com.ncjt.ch.eg.qrcode.service;com.ncjt.ch.sm.service"></context:component-scan>
  9. </beans>