Announcement Announcement Module
Collapse
No announcement yet.
Roo 1.1.0.M2: "gwt setup" fails Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo 1.1.0.M2: "gwt setup" fails

    Using STS 2.3.3.M2 and Roo 1.1.0.M2 [rev 0b3543e] I have the following problem. When setting up gwt, the files are not created and gwt setup fails. Should I file a bug for this? Is there an easy workaround?

    ---- log.roo ----
    Code:
    // Spring Roo 1.1.0.M2 [rev 0b3543e] log opened at 2010-07-19 08:20:08
    project --topLevelPackage com.hello.mytest2 --projectName MyTest2 --java 6
    // Spring Roo 1.1.0.M2 [rev 0b3543e] log opened at 2010-07-19 08:20:13
    persistence setup --database MYSQL --provider HIBERNATE 
    // [failed] gwt setup
    ---- roo Shell ----
    Code:
       ____  ____  ____  
       / __ \/ __ \/ __ \ 
      / /_/ / / / / / / / 
     / _, _/ /_/ / /_/ /  
    /_/ |_|\____/\____/    1.1.0.M2 [rev 0b3543e]
    
    
    Welcome to Spring Roo. For assistance press CTRL+SPACE or type "hint" then hit ENTER.
    roo> 
    required --database: The database to support; no default value
    
    required --provider: The persistence provider to support; no default value
    roo> persistence setup --database MYSQL --provider HIBERNATE 
    Managed SRC_MAIN_RESOURCES\META-INF\spring\applicationContext.xml
    Created SRC_MAIN_RESOURCES\META-INF\persistence.xml
    Please enter your database details in src/main/resources/META-INF/spring/database.properties.
    Created SRC_MAIN_RESOURCES\META-INF\spring\database.properties
    Managed ROOT\pom.xml [Added dependency mysql:mysql-connector-java:5.1.13]
    Managed ROOT\pom.xml [Added dependency org.hibernate:hibernate-core:3.5.1-Final]
    Managed ROOT\pom.xml [Added dependency org.hibernate:hibernate-entitymanager:3.5.1-Final]
    Managed ROOT\pom.xml [Added dependency org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.0.Final]
    Managed ROOT\pom.xml [Added dependency org.hibernate:hibernate-validator:4.0.2.GA]
    Managed ROOT\pom.xml [Added dependency javax.validation:validation-api:1.0.0.GA]
    Managed ROOT\pom.xml [Added dependency cglib:cglib-nodep:2.2]
    Managed ROOT\pom.xml [Added dependency javax.transaction:jta:1.1]
    Managed ROOT\pom.xml [Added dependency org.springframework:spring-jdbc:${spring.version}]
    Managed ROOT\pom.xml [Added dependency org.springframework:spring-orm:${spring.version}]
    Managed ROOT\pom.xml [Added dependency commons-pool:commons-pool:1.5.4]
    Managed ROOT\pom.xml [Added dependency commons-dbcp:commons-dbcp:1.3]
    Managed ROOT\pom.xml
    roo> gwt setup
    Created SRC_MAIN_WEBAPP\WEB-INF\spring
    Created SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
    Created SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Created SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
    Managed SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Managed ROOT\pom.xml [Added dependency org.springframework:spring-web:${spring.version}]
    Managed ROOT\pom.xml [Added dependency org.springframework:spring-webmvc:${spring.version}]
    Managed ROOT\pom.xml [Added dependency org.springframework.webflow:spring-js:2.0.8.RELEASE]
    Managed ROOT\pom.xml [Added dependency commons-digester:commons-digester:2.0]
    Managed ROOT\pom.xml [Added dependency commons-fileupload:commons-fileupload:1.2.1]
    Managed ROOT\pom.xml [Added dependency org.tuckey:urlrewritefilter:3.1.0]
    Managed ROOT\pom.xml [Added dependency javax.servlet:jstl:1.2]
    Managed ROOT\pom.xml [Added dependency javax.el:el-api:1.0]
    Managed ROOT\pom.xml [Added dependency joda-time:joda-time:1.6]
    Managed ROOT\pom.xml
    Managed ROOT\pom.xml [Added dependency com.google.gwt:gwt-servlet:2.1.0.M2]
    Managed ROOT\pom.xml [Added dependency com.google.gwt:gwt-user:2.1.0.M2]
    Managed ROOT\pom.xml [Added dependency org.json:json:20090211]
    Managed ROOT\pom.xml
    Managed SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Managed SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationCommon.gwt.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationMobileScaffold.gwt.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationScaffold.gwt.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationRecordPlace.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationListPlace.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationPlace.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\request
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\gwtLogo.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\Scaffold.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.ui.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\rooLogo.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.ui.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\mobile.css
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobile.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated\createButton.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ApplicationKeyNameRenderer.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\server
    Created SRC_MAIN_WEBAPP\ApplicationMobileScaffold.html
    Created SRC_MAIN_WEBAPP\ApplicationScaffold.html
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\Style.gwt.xml
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\common.css
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\Styles.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\groupIcon.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\userIcon.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\selectionGradient.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\openGradient.png
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationEntityTypesProcessor.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationRequestFactory.java
    Created SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ListPlaceRenderer.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ListPlaceRenderer.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationRequestFactory.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\request\ApplicationEntityTypesProcessor.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\openGradient.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\selectionGradient.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\userIcon.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\groupIcon.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\Styles.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client\common.css
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\client
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style\Style.gwt.xml
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\style
    Undo create SRC_MAIN_WEBAPP\ApplicationScaffold.html
    Undo create SRC_MAIN_WEBAPP\ApplicationMobileScaffold.html
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\server
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui\ApplicationKeyNameRenderer.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ui
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated\createButton.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\generated
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobile.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\mobile.css
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.ui.xml
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\rooLogo.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.ui.xml
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldMobileShell.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\Scaffold.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\ScaffoldShell.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\gwtLogo.png
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\request
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationPlace.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationListPlace.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place\ApplicationRecordPlace.java
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\scaffold\place
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationScaffold.gwt.xml
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationMobileScaffold.gwt.xml
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt\ApplicationCommon.gwt.xml
    Undo create SRC_MAIN_JAVA\com\hello\mytest2\gwt
    Undo manage SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
    Undo manage SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Undo manage ROOT\pom.xml
    Undo manage SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Undo create SRC_MAIN_WEBAPP\WEB-INF\urlrewrite.xml
    Undo create SRC_MAIN_WEBAPP\WEB-INF\web.xml
    Undo create SRC_MAIN_WEBAPP\WEB-INF\spring\webmvc-config.xml
    Undo create SRC_MAIN_WEBAPP\WEB-INF\spring
    Velocity could not be initialized!
    roo>

  • #2
    Try creating some entities before 'gwt setup'.

    If that doesn't work, please type 'development mode' ENTER before 'gwt setup' and file a bug report for us at http://jira.springsource.org/browse/ROO. We're happy to fix it for you.

    Thanks
    Ben

    Comment


    • #3
      I had the same problem

      I was doing it within STS. Starting development mode and trying again had the same result with no extra output.

      However, when I started Roo in my terminal (Mac OS X), gwt setup worked fine.

      Comment


      • #4
        Similar issue

        PHP Code:
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\sites
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\sites\list.jspx
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\sites\show.jspx
        [Timer-0Managed SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\sites\create.jspx
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\menu.tagx
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\item.tagx
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\tags\menu\category.tagx
        [Timer-0Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
        [Timer-0Managed SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
        [Timer-0Managed SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Created SRC_MAIN_WEBAPP\WEB-INF\views\sites\update.jspx
        [Timer-0Managed SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Managed SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
        [Timer-0Undo manage SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
        [Timer-0Undo manage SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\sites\update.jspx
        [Timer-0Undo manage SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Undo manage SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
        [Timer-0Undo manage SRC_MAIN_WEBAPP\WEB-INF\i18n\application.properties
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu\category.tagx
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu\item.tagx
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\tags\menu\menu.tagx
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\menu.jspx
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\sites\create.jspx
        [Timer-0Undo manage SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\sites\show.jspx
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\sites\views.xml
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\sites\list.jspx
        [Timer-0Undo create SRC_MAIN_WEBAPP\WEB-INF\views\sites
        [Timer-0Value required
                  java
        .lang.IllegalArgumentExceptionValue required
                      at org
        .springframework.roo.support.util.Assert.hasText(Assert.java
        :162)
                      
        at org.springframework.roo.addon.propfiles.PropFileOperationsImpl.
        changeProperty(PropFileOperationsImpl.java:52)
                      
        at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.g
        et
        (JspMetadataListener.java:187)
                      
        at org.springframework.roo.addon.web.mvc.jsp.JspMetadataListener.n
        otify
        (JspMetadataListener.java:316)
                      
        at org.springframework.roo.metadata.DefaultMetadataService.notify(
        DefaultMetadataService.java:169)
                      
        at org.springframework.roo.metadata.internal.DefaultMetadataDepend
        encyRegistry
        .notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
                      
        at org.springframework.roo.classpath.itd.AbstractItdMetadataProvid
        er
        .notify(AbstractItdMetadataProvider.java:132)
                      
        at org.springframework.roo.metadata.DefaultMetadataService.notify(
        DefaultMetadataService.java:169)
                      
        at org.springframework.roo.metadata.internal.DefaultMetadataDepend
        encyRegistry
        .notifyDownstream(DefaultMetadataDependencyRegistry.java:244)
                      
        at org.springframework.roo.classpath.itd.AbstractItdMetadataProvid
        er
        .notify(AbstractItdMetadataProvider.java:105)
                      
        at org.springframework.roo.metadata.DefaultMetadataService.notify(
        DefaultMetadataService.java:169)
                      
        at org.springframework.roo.metadata.internal.DefaultMetadataDepend
        encyRegistry
        .notifyDownstream(DefaultMetadataDependencyRegistry.java:244)
                      
        at org.springframework.roo.addon.maven.MavenProjectMetadataProvide
        r
        .onFileEvent(MavenProjectMetadataProvider.java:509)
                      
        at org.springframework.roo.file.monitor.polling.PollingFileMonitor
        Service
        .publish(PollingFileMonitorService.java:350)
                      
        at org.springframework.roo.file.monitor.polling.PollingFileMonitor
        Service
        .scanAll(PollingFileMonitorService.java:324)
                      
        at org.springframework.roo.process.manager.internal.DefaultProcess
        Manager
        .doTransactionally(DefaultProcessManager.java:175)
                      
        at org.springframework.roo.process.manager.internal.DefaultProcess
        Manager
        .backgroundPoll(DefaultProcessManager.java:122)
                      
        at org.springframework.roo.process.manager.internal.DefaultProcess
        Manager
        .timerBasedPoll(DefaultProcessManager.java:233)
                      
        at org.springframework.roo.process.manager.internal.DefaultProcess
        Manager
        $2.run(DefaultProcessManager.java:75)
                      
        at java.util.TimerThread.mainLoop(Unknown Source)
                      
        at java.util.TimerThread.run(Unknown Source

        Comment


        • #5
          Has a bug report been filed for this yet? I have the same problem but do not want to duplicate the report.

          Comment

          Working...
          X