-
Notifications
You must be signed in to change notification settings - Fork 128
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
LibraryLoader fails to initialize local repository #614
Labels
bug-exception
Issue describes a bug in MockBukkit that prevent plugins from being tested.
Comments
Insprill
added
the
bug-exception
Issue describes a bug in MockBukkit that prevent plugins from being tested.
label
Aug 16, 2022
Insprill
changed the title
Error of "MockBukkit#mock" method
LibraryLoader fails to initialize local repository
Oct 24, 2022
This error is occuring as well in MockBukkit-v1.19 when having this dependency: <dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.4</version>
</dependency> So here is a minimal project to reproduce this issue: https://github.com/Cooperr06/MockBukkitTestPlugin |
Does this error still occur in Mockbukkit-v1.20 3.14.0? |
idk if this is similar error or not, but on
|
Solved problem above by removing one of dependencies from spigot: <repositories>
<repository>
<id>dmulloy2-repo</id>
<url>https://repo.dmulloy2.net/repository/public/</url>
</repository>
</repositories>
<properties>
<!-- https://repo.dmulloy2.net/service/rest/repository/browse/public/org/spigotmc/spigot/ -->
<spigot.version>1.20-R0.1-SNAPSHOT</spigot.version>
</properties>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot</artifactId>
<version>${spigot.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Are you using the latest version of MockBukkit?
Minecraft Version
1.18
Describe the bug
"MockBukkit#mock" method fails with an error:
Reproducible Test
pom.xml
Test
Anything else?
No response
The text was updated successfully, but these errors were encountered: