为什么部署服务器在window下会出现环境变量的问题呢?在更改了环境变量又出现了异常

wangjie 2020-3-26 734

我在window上部署野火IM服务器 执行bat文件时遇到了

The WILDFIRECHAT_HOME environment variable is not defined correctly This environment variable is needed to run this program  系统找不到指定的批处理标签 - end  

的问题,在我添加环境变量后又出现了

Exception in thread "main" java.io.FileNotFoundException: config\hazelcast.xml (系统找不到指定的路径。)         at java.io.FileInputStream.open(Native Method)

的异常, 希望有人可以给出解答

最新回复 (1)
  • x86 2020-3-26
    引用 2
    一定到在bin的同级目录下执行命令,不要到bin内执行
返回