Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1419

controller command fails with: Properties file not found

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.1.0.M3
    • Fix Version/s: 1.1.0.RC1
    • Component/s: WEB MVC
    • Labels:
      None
    • Environment:
      Windows 7 x64, Roo console 1.1.0.M3

      Description

      When using the 'controller' command it fails to complete because of the error "Properties file not found". It will undo everything it generates, except with "controller class", that failed to undo as well. I don't know what properties file it is referring to. It seems it should be generating it or ignoring its lack of existence.

      There is not exception stack trace or other information provided to the console.

      ~.server.web roo> controller scaffold --entity ~.server.entity.Thing --class ~.server.web.ThingController
      Created SRC_MAIN_JAVA\com\sample\site\server\web\ThingController.java
      Created SRC_MAIN_WEBAPP\WEB-INF\web.xml
      Created SRC_MAIN_JAVA\com\sample\site\server\web\ThingController_Roo_Controller.aj
      Created SRC_MAIN_WEBAPP\WEB-INF\views\things
      Created SRC_MAIN_WEBAPP\WEB-INF\views\things\list.jspx
      Created SRC_MAIN_WEBAPP\WEB-INF\views\things\views.xml
      Created SRC_MAIN_WEBAPP\WEB-INF\views\things\show.jspx
      Managed SRC_MAIN_WEBAPP\WEB-INF\views\things\views.xml
      Created SRC_MAIN_WEBAPP\WEB-INF\views\things\create.jspx
      Created SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
      Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu
      Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\menu.tagx
      Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\item.tagx
      Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\category.tagx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu\category.tagx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu\item.tagx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu\menu.tagx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu
      Undo create SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\views\things\create.jspx
      Undo manage SRC_MAIN_WEBAPP\WEB-INF\views\things\views.xml
      Undo create SRC_MAIN_WEBAPP\WEB-INF\views\things\show.jspx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\views\things\views.xml
      Undo create SRC_MAIN_WEBAPP\WEB-INF\views\things\list.jspx
      Undo create SRC_MAIN_WEBAPP\WEB-INF\views\things
      Undo create SRC_MAIN_JAVA\com\sample\site\server\web\ThingController_Roo_Controller.aj
      Undo create SRC_MAIN_WEBAPP\WEB-INF\web.xml
      Undo create SRC_MAIN_JAVA\com\sample\site\server\web\ThingController.java
      Properties file not found

      ~.server.entity.Thing roo> controller class --class ~.server.web.ThingController --preferredMapping /thing/
      Created SRC_MAIN_JAVA\com\sample\site\server\web\ThingController.java
      Created SRC_MAIN_WEBAPP\WEB-INF\views\thing
      Created SRC_MAIN_WEBAPP\WEB-INF\views\thing\index.jspx
      Undo failed SRC_MAIN_WEBAPP\WEB-INF\views\thing\index.jspx
      Properties file not found

        Attachments

          Activity

            People

            • Assignee:
              sschmidt Stefan Schmidt
              Reporter:
              elidoran Eli Doran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: