mercredi 25 février 2015

Spring NamespaceHandler - http://ift.tt/1fgHZC8

Issue Log: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://ift.tt/1fgHZC8] ,



  1. What would be clue to fix this ?

  2. can anyone see did i missed anything ?


Environment:



Spring 4.0 Apache CXF : 2.7.7 WildFly App server



bean.xml



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU" xmlns:jaxws="http://ift.tt/1ej3bYY"
xmlns:util="http://ift.tt/OGfeTW"
xmlns:http-conf="http://ift.tt/1fgHZC8"
xsi:schemaLocation="http://ift.tt/GArMu6
http://ift.tt/GAf8ZW
http://ift.tt/OGfeTW
http://ift.tt/OGffag
http://ift.tt/1fgHZC8
http://ift.tt/1ol0hto
http://ift.tt/1ej3bYY
http://ift.tt/1xnWr6B">

<http-conf:conduit name="*.http-conduit">
<http-conf:client ReceiveTimeout="120000" ConnectionTimeout="120000" />
</http-conf:conduit>

</beans>


pom.xml



<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://ift.tt/IH78KX" xmlns:xsi="http://ift.tt/ra1lAU"
xsi:schemaLocation="http://ift.tt/IH78KX http://ift.tt/VE5zRx">

<modelVersion>4.0.0</modelVersion>

<groupId>com.test</groupId>
<artifactId>b2cApplication</artifactId>
<name>B2C Version</name>
<version>3.0-SNAPSHOT</version>
<packaging>war</packaging>

<url>http://ift.tt/1DTtTaU;

<build>
<finalName>b2cApplication-3.0-SNAPSHOT</finalName>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>

<packagingExcludes>**/ojdbc14-10.2.0.3.0.jar,
**/asm*.jar,
**/cxf-2.4.0.jar,
**/cxf-manifest-2.4.0.jar,
**/ant-optional-1.5.1.jar,
**/activation-1.0.2.jar,
**/xalan-2.7.0.jar,
**/mail-1.3.jar,
**/xercesImpl-2.2.1.jar,
**/extranet-hotel-deduplicate-2.0.0.jar,
**/javassist-3.18.1-GA.jar,
**/cxf-api-2.7.7.jar,
**/cxf-rt-bindings-soap-2.7.7.jar,
**/cxf-rt-core-2.7.7.jar,
**/cxf-rt-databinding-jaxb-2.7.7.jar,
**/cxf-rt-frontend-simple-2.7.7.jar,
**/cxf-rt-transports-http-2.7.7,
**/cxf-rt-ws-addr-2.7.7.jar,
**/cxf-rt-ws-policy-2.7.7.jar,
**/cxf-rt-bindings-xml-2.7.7.jar,
**/cxf-rt-frontend-jaxws-2.7.7.jar,
**/cxf-rt-transports-http-2.7.7.jar,
**/neethi-3.0.0.jar,
**/servlet-api-2.5-6.1.5.jar,
**/velocity-1.3.jar,
**/mail-1.3.jar,
**/xerces-1.2.3.jar,
**/xercesImpl-2.9.1.jar,
**/ota-car-rentals-v2-2.0-SNAPSHOT.jar,
**/otasonata-FINAL.jar,
**/wagon*.jar,
**/doxia*.jar,
**/maven*.jar,
**/javaee-api-6.0.jar
</packagingExcludes>

</configuration>

<dependencies>

<!-- Spring -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>


<!-- Apache Commons -->
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.1</version>
</dependency>

<!-- Apache POI -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>3.10.1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml-schemas</artifactId>
<version>3.10.1</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.10.1</version>
</dependency>

<!-- JoSQL -->
<dependency>
<groupId>JoSQL</groupId>
<artifactId>JoSQL</artifactId>
<version>1.9</version>
</dependency>

<dependency>
<groupId>gently</groupId>
<artifactId>gently</artifactId>
<version>1.5</version>
</dependency>

<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-api</artifactId>
<version>2.7.7</version>

</dependency>

<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.7.7</version>

</dependency>

<dependency>
<groupId>org.apache.ws.commons.schema</groupId>
<artifactId>XmlSchema</artifactId>
<version>1.3.2</version>

</dependency>

</dependencies>

</project>

Aucun commentaire:

Enregistrer un commentaire