Java jdk 1.7u17 ile Linux Mint 64bit (Debian) üzerinde apache-james-3.0-beta4 sunucusunu çalıştırmayı denedim, ancak JAXB kitaplığı hatası nedeniyle çalışmadı. Belgelere göre farklı jar dosyası (http://jaxb.java.net/2.1.13/JAXB2_20100510.jar) indirilmeli ve conf/lib dizinine konulmalıdır. Bunu yaptım, ama sorun hala var. Jdk 1.6'ya geçtiğimde, her şey iyi çalışmaya başladı.jdk ile Apache James'i başlatın 1.7
Bu sorunu çözmüş olan var mı?
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
]
...
James ile bu sorunu yaşamadım (ancak JBoss perspektifini oluşturdum) ve düzeltmek için herhangi bir joker karakterden önce sınıf yolunuzda JAR dosyasını açıkça belirtmeniz gerekiyordu. Belki bu –
yardımcı olacaktır Gelecek beta5 sürümü sabit olacak gibi görünüyor https://issues.apache.org/jira/browse/JAMES-1450 – Sasa
Hayır, beta5-854 de çalışmıyor. Farklı yığın izi olsa da. – Sasa