Hi Guys, 

I encounter the following error when I try to deploy my .ear file that
contains camelContext into weblogic 12c. 
*The exact .ear file can be deployed on weblogic 10.3 without any issues.
Would appreciate for any help provide:

The error is as follows:
java.lang.exception:javax.faces.FacesException: Exception[EclipseLink-50007]
(Eclipse Persistence Services - 2.3.2.v20111124-r104611111):
org.eclipise.persistence.exceptions.JAXBException exception Description:
Name collision. Two classes have the XML type with URI
http://camel.apache.org/schema/spring and name expression.

My camelcontext is as follows:
<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:camel="http://camel.apache.org/schema/spring";
       xsi:schemaLocation="
          http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
          http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd";>


<camel:camelContext id="camel-A"
xmlns="http://camel.apache.org/schema/spring";>
 <camel:template id="testTemplate" />
<camel:consumerTemplate id="consumerTemplate" />
</camelContext>

Thank you guys



--
View this message in context: 
http://camel.465427.n5.nabble.com/Help-on-deploying-Camel-on-Weblogic-12c-Name-Collision-tp5720837.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to