By the process of elimination I've now narrowed it down to a specific file, but
can't for the life of me figure out what could be wrong.
The problematic file is my Hibernate/DAO configuration applicationContext-hibernate.xml.
Strange however that it seems to fail with the "White spaces" error on the XSD
for the first non-default namespace in the XML file.
Here is my "beans" tag:
<?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:tx="http://www.springframework.org/schema/tx"
|
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/tx
|
http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">
When the first non-default namespace tag starts with "<context:", in my
case:
<context:annotation-config />
the error is:
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
When I remove that line so that the first non-default namespace tag starts with
"<tx:", in my case:
<tx:annotation-driven transaction-manager="transactionManager" />
the error is:
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse
schema for
nsURI=http://www.springframework.org/schema/tx, baseURI=null,
schemaLocation=null
Does that make sense to anyone?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265145#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...