首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Apache James 3.0-beta4入门问题

Apache James 3.0-beta4入门问题
EN

Stack Overflow用户
提问于 2013-11-26 03:58:33
回答 3查看 1.4K关注 0票数 2

我考虑使用Apache James 3.0-beta4作为邮件服务器。我从apache网站上下载的。按照说明运行它。我运行了"run.bat“,但得到了错误。

代码语言:javascript
复制
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目前拥有的最新文件。关于这个请给我指点一下。

EN

回答 3

Stack Overflow用户

发布于 2014-03-14 09:42:12

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

票数 2
EN

Stack Overflow用户

发布于 2016-11-25 12:46:49

您需要访问下面的库。添加到参考资料。

  • jaxb-api.jar
  • jaxb-impl.jar
票数 1
EN

Stack Overflow用户

发布于 2014-08-22 17:15:20

Apache James3.0-Beta4不是从Java7开始的,而是从Java6开始的。答案是:Start Apache James with jdk 1.7

我错了。实际上,你可以在java7上启动beta4,我就是这么做的。您必须下载源代码,编辑pom以使用camel-core-2.10.3,并使用maven构建项目。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/20202096

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档