Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: GWT module's gwt.xml file not found; cannot continue

  1. #21
    Join Date
    Jul 2011
    Posts
    3

    Default

    Unfortunately the latest snapshot seems to have another problem, so I cannot even reach the gwt part of the "First application". Maybe this is related to the cglib problem above, but unlikely. If I add the controllers, Roo displays another error.:

    ~.Timer roo> controller all --package ~.web
    Created SRC_MAIN_WEBAPP\WEB-INF\spring
    ...
    Updated SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
    Created SRC_MAIN_WEBAPP\images
    Undo create SRC_MAIN_WEBAPP\images
    ...
    java.lang.IllegalStateException: java.lang.IllegalStateException: java.net.MalformedURLException: unknown protocol: bundle
    Last edited by hontvari; Jul 1st, 2011 at 12:10 PM. Reason: too long

  2. #22
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    @hontvari,

    The 'controller all --package ~.web' command will create Spring MVC scaffolding rather than GWT scaffolding (which is what this thread is about). If you encounter problems with the MVC scaffolding please post this in a separate thread (with sufficient detail so we can see what is going on).
    Stefan Schmidt
    Software Engineer, Spring Roo
    SpringSource - a division of VMware
    twitter @schmidtstefan

  3. #23
    Join Date
    Jul 2011
    Posts
    3

    Default

    Quote Originally Posted by Stefan Schmidt View Post
    The 'controller all --package ~.web' command will create Spring MVC scaffolding rather than GWT scaffolding (which is what this thread is about). If you encounter problems with the MVC scaffolding please post this in a separate thread (with sufficient detail so we can see what is going on).
    I just followed the "First Project – via STS" example at www.springsource.org/roo/start . It contains the GWT related line:
    roo> controller all --package ~.web
    roo> selenium test --controller ~.web.TimerController
    roo> gwt setup

    On my first attempt, gwt setup failed. This is why I found this thread. Then I followed the workaround described in this topic, but it does not seem to work with the latest snapshot anymore. This is why I wrote here. But maybe I have a different problem, I don't know.

    Update: All of the above happened on Windows 7. On Ubuntu I have not tried the "First application", but I was able to compile the GWT example. However it did nothing, except it displayed a "Loading..." box.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •