Results 1 to 3 of 3

Thread: Unable to locate Spring NamespaceHandler when using Maven

Hybrid View

  1. #1

    Default Unable to locate Spring NamespaceHandler when using Maven

    Hi,
    I just upgraded to RC1 and tried the examples using Maven. Whenever the stream xsd (spring-integration-stream-1.0.xsd) is included in the namespace declaration, an exception occurs:

    Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace

    In my dependencies, I have the core, adapter and ws.

    Code:
    	<dependencies>
    		<dependency>
    			<groupId>org.springframework.integration</groupId>
    			<artifactId>org.springframework.integration</artifactId>
    			<version>1.0.0.RC1</version>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.integration</groupId>
    			<artifactId>
    				org.springframework.integration.adapter
    			</artifactId>
    			<version>1.0.0.RC1</version>
    		</dependency>
    		<dependency>
    			<groupId>org.springframework.integration</groupId>
    			<artifactId>
    				org.springframework.integration.ws
    			</artifactId>
    			<version>1.0.0.RC1</version>
    		</dependency>
    	</dependencies>
    I noticed in the jars that this stream xsd does not exist. Any help on how to resolve this?

    Thanks.

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,844

    Default

    To use the 'stream' XSD, you also need to add the 'org.springframework.integration.stream' module to your dependencies.

  3. #3

    Default

    Hi Mark,
    Thanks! It worked.

    I never thought about 'org.springframework.integration.stream' module because I was only looking in the 'spring-integration-1.0.0.RC1/lib' folder and made it as a reference of my maven dependencies. Now I realized there's a 'dist' folder.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •