Announcement Announcement Module
Collapse
No announcement yet.
Roo Flex add on Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo Flex add on

    Was trying the flex add on with latest roo release and getting this error, is this still in works?

    Code:
    Nov 11, 2010 9:28:56 AM org.springframework.roo.felix.JdkDelegatingLogListener logNow
    SEVERE: [org.apache.felix.scr [6]] Unexpected problem executing task Enable Component: org.springframework.flex.roo.addon.FlexScaffo
    etadataProvider (158)
    java.lang.IllegalArgumentException: Cannot cast service: org.springframework.roo.classpath.itd.ItdRoleAwareMetadataProvider
            at org.apache.felix.framework.Felix.registerService(Felix.java:2748)
            at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:252)
            at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:408)
            at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerComponentService(AbstractComponentManager.java:419)
            at org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:1003)
            at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
            at org.apache.felix.scr.impl.manager.AbstractComponentManager$1.doRun(AbstractComponentManager.java:138)
            at org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
            at org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
            at java.lang.Thread.run(Unknown Source)
        ____  ____  ____
       / __ \/ __ \/ __ \
      / /_/ / / / / / / /
     / _, _/ /_/ / /_/ /
    /_/ |_|\____/\____/    1.1.0.RELEASE [rev 793f2b0]
    Last edited by srinivas_vsk; Nov 11th, 2010, 10:49 AM. Reason: adding verison

  • #2
    The flex add-on has not yet been updated for Roo 1.1.0.RELEASE by Jeremy. Until that happens you need to use the recommended Roo version for this add-on (I believe Roo 1.1.0.M2).

    HTH,
    Stefan

    Comment


    • #3
      Thanks Stefan. i download the m2. Do you know if the work on flex has slowed down in comparison to support for GWT, if so any particular reason? just curious

      Code:
      roo> flex remoting all --package ~.remote
      Created SRC_MAIN_JAVA\org\pax\remote
      Created SRC_MAIN_JAVA\org\pax\remote\TranService.java
      Created ROOT\src\main\flex\org\pax\domain
      Created ROOT\src\main\flex\org\pax\domain\Tran.as
      Created SRC_MAIN_JAVA\org\pax\remote\TranService_Roo_Service.aj
      Created ROOT\src\main\flex\pax_scaffold.mxml
      Created SRC_MAIN_WEBAPP\pax_scaffold.html
      Exception in thread "JLine Shell" java.lang.NoSuchMethodError: org.springframework.roo.support.util.TemplateUtils.findMatchingClasspath
      Resources(Lorg/osgi/framework/BundleContext;Ljava/lang/String;)Ljava/util/Set;
              at org.springframework.flex.roo.addon.FlexOperationsImpl.copyDirectoryContents(FlexOperationsImpl.java:515)
              at org.springframework.flex.roo.addon.FlexOperationsImpl.createScaffoldApp(FlexOperationsImpl.java:159)
              at org.springframework.flex.roo.addon.ui.FlexUIMetadataProvider.get(FlexUIMetadataProvider.java:135)
              at org.springframework.flex.roo.addon.ui.FlexUIMetadataProvider.notify(FlexUIMetadataProvider.java:274)
              at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:169)

      Comment

      Working...
      X