URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs) in applicationContext.xml

You can easy solve it by: Fetch external resource.

Click the light(your is red) -> Fetch external resource.


This did the work:

Alt+Enter -> Fetch external resource


I'm assuming this is in IntelliJ IDEA or some other JetBrains tool. If you place the cursor over the URL (or select it), you should see a red bulb on the left border of the window. That red bulb, when clicked, will give you some options to correct any errors. One of the options should be to download the DTD (Fetch external resource). Do that and the error should go away.


If you select and hit ALT+ENTER i.e. More Actions... then following options would be displayed:

1. Add xsi schema location for external resource
2. Fetch external resource <- my preferred way
3. Ignore external resource
4. Manually setup external resource

Most of the time you would either select option no. 2 or 3 to get rid of this error.


For me Build > Clean Project worked.