2020-03-31 10:13:55.230 ERROR 23254 --- [ main] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'soundPlayerImpl' defined in URL [jar:file:/DiscordSoundboard/lib/DiscordSoundboard-3.0.4.jar!/BOOT-INF/classes!/net/dirtydeeds/discordsoundboard/service/SoundPlayerImpl.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.dirtydeeds.discordsoundboard.service.SoundPlayerImpl]: Constructor threw exception; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:312) ~[spring-beans-5.2.0.RELEASE.jar!/:5.2.0.RELEASE]
I'm on a mac, and used brew to install java 8.
openjdk version "1.8.0_242" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)
Happy to provide further details if there isn't an obvious issue with the above.
I'm on a mac, and used brew to install java 8.
openjdk version "1.8.0_242" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_242-b08) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.242-b08, mixed mode)
Happy to provide further details if there isn't an obvious issue with the above.