Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在springboot工程中,maven编译时,ip2region.db被重新编码 #326

Open
fzhyyb opened this issue Oct 18, 2023 · 0 comments
Open

在springboot工程中,maven编译时,ip2region.db被重新编码 #326

fzhyyb opened this issue Oct 18, 2023 · 0 comments
Labels
maven过滤xdb maven打包设置过滤xdb文件

Comments

@fzhyyb
Copy link

fzhyyb commented Oct 18, 2023

在springboot工程中,ip2region.db放在resource目录下,在通过maven编译时,有可能会出现被重新编码的情况,从而引起报错
可以添加插件

groupId:org.apache.maven.plugins
artifactId:maven-resources-plugin
使用nonFilteredFileExtension标签进行过滤

@lionsoul2014 lionsoul2014 added the maven过滤xdb maven打包设置过滤xdb文件 label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maven过滤xdb maven打包设置过滤xdb文件
Projects
None yet
Development

No branches or pull requests

2 participants