问答详情
源自:1-6 IDEA部署和导入guns

打成war包至tomcat运行报错

https://img4.mukewang.com/5c3c824d00017ea915460897.jpg

java.lang.NullPointerException: null

        at com.stylefeng.guns.core.listener.ConfigListener.contextInitialized(ConfigListener.java:48)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4743)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)

        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)


提问者:moocGeeker 2019-01-14 20:37

个回答