You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whilst testing this plugin, I noticed that everytime the bukkit jar is loaded on a server, it'll fail to resolve libraries because Spigradle is adding the internal code as a library. Here's the error:
[09:13:09] [Server thread/INFO]: [PluginName] Loading 8 libraries... please wait
[09:13:10] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-api/4.9.3/adventure-api-4.9.3.pom
[09:13:10] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-bom/4.9.3/adventure-bom-4.9.3.pom
[09:13:10] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-key/4.9.3/adventure-key-4.9.3.pom
[09:13:11] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/examination-api/1.3.0/examination-api-1.3.0.pom
[09:13:11] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/jetbrains/annotations/22.0.0/annotations-22.0.0.pom
[09:13:11] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/examination-string/1.3.0/examination-string-1.3.0.pom
[09:13:11] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-paper/1.6.1/cloud-paper-1.6.1.pom
[09:13:12] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-bukkit/1.6.1/cloud-bukkit-1.6.1.pom
[09:13:12] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-core/1.6.1/cloud-core-1.6.1.pom
[09:13:12] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-services/1.6.1/cloud-services-1.6.1.pom
[09:13:12] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/io/leangen/geantyref/geantyref/1.3.13/geantyref-1.3.13.pom
[09:13:12] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/3.21.0/checker-qual-3.21.0.pom
[09:13:13] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-brigadier/1.6.1/cloud-brigadier-1.6.1.pom
[09:13:13] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-tasks/1.6.1/cloud-tasks-1.6.1.pom
[09:13:13] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-bukkit/4.0.1/adventure-platform-bukkit-4.0.1.pom
[09:13:13] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-api/4.0.1/adventure-platform-api-4.0.1.pom
[09:13:13] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-api/4.9.1/adventure-api-4.9.1.pom
[09:13:13] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-bom/4.9.1/adventure-bom-4.9.1.pom
[09:13:14] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-key/4.9.1/adventure-key-4.9.1.pom
[09:13:14] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-bungeecord/4.0.1/adventure-text-serializer-bungeecord-4.0.1.pom
[09:13:14] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-legacy/4.9.1/adventure-text-serializer-legacy-4.9.1.pom
[09:13:14] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-gson/4.9.1/adventure-text-serializer-gson-4.9.1.pom
[09:13:14] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-nbt/4.9.1/adventure-nbt-4.9.1.pom
[09:13:14] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-gson-legacy-impl/4.9.1/adventure-text-serializer-gson-legacy-impl-4.9.1.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-facet/4.0.1/adventure-platform-facet-4.0.1.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-viaversion/4.0.1/adventure-platform-viaversion-4.0.1.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/spongepowered/configurate-yaml/4.1.2/configurate-yaml-4.1.2.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/spongepowered/configurate-core/4.1.2/configurate-core-4.1.2.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/io/leangen/geantyref/geantyref/1.3.11/geantyref-1.3.11.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.6.0/error_prone_annotations-2.6.0.pom
[09:13:15] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_parent/2.6.0/error_prone_parent-2.6.0.pom
[09:13:16] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
[09:13:16] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.pom
[09:13:16] [Server thread/INFO]: Downloading https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.28/snakeyaml-1.28.pom
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-0/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-api/4.9.3/adventure-api-4.9.3.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-key/4.9.3/adventure-key-4.9.3.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-2/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/examination-api/1.3.0/examination-api-1.3.0.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-3/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/examination-string/1.3.0/examination-string-1.3.0.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-4/INFO]: Downloading https://repo.maven.apache.org/maven2/org/jetbrains/annotations/22.0.0/annotations-22.0.0.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-paper/1.6.1/cloud-paper-1.6.1.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-2/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-bukkit/1.6.1/cloud-bukkit-1.6.1.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-4/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-core/1.6.1/cloud-core-1.6.1.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-brigadier/1.6.1/cloud-brigadier-1.6.1.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-3/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-services/1.6.1/cloud-services-1.6.1.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-2/INFO]: Downloading https://repo.maven.apache.org/maven2/cloud/commandframework/cloud-tasks/1.6.1/cloud-tasks-1.6.1.jar
[09:13:16] [BasicRepositoryConnector-repo.maven.apache.org-0-0/INFO]: Downloading https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/3.21.0/checker-qual-3.21.0.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-3/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-bukkit/4.0.1/adventure-platform-bukkit-4.0.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-bungeecord/4.0.1/adventure-text-serializer-bungeecord-4.0.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-0/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-legacy/4.9.1/adventure-text-serializer-legacy-4.9.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-nbt/4.9.1/adventure-nbt-4.9.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-4/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-gson-legacy-impl/4.9.1/adventure-text-serializer-gson-legacy-impl-4.9.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-facet/4.0.1/adventure-platform-facet-4.0.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-2/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-api/4.0.1/adventure-platform-api-4.0.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-0/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-platform-viaversion/4.0.1/adventure-platform-viaversion-4.0.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-2/INFO]: Downloading https://repo.maven.apache.org/maven2/io/leangen/geantyref/geantyref/1.3.11/geantyref-1.3.11.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-1/INFO]: Downloading https://repo.maven.apache.org/maven2/org/spongepowered/configurate-core/4.1.2/configurate-core-4.1.2.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-0/INFO]: Downloading https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.6.0/error_prone_annotations-2.6.0.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-3/INFO]: Downloading https://repo.maven.apache.org/maven2/net/kyori/adventure-text-serializer-gson/4.9.1/adventure-text-serializer-gson-4.9.1.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-4/INFO]: Downloading https://repo.maven.apache.org/maven2/org/spongepowered/configurate-yaml/4.1.2/configurate-yaml-4.1.2.jar
[09:13:17] [BasicRepositoryConnector-repo.maven.apache.org-0-0/INFO]: Downloading https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.28/snakeyaml-1.28.jar
[09:13:17] [Server thread/ERROR]: Could not load 'plugins\PluginName-bukkit-0.0.0.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.RuntimeException: Error resolving libraries
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:394) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:301) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R1.CraftServer.loadPlugins(CraftServer.java:415) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3416-Spigot-862678e-eb7a2dc]
at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:231) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3416-Spigot-862678e-eb7a2dc]
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:994) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3416-Spigot-862678e-eb7a2dc]
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304) ~[spigot-1.18.1-R0.1-SNAPSHOT.jar:3416-Spigot-862678e-eb7a2dc]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Error resolving libraries
at org.bukkit.plugin.java.LibraryLoader.createLoader(LibraryLoader.java:100) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
... 7 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: net.silthus:core:jar:0.0.0, net.silthus:platform:jar:0.0.0, org.spigotmc:spigot-api:jar:1.18.1-R0.1-SNAPSHOT: Could not find artifact net.silthus:core:jar:0.0.0 in central (https://repo.maven.apache.org/maven2)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:357) ~[maven-resolver-impl-1.6.3.jar:1.6.3]
at org.bukkit.plugin.java.LibraryLoader.createLoader(LibraryLoader.java:97) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
... 7 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: net.silthus:core:jar:0.0.0, net.silthus:platform:jar:0.0.0, org.spigotmc:spigot-api:jar:1.18.1-R0.1-SNAPSHOT: Could not find artifact net.silthus:core:jar:0.0.0 in central (https://repo.maven.apache.org/maven2)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:425) ~[maven-resolver-impl-1.6.3.jar:1.6.3]
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:229) ~[maven-resolver-impl-1.6.3.jar:1.6.3]
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:340) ~[maven-resolver-impl-1.6.3.jar:1.6.3]
at org.bukkit.plugin.java.LibraryLoader.createLoader(LibraryLoader.java:97) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:145) ~[spigot-api-1.18.1-R0.1-SNAPSHOT.jar:?]
... 7 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact net.silthus:core:jar:0.0.0 in central (https://repo.maven.apache.org/maven2)
at org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:48) ~[maven-resolver-connector-basic-1.7.2.jar:1.7.2]
at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:369) ~[maven-resolver-connector-basic-1.7.2.jar:1.7.2]
at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75) ~[maven-resolver-util-1.6.3.jar:1.6.3]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
... 1 more
The text was updated successfully, but these errors were encountered:
Whilst testing this plugin, I noticed that everytime the bukkit jar is loaded on a server, it'll fail to resolve libraries because Spigradle is adding the internal code as a library. Here's the error:
The text was updated successfully, but these errors were encountered: