1. 程式人生 > >SpringBoot 掃描不到 src下xml的問題

SpringBoot 掃描不到 src下xml的問題

<build>
    <resources>
	  <resource>
		  <directory>src/main/java</directory>
			<includes>
				<include>**/*.xml</include>
			</includes>
	</resource>
	<resource>
	          <directory>src/main/resources</directory>
	 </resource>
   </resources>
</build>