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

Error while using custom Mongo implementation #66

Open
akkkih opened this issue Apr 30, 2024 · 7 comments
Open

Error while using custom Mongo implementation #66

akkkih opened this issue Apr 30, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@akkkih
Copy link
Contributor

akkkih commented Apr 30, 2024

I'm trying to use the Mongo implementation in a project I am working on.

I'm initializing Twilight + Mongo as normal and I have created a Database object to store my collections (so I don't need to reinitialize them everytime).

Anyone able to tell what in the world I'm doing wrong, or if this is a bug in Twilight itself? Thanks in advance.

@akkkih akkkih added the bug Something isn't working label Apr 30, 2024
@joshbker
Copy link
Member

Hey, could you also send your build.gradle please?

@akkkih
Copy link
Contributor Author

akkkih commented May 1, 2024

Yes, here it is: https://paste.learnspigot.com/zamumabejo.makefile

@joshbker
Copy link
Member

joshbker commented May 1, 2024

Alright, thanks. Wanted to see if you were implementing Kotlin Reflect.

@MLGPenguin any ideas? I'm assuming this is a Gradle/build issue.

@joshbker
Copy link
Member

joshbker commented May 1, 2024

@joshbker
Copy link
Member

joshbker commented May 1, 2024

Also, are you running any other plugins on the server when you get this error? And are there any dependencies between the plugins? F.x. another plugin depending on this "server" plugin?

@akkkih
Copy link
Contributor Author

akkkih commented May 1, 2024

I'm using Temurin 17.0.10 and no, no other plugins depend on the plugin and I have no dependencies as well.

@akkkih
Copy link
Contributor Author

akkkih commented May 19, 2024

Hey! I know it's been a long time, but I just tested with Java 21 and it worked fine. However, I assume this is an issue as not everyone will use 1.20.6, consequently not using Java 21. What should we do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants