mukei1 2017-11-17 03:53 采纳率: 0%
浏览 10051

maven项目的多模块中怎么引用资源模块的公共配置文件?

maven项目中多个功能模块,我想创建一个公共的资源模块,然后其它模块去引用它,我该怎么做?我是需要在其它模块web.xml中加载


log4jConfigLocation

classpath:properties/log4j.properties

  • 写回答

1条回答 默认 最新

  • mukei1 2017-11-17 04:22
    关注

    报的错误:
    Invalid 'log4jConfigLocation' parameter: class path resource [properties/log4j.properties] cannot be resolved to absolute file path because it does not reside in the file system: jar:file:/E:/repository/com/qingtongshu/tree-module-resource/0.0.1-SNAPSHOT/tree-module-resource-0.0.1-SNAPSHOT.jar!/properties/log4j.properties

    图片说明

    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记