[jboss-user] [Installation, Configuration & Deployment] - AS 5.1.0.GA fails to parse Spring schemas, on AS 4.2.3.GA al

nesyarug do-not-reply at jboss.com
Mon Oct 26 04:26:06 EDT 2009


Hi,

I'm trying to migrate my Spring-based webapp from JBoss AS 4.2.3.GA to JBoss AS 5.1.0.GA. I'm running into the following on startup:

Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=http://www.springframework.org/schema/context, baseURI=null, schemaLocation=null

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://www.springframework.org/schema/context, baseURI=null, schemaLocation=null

Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 1:55 White spaces are required between publicId and systemId.

Would anyone here know why?

This is the header of for example applicationContext.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <beans
  | 	xmlns="http://www.springframework.org/schema/beans"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	xmlns:context="http://www.springframework.org/schema/context"
  | 	xmlns:aop="http://www.springframework.org/schema/aop"
  | 	xsi:schemaLocation="
  | 		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
  | 		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
  | 		http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">

Many thanks for your support,
Nes

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262103#4262103

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262103



More information about the jboss-user mailing list