gpt4 book ai didi

java - Apache James 3.0-beta4 启动问题

转载 作者:行者123 更新时间:2023-11-30 08:28:25 24 4
gpt4 key购买 nike

我考虑将 Apache James 3.0-beta4 用于邮件服务器。我是从apache网站下载的。按照说明运行它。我运行“run.bat”但出现错误。

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStore
Exception: Failed to create the JAXB binder; nested exception is javax.xml.bind.
JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory could not be
instantiated: com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException:
1 counts of IllegalAnnotationExceptions
Class has two properties of the same name "outputs"
this problem is related to the following location:
at public java.util.List org.apache.camel.model.ResequenceDefini
tion.getOutputs()
at org.apache.camel.model.ResequenceDefinition
this problem is related to the following location:
at private java.util.List org.apache.camel.model.ResequenceDefin
ition.outputs
at org.apache.camel.model.ResequenceDefinition

到处寻找,但没有找到任何解决方案。它是 apache 目前拥有的最新文件。请就此指导我。

最佳答案

这个问题有一个解决方法。运行 java 7 时会发生此问题,恢复为 java 6 作为解决方法。它对我有用。

关于java - Apache James 3.0-beta4 启动问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20202096/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com