-
I'm a little stuck and in hope someone ist able to help with this. I'm new to sentry and followed what was shown when creating a new project. When running the server I get the error:
The code witch causes this is (its located within the onEnable() if thats relevant):
Thats the pom I use:
Maybe someone has encountered a similiar problem and found a solution? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Hello @Miracusa I've never created a Spigot-Plugin. I'm assuming you're building your plugin as a JAR file. Can you look into that JAR file and check if Sentry is in there? |
Beta Was this translation helpful? Give feedback.
-
Yes, it's a .jar File. I don't see sentry in it. There is a sentry-debug-meta.properties wich, going by the name, has something to do with sentry, but there is no additional .jar oder anything else looking like it has something to do with sentry. Addition. I don't know if that help, but this is the build-job:
|
Beta Was this translation helpful? Give feedback.
-
Yes, this kind of was the answer. I used a little different configuration, but I know have a .jar with everything in it that needs to be in it to have it not throw errors :) Thats what i use now:
Looks pretty similar to me. I get 2 .jars (one with and one without the dependencys, but the find command in the pipeline-job will do the trick to get me the right one) |
Beta Was this translation helpful? Give feedback.
You might get more qualified help from Spigot people but I'm guessing you either have to do some maven setup to get Sentry included in your JAR or there already is another JAR, you're building that includes it.
Edit:
Maybe something like the following could work, but you'll probably have to do some more tweaking: