[STDERR] cn.apisium.nekomaid.libs.com.maxmind.db.InvalidDatabaseException: Could not find a MaxMind DB metadata marker in this file (GeoIP.db). Is this a valid MaxMind DB file?
at cn.apisium.nekomaid.libs.com.maxmind.db.Reader.findMetadataStart(Reader.java:293)
at cn.apisium.nekomaid.libs.com.maxmind.db.Reader.(Reader.java:130)
at cn.apisium.nekomaid.libs.com.maxmind.db.Reader.(Reader.java:117)
at cn.apisium.nekomaid.libs.com.maxmind.geoip2.DatabaseReader.(DatabaseReader.java:91)
at cn.apisium.nekomaid.libs.com.maxmind.geoip2.DatabaseReader.(DatabaseReader.java:62)
at cn.apisium.nekomaid.libs.com.maxmind.geoip2.DatabaseReader$Builder.build(DatabaseReader.java:216)
at cn.apisium.nekomaid.utils.GeoIP.lambda$new$0(GeoIP.java:34)
at TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82)
at TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)
描述错误
后台 GeoIP.db 报错,但插件正常运行,目前没有出现什么问题。
再现
复制行为的步骤:
预期行为
正确启动且无报错。
屏幕截图
提供配置文件截图。
信息
控制台输出
[STDERR] cn.apisium.nekomaid.libs.com.maxmind.db.InvalidDatabaseException: Could not find a MaxMind DB metadata marker in this file (GeoIP.db). Is this a valid MaxMind DB file? at cn.apisium.nekomaid.libs.com.maxmind.db.Reader.findMetadataStart(Reader.java:293) at cn.apisium.nekomaid.libs.com.maxmind.db.Reader.(Reader.java:130)
at cn.apisium.nekomaid.libs.com.maxmind.db.Reader.(Reader.java:117)
at cn.apisium.nekomaid.libs.com.maxmind.geoip2.DatabaseReader.(DatabaseReader.java:91)
at cn.apisium.nekomaid.libs.com.maxmind.geoip2.DatabaseReader.(DatabaseReader.java:62)
at cn.apisium.nekomaid.libs.com.maxmind.geoip2.DatabaseReader$Builder.build(DatabaseReader.java:216)
at cn.apisium.nekomaid.utils.GeoIP.lambda$new$0(GeoIP.java:34)
at TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:82)
at TRANSFORMER/arclight@1.19.2-1.0.1-0550c6cd/org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1589)