Skip to content

Eclipse white space error

March 1, 2011

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:


The below is incorrect:


No comments yet

Leave a Reply

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

You are commenting using your 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: