, "src/**/*"
时间: 2023-09-02 18:15:20 浏览: 80
copy-webpack-plugin-demo.rar
回答: 在配置maven的pom文件中可以找到相关节点,通过添加下列代码实现对资源文件的配置:
```xml
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
</resources>
</build>
```
<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* *3* [IntelliJ IDEA:获取包路径下的xml文件,Could not find resource com/**/*.xml](https://blog.csdn.net/zhoucheng05_13/article/details/78072410)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [npm run lint 报错 No files matching the pattern “‘./src/**/*.{ts,js,vue}‘“ were found.](https://blog.csdn.net/cn_lyg/article/details/128626522)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文