0

I am getting a strange error from Eclipse complaining about my rebel.xml. I deleted the project from my workspace and checked it out fresh from the repository, and am now getting this error.

enter image description here

<?xml version="1.0" encoding="UTF-8"?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd">

<classpath>
    <dir name="C:/Eclipse/workspace/MyProject/build/classes">
    </dir>
</classpath>

<web>
    <link target="/">
        <dir name="C:/Eclipse_AIJ3/workspace/MyProject/WebContent">
        </dir>
    </link>
</web>

secondbreakfast
  • 4,194
  • 5
  • 47
  • 101
  • The xsd might've not been available for a moment at https://update.zeroturnaround.com/alderaan/rebel-2_0.xsd. – Henri Viik Dec 16 '16 at 09:04

2 Answers2

0

I ended up closing the project, reopening, and then cleaning it to resolve this issue. Case closed.

secondbreakfast
  • 4,194
  • 5
  • 47
  • 101
  • This didn't work for a co-worker of mine, still having the exact same problem after closing, reopening the project and cleaning... – Mauro Molinari May 07 '19 at 07:34
0

Closing and reopening the project didn't work for me either. I found, that the URL of the XSD file changed. (See the JRebel online documentation at http://manuals.zeroturnaround.com/jrebel/standalone/config.html.)

So change the xsi:schemaLocation attribute of your rebel.xml file to xsi:schemaLocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd". This will fix the validation error.

Pable
  • 11
  • 3