Firebase Auth not getting initialized in spring boot

I am using firebase admin sdk in my spring boot app. (API app) When I run locally in intelliJ its working fine. But when deployed in tomcat its giving me NPE. In Springboot application public static …