6dollarmillions.in

urlrewrite error in STS

Flex addon problem with Roo 1.1.0 M2

when you create a roo project and run flex setup, flex nature is not added you have to go to the command prompt with appropriate project and enter mvn eclipse:eclipse manually.

Ex: C:\Documents and Settings\suresh.paleti\Documents\workspace-sts-2.3.3.M2\rooexample>mvn eclipse: eclipse

then it will start downloading all the jars from the sonatype repository, after it is done go to eclipse and refresh your project.

Still you have to create html template from problem view quick fix (right click on the error in the problem view and recreate html template)

But you still have the urlrewrite error in STS for that just change 3.0 to 3.2

<!DOCTYPE urlrewrite PUBLIC "-//tuckey.org//DTD UrlRewrite 3.2//EN"
"http://tuckey.org/res/dtds/urlrewrite3.2.dtd">

when you are done with this refresh the project and all errors will be gone.

Installing Maven eclipse plugin

Here are the step to install eclipse maven plugin

1. Run eclipse and click Help --> Install New Software



2. Then in the next screen which pops up just enter the update site url http://m2eclipse.sonatype.org/sites/m2e

if you are unable to see the Maven Integration for Eclipse under the name

dont worry here is the solution just uncheck Group Items by Category and you will be able to see and install it just click Next ..... and finally Finish and it is required to restart eclipse.



Note: Similarly install m2eclipse extras plugin.

Eclipse maven plugins update site url

m2eclipse Core Update Site: http://m2eclipse.sonatype.org/sites/m2e

m2eclipse Extras Update Site: http://m2eclipse.sonatype.org/sites/m2e-extras

reference: http://m2eclipse.sonatype.org/installing-m2eclipse.html