小编Sas*_*asa的帖子

用jdk 1.7启动Apache James

我曾尝试使用Java jdk 1.7u17在Linux Mint 64bit(Debian)上运行apache-james-3.0-beta4服务器,但由于JAXB库错误,它无法正常工作.根据文档,应下载不同的jar文件(http://jaxb.java.net/2.1.13/JAXB2_20100510.jar)并放入conf/lib目录.我做到了,但问题仍然存在.当我切换到jdk 1.6时,一切都开始正常工作了.

有人解决了这个问题吗?

这是堆栈跟踪的一部分:

INFO  19:45:24,669 | org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing org.apache.james.container.spring.context.JamesServerApplicationContext@11641923: startup date [Mon Apr 22 19:45:24 CEST 2013]; root of context hierarchy
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: 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.ResequenceDefinition.getOutputs()
                at org.apache.camel.model.ResequenceDefinition
        this problem …
Run Code Online (Sandbox Code Playgroud)

java james

5
推荐指数
1
解决办法
5059
查看次数

标签 统计

james ×1

java ×1