मैंने जावा जेडीके 1.7u17 के साथ लिनक्स मिंट 64 बिट (डेबियन) पर अपाचे-जेम्स-3.0-बीटा 4 सर्वर चलाने की कोशिश की है, लेकिन यह JAXB लाइब्रेरी बग के कारण काम नहीं करता है। प्रलेखन के अनुसार विभिन्न जार फ़ाइल डाउनलोड की जानी चाहिए (http://jaxb.java.net/2.1.13/JAXB2_20100510.jar) और conf/lib निर्देशिका में डाल दिया जाना चाहिए। मैंने ऐसा किया, लेकिन समस्या अभी भी वहां है। जब मैंने jdk 1.6 पर स्विच किया, तो सब कुछ ठीक काम करना शुरू कर दिया।जेडीके के साथ अपाचे जेम्स प्रारंभ करें 1.7
क्या किसी ने इस समस्या को हल किया है?
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
]
...
मुझे जेम्स के साथ इस समस्या का अनुभव नहीं हुआ है (लेकिन मैंने एक जेबॉस परिप्रेक्ष्य बनाया है), और इसे ठीक करने के लिए आपको किसी भी वाइल्डकार्ड से पहले अपने क्लासपाथ में जेएआर फ़ाइल स्पष्ट रूप से बताई गई थी। हो सकता है कि –
में मदद मिलेगी ऐसा लगता है कि अगला बीटा 5 संस्करण तय किया जाएगा https://issues.apache.org/jira/browse/JAMES-1450 – Sasa
नहीं, बीटा 5-854 या तो काम नहीं करता है। यद्यपि अलग स्टैक ट्रेस। – Sasa