Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 60

Thread: Flex Addon for Spring Roo - Compatibility Update

  1. #11
    Join Date
    May 2010
    Posts
    5

    Default

    Hello,
    Everything was working fine with sts 2.5.1 and now i get this error :

    HTML Code:
    org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from relative location [flex-config.xml]
    Offending resource: ServletContext resource [/WEB-INF/spring/webmvc-config.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 12 in XML document from ServletContext resource [/WEB-INF/spring/flex-config.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:message-broker'.
    Do you know where it can come from ?

  2. #12
    Join Date
    Sep 2010
    Location
    Walnut Creek, California
    Posts
    6

    Default Development Environment Confirmation

    Jeremy,

    There does not appear to be a place on the springsource.org website to find older versions of STS, so I'm assuming that your November post regarding the use of STS 2.3.3M1 is no longer valid. In this thread, there appears to be some forward movement using STS 2.5.1.RELEASE. Personally, my initial attempt failed.

    So, going forward, I'm going to stick with STS 2.5.1.RELEASE, roo1.1.1, FLex Addon 1.0.0.M1 and try to debug and resolve the issues as I find them. Do you think this is wise at this time, considering how each of these items are changing so rapidly?

    Any response would be greatly appreciated.

    Cheers!

  3. #13
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    The current state of things is that we are broken with Roo 1.1.1. (I should get time to fix that next week.) Roo 1.1.0 should work with the current nightly snapshots of the Flex Addon.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  4. #14
    Join Date
    Sep 2010
    Location
    Walnut Creek, California
    Posts
    6

    Default

    Great news! Thanks for the quick reply. I'll post my environment settings when I get this successfully up and running.

  5. #15
    Join Date
    Sep 2010
    Location
    Walnut Creek, California
    Posts
    6

    Default Musings..

    I used the environment as discussed above:

    Mac OS X 10.6.6
    Java 1.6.X
    STS 2.5.1.RELEASE
    Roo 1.1.0.RELEASE
    org.springframework.flex.roo.addon-1.0.0.BUILD-20101118.020007-139.jar

    I was not able to move forward cleanly with STS. A couple of "gotcha's" that folks should be aware of. Given that you may have a working directory like:

    <volume>:<homeDirectory>/<username>/workspace
    you will want to perform some house cleaning when changing versions of STS, ROO or any of the other items. I realized I forgot to cleanup the cache and sts-cache directories when starting from scratch. Also, if you happened to change your STS versions, you will want to delete the .eclipse_keyring file found in your home directory.

    I'll give the STS rebuild another try on another machine later this evening.

    Fight the good Fight!

  6. #16
    Join Date
    Feb 2011
    Posts
    6

    Default

    Hi Jeremy & the others,

    I recently downloaded STS 2.5.2 and started my project using Roo 1.1.1. Right from the beginning I had planned to use the Flex add-on for Roo, because I heard it would be pretty easy to use. There was no information (at least I didn't see anything) on the Spring Flex product page about the incompatibilities between Roo 1.1.1 and the Flex add-on, so I ran into the exact same problem (Roo shell hangs) that so many other users already mentioned in various threads...

    If I got you right, you are working hard on a fix these days and expect to have a working nightly build in the coming days. That's great news! In the meantime, is there any tutorial or guide that explains what the "flex setup" command of Roo usually does? Basically I would like to use the BlazeDS RemotingService in my existing Roo project, but the information I found so far didn't really help me to set this up correctly. Any hints & links to helpful resources are greatly appreciated.

    Thanks!
    Nick

  7. #17
    Join Date
    Apr 2005
    Location
    San Francisco, CA
    Posts
    1,224

    Default

    I'd say the best explanation available right now is the introductory screencast:
    http://blog.springsource.com/2010/07...or-spring-roo/

    Also, note that the current nightly snapshots should at least be compatible with Roo 1.1.0.
    Jeremy Grelle

    Staff Engineer, Web Products Team
    SpringSource

  8. #18
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    12

    Default

    Quote Originally Posted by pmularien View Post
    Thomas, I'd love if you could attach whatever changes you have made to this post or provide a SVN patch to get the current SVN trunk working with Roo 1.1.1. I'm noodling with the database reverse engineering features of Roo 1.1.1, and the result of DBRE isn't compatible with Roo 1.1.0, and also not with Roo Flex (which hangs in Roo 1.1.1).

    Is there a JIRA item out there for the Roo 1.1.1 hang? If not, I'll volunteer to file one and work with Jeremy (or whomever) to get this patched!
    Hi Peter-

    I'm terribly sorry for just now replying to this. I thought I had set up my profile/account for this forum to notify me via email if anyone posts replies/comments to this thread; clearly, I was mistaken.

    I would be glad to provide a patch or post the changes here, whichever you prefer. Or, I could just do both.


    Thanks,

    Thomas
    Last edited by tbird; Feb 18th, 2011 at 09:19 AM. Reason: Wanted to change the salutation of the post from being 'pmularien' to his first name, which is 'Peter'.

  9. #19
    Join Date
    Jan 2011
    Location
    Denver, CO
    Posts
    12

    Default

    Quote Originally Posted by tbird View Post
    Hi Peter-

    I'm terribly sorry for just now replying to this. I thought I had set up my profile/account for this forum to notify me via email if anyone posts replies/comments to this thread; clearly, I was mistaken.

    I would be glad to provide a patch or post the changes here, whichever you prefer. Or, I could just do both.


    Thanks,

    Thomas
    Attached is a patch for the changes I made to the source for the Roo flex add-on. You'll probably want to change the properties/roo.version value in the pom (not included in the patch), so as to not cause a problem with the Maven dependencies. For example, I changed mine to '1.1.1.RELEASE' just for testing/debugging. In addition, (and this is somewhat stating the obvious) you'll want to make sure and build against the 1.1.1 Roo project source. Let me know if you have questions.

    Thanks,

    Thomas

    FlexAddon_Roo1.1.1.txt.zip
    Last edited by tbird; Feb 18th, 2011 at 09:20 AM. Reason: Changed quoted salutation.

  10. #20
    Join Date
    Nov 2010
    Location
    Santo Domingo, Albay Philippines
    Posts
    158

    Question Bottom line

    So Flex Addon for Spring Roo is compatible with what version of STS?

    I just downloaded STS 2.5.2 with Roo 1.1.1 Is there or is there not a Flex Addon that is compatible?

    If not, then what version of STS and Roo do I need to be compatible with the lated Flex Addon?

Posting Permissions

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