Is maven shade-plugin culprit for my jar to not work in server
问题 I have developed a java application and made it a jar file. I bundled all the dependencies using mvn clean package maven-shaded-plugin. My problem is that although the application works fine in my local machine, it does not work in the server environment. Whenever I run it, I get a NullPointerException which means the variable is not being initialized, which implies the underlying dependency is not working properly. The original question I posted is in here: JMS connection not connecting to