Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/382.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java Apache James Spring发行版未启动_Java_Spring_James - Fatal编程技术网

Java Apache James Spring发行版未启动

Java Apache James Spring发行版未启动,java,spring,james,Java,Spring,James,目前正在尝试邮件服务器。下载(“for Spring wiring”)后,我在运行时得到了以下行为: bin\james.bat 日志(格式化为可读性): 怎么了?没关系,我找到了-试试这个: 我将提出这个问题的项目,同时快速修复,使该邮件 工作: 在James app文件夹中,打开conf/mailetcontainer.xml文件 查找具有类WithPriority的邮件集 将xml标记8替换为8 再次尝试运行james服务器 在conf/mailetcontainer.xml中看起来

目前正在尝试邮件服务器。下载(“for Spring wiring”)后,我在运行时得到了以下行为:

bin\james.bat
日志(格式化为可读性):

怎么了?

没关系,我找到了-试试这个:

我将提出这个问题的项目,同时快速修复,使该邮件 工作:

  • 在James app文件夹中,打开conf/mailetcontainer.xml文件
  • 查找具有类WithPriority的邮件集
  • 将xml标记8替换为8
  • 再次尝试运行james服务器
conf/mailetcontainer.xml中看起来像这样:

(...)
<mailetcontainer enableJmx="true">
  <processors>
    <processor state="root" enableJmx="true">
      <mailet match="All" class="PostmasterAlias"/>
      <mailet match="RelayLimit=30" class="Null"/>
      <mailet matcher="All" class="WithPriority">
        <priority>8</priority>
      </mailet>
(...)
(…)
8.
(...)
(...)
<mailetcontainer enableJmx="true">
  <processors>
    <processor state="root" enableJmx="true">
      <mailet match="All" class="PostmasterAlias"/>
      <mailet match="RelayLimit=30" class="Null"/>
      <mailet matcher="All" class="WithPriority">
        <priority>8</priority>
      </mailet>
(...)