idea打开新项目,出现如下错误,是因该文件需要设置为源码文件夹下,即可:

java.lang.RuntimeException: Can not load resource by name: contacts.properties
at cn.cmri.core2.vars.PropertiesVars.load(PropertiesVars.java:53)
at cn.cmri.core2.vars.PropertiesVars.<init>(PropertiesVars.java:33)
at cn.cmri.core2.vars.PropertiesVars.<init>(PropertiesVars.java:27)
at cn.cmri.core2.procengine.ConfigLoader.handleProperties(ConfigLoader.java:228)
at cn.cmri.core2.procengine.ConfigLoader.parse(ConfigLoader.java:189)
at cn.cmri.core2.procengine.ConfigLoader.load(ConfigLoader.java:68)
at cn.cmri.core2.procengine.ConfigLoader.<init>(ConfigLoader.java:40)
at cn.cmri.core2.procengine.ProcEngine.loadDefination(ProcEngine.java:69)

 

选择该文件在项目,右键,图形如下:

idea出现Can not load resource by name: xx

 

idea出现Can not load resource by name: xx

相关文章:

  • 2021-06-16
  • 2022-12-23
  • 2022-12-23
  • 2021-04-29
  • 2021-07-22
  • 2021-09-28
  • 2021-11-20
  • 2022-01-04
猜你喜欢
  • 2021-07-05
  • 2021-07-07
  • 2022-12-23
  • 2021-05-02
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
相关资源
相似解决方案