Andavin / Images

A custom image loading plugin for Spigot.
71 stars 33 forks source link

sun.awt.X11.XToolkit not found #16

Closed Malfrador closed 2 years ago

Malfrador commented 3 years ago

Creating an image fails with the following error message:

java.lang.NoClassDefFoundError: Could not initialize class  
    at sun.awt.PlatformGraphicsInfo.createToolkit(PlatformGraphicsInfo.java:40) ~[?:?]
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:592) ~[?:?]
    at java.awt.Image.getScaledInstance(Image.java:178) ~[?:?]
    at com.andavin.images.command.CreateCommand$CreateImageTask.readImage(CreateCommand.java:260) ~[?:?]
Andavin commented 2 years ago

This is an issue with your Java installation. Unfortunately, I can't really do anything to help other than that.