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

[ERROR] FloatBox cannot be resolved to a type when defining a field of type java.lang.Float in gwt project

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.2.4.RELEASE, 1.2.5.RELEASE
    • Fix Version/s: 1.3.0.RELEASE
    • Component/s: @ CORE, GWT
    • Labels:
      None

      Description

      If I run the following script:

      GWT script
      project --topLevelPackage t.com --projectName t --java 7 --packaging JAR jpa setup --database DERBY_EMBEDDED --provider HIBERNATE 
      entity jpa --class ~.domain.Person --testAutomatically
      field string --fieldName name
      field number --type java.lang.Float --fieldName price
      web gwt setup
      web gwt all --proxyPackage ~.client.proxy --requestPackage ~.client.request
      

      when I type

      command
      perform command --mavenCommand gwt:run
      

      I get the following errors

      Errors
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building t 0.1.0.BUILD-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] n.Person roo>
      [INFO] >>> gwt-maven-plugin:2.5.0:run (default-cli) @ t >>>
      [INFO] n.Person roo>
      [INFO] --- aspectj-maven-plugin:1.4:compile (default) @ t ---
      [ERROR] FloatBox cannot be resolved to a type
      The command 'mvn.bat gwt:run' did not complete successfully
      ~.domain.Person roo> [WARNING] advice defined in org.springframework.scheduling.
      aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMat
      ch]
      [WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
      [WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMo
      ckingControl has not been applied [Xlint:adviceDidNotMatch]
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 7.176s
      [INFO] Finished at: Wed Dec 04 19:13:20 EST 2013
      [INFO] Final Memory: 15M/230M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:compile (default) on project t: Compiler errors:
      [ERROR] error at FloatBox price;
      [ERROR] ^^^rson roo>
      [ERROR] D:\Users\mario\Documents\sts\applets\troo\src\main\java\t\com\client\managed\ui\desktop\PersonDesktopEditView_Roo_Gwt.java:41:0::0 FloatBox cannot be resolved to a type
      [ERROR] -> [Help 1]>
      [ERROR] .Person roo>
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] .Person roo>
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

        Attachments

          Activity

            People

            • Assignee:
              stewarta Alan Stewart
              Reporter:
              marioja Mario Jauvin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: