Skip to content

Eclipse white space error

March 1, 2011
tags:

Error in the beans xml file when adding a new namespace in the spring while using eclipse IDE:

White spaces are required between publicId and systemId.

The error comes because of not having the xsd corresponding to the namespace existing when defining new namespace using the spring tools plugins. The way to resolve it is ensure that in the schemaLocation you are mentioning first the namespace unique id and then a space followed by the xsd path. Eg:


xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-3.0.xsd"

The below is incorrect:

xsi:schemaLocation=”http://www.springframework.org/schema/beans””

Advertisements
No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: