Note that there are some explanatory texts on larger screens.

plurals
  1. POSpring ROO issue with UrlRewrite in STS (eclipse)
    text
    copied!<p>I'm having trouble figuring out how to solve this issue. I have a file called: "urlrewrite.xml" which was automatically generated by spring ROO after running the "controller" command in ROO Shell. </p> <p>However, I still get the following error: </p> <pre><code>"Referenced file contains errors (http://tuckey.org/res/dtds/urlrewrite3.0.dtd). For more information, right click on the message in the Problems View and select "Show Details..." </code></pre> <p>Here's the content of the urlrewrite.xml file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.0//EN" "http://tuckey.org/res/dtds/urlrewrite3.0.dtd"&gt; &lt;urlrewrite default-match-type="wildcard"&gt; &lt;rule&gt; &lt;from&gt;/resources/**&lt;/from&gt; &lt;to last="true"&gt;/resources/$1&lt;/to&gt; &lt;/rule&gt; &lt;rule&gt; &lt;from&gt;/static/WEB-INF/**&lt;/from&gt; &lt;set type="status"&gt;403&lt;/set&gt; &lt;to last="true"&gt;/static/WEB-INF/$1&lt;/to&gt; &lt;/rule&gt; &lt;rule&gt; &lt;from&gt;/static/**&lt;/from&gt; &lt;to last="true"&gt;/$1&lt;/to&gt; &lt;/rule&gt; &lt;rule&gt; &lt;from&gt;/&lt;/from&gt; &lt;to last="true"&gt;/app/index&lt;/to&gt; &lt;/rule&gt; &lt;rule&gt; &lt;from&gt;/app/**&lt;/from&gt; &lt;to last="true"&gt;/app/$1&lt;/to&gt; &lt;/rule&gt; &lt;rule&gt; &lt;from&gt;/**&lt;/from&gt; &lt;to&gt;/app/$1&lt;/to&gt; &lt;/rule&gt; &lt;outbound-rule&gt; &lt;from&gt;/app/**&lt;/from&gt; &lt;to&gt;/$1&lt;/to&gt; &lt;/outbound-rule&gt; &lt;/urlrewrite&gt; </code></pre> <p>Any thoughts on how to get rid of this error? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload