Skip to content

java.lang.NoClassDefFoundError Caused by: java.lang.ClassNotFoundException: io.sentry.Sentry$OptionsConfiguration #3237

Answered by adinauer
Miracusa asked this question in Q&A
Discussion options

You must be logged in to vote

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:

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <archive>
                        <manifest>
                            <mainClass>
                                io.sentry.samples.maven.SampleApplicati…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@adinauer
Comment options

Answer selected by Miracusa
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants