【求助】装到IDEA后运行出错,Can't locate file "null",麻烦大佬救救小白啊

水冰 2019-11-27 1225

按照官方教程部署把项目装入idea后,出现错误以下错误:

Exception in thread "main" java.lang.IllegalArgumentException: Can't locate file "null" at io.moquette.server.config.ResourceLoaderConfig.(ResourceLoaderConfig.java:60) at io.moquette.server.config.ResourceLoaderConfig.(ResourceLoaderConfig.java:36) at io.moquette.server.Server.defaultConfig(Server.java:150) at io.moquette.server.Server.start(Server.java:103) at cn.wildfirechat.server.Server.main(Server.java:15)

跟踪代码后发现:

public ResourceLoaderConfig(IResourceLoader resourceLoader) {     this(resourceLoader, null); }

这个构造函数一直固定null,所以报错,我要怎么改才能让服务器跑起来

最新回复 (2)
返回