【发布时间】:2016-06-09 07:33:58
【问题描述】:
我正在尝试使用 ANNIE 构建一个独立插件来检查 GATE 中的插件创建。我在 NetBeans 环境中构建和运行 jar 文件做了一些徒劳的尝试。
我收到以下警告:
log4j:WARN No appenders could be found for logger (gate.Gate).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
然后这个错误:
gate.util.GateRuntimeException: Could not infer installed plug-ins home!
Please set it manually using the -Dgate.plugins.home option in your start-up script.
at gate.Gate.initLocalPaths(Gate.java:320)
at gate.Gate.init(Gate.java:167)
问题似乎是把 Gate 构建文件嵌入到项目的根目录中?
【问题讨论】:
-
我提议对您的问题进行编辑,警告和错误消息是两个非常不同的东西。我敢打赌,ashingel 没有看到错误消息并回复了警告:)
-
谢谢,亚森。没错,我只看到了一个警告并错过了错误。