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으로 전환했을 때, 모든 것이 잘 작동하기 시작했습니다.jdk 1.7에서 Apache James 시작하기
누구든지이 문제를 해결 했습니까?
INFO 19:45:24,669 | org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing org.apac[email protected]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 is related to the following location:
at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
at org.apache.camel.model.ResequenceDefinition
- with linked exception:
[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 is related to the following location:
at private java.util.List org.apache.camel.model.ResequenceDefinition.outputs
at org.apache.camel.model.ResequenceDefinition
]
...
제임스에서는이 문제가 발생하지 않았지만 (JBoss 퍼스펙티브를 구성했습니다),이를 수정하기 위해서는 와일드 카드 앞에 클래스 경로에있는 JAR 파일을 명시해야합니다. 아마도 도움이 될 것입니다 –
다음 beta5 버전이 고정 될 것으로 보입니다 https://issues.apache.org/jira/browse/JAMES-1450 – Sasa
아니요, beta5-854도 작동하지 않습니다. 다른 스택 추적 비록. – Sasa