I'm trying to make a runnable jar for an application with IntelliJ. The application is a Spring application made from 2 separated modules, a bdd_module and a service_module. The service_module use the bdd_module.
I created an artifact, built it and launched it as said here : https://www.jetbrains.com/help/idea/creating-and-running-your-first-java-application.html
I got the following error : java.lang.ClassNotFoundException: fr.need_a_name.game_service.Game_Service
How can I make a runnable jar ? What am I doing wrong ?
Here are the artifact view : https://i.imgur.com/IvC4C5i.png And the module view : https://imgur.com/b1hKXUe
I tried to move the manifest file to the resources folder instead of the java folder. I also tried the things indicated here : java.lang.ClassNotFoundException when running in IntelliJ IDEA
Thanks for reading this and for your time
EDIT : Here is what is in my generated jar : https://i.imgur.com/FqHcgW5.png