I managed to follow some tutorial and setup a jetty webserver that runs with Maven in Intellij. It runs when I click into maven and do Jetty:run but does not run from my main class. My issue is when try and run the code to launch a webserver I get an error that says Cannot invoke "java.net.URL.toURI()" because "webAppDir" is null. I tried looking at different tutorials but they all use the same structure I set my project up with but they do not encounter this error.
I don't know why it's pointing to a null directory for me but it worked for them, so any help would be greatly appreciated.
Thank you!