I'm working on a plugin for fun, when I needed to add Gson as a dependency in order to do some stuff. When I added it through modules -> dependencies, something happened (I have no idea what) and suddenly all of my java classes were "outside of source root". So after some research I decided to make a new source root, which was my src file. Everything seemed to be fine, except for one thing: my server couldn't find the main class, producing anInvalidPluginException error whenever I tried starting the server. I checked my plugin.yml file and as far as I know, I have the correct path for the main file. These are the files: And this is the error: Anyone know what I can do to solve this?