The Flex, Spring and BlazeDS full stack on Adobe Developer Connection

The last part of the reedition of my article series about Flex and Spring has been published on the Adobe Developer Connection. This episode is the last one in this improved series so if you haven’t read it yet on my blog, I think the version I gave to ADC is better.

Episode 1
Episode 2
Episode 3


27 responses to “The Flex, Spring and BlazeDS full stack on Adobe Developer Connection”

  1. What did you do for spring security? There is still no good article out their about integrating flex + spring + blazeds + spring security

  2. Having strange error when building client. I have been following your posts and mine is slightly different because I am using LCDS. Anyhow when I try to do a “mvn install” on the client (i.e. todo-ria in your example) I get an error:

    “Could not resolve to a component implementation”

    So I realize I need to add “fds.swc” as a dependency in my POM so i add:


    Now when I run “mvn install” I get:

    Unable to resolve resource bundle “data” for locale “en_US”

    Any ideas?

  3. Hello Seabstien, great tutorials!! I only have one question to do, when im on step 3, i download the sample file, and when i try the mvn install im getting this error:

    1 required artifact is missing.

    for artifact:

    from the specified remote repositories:
    central (,
    flex-mojos-repository (
    epseelon-repository (

    How can i (or you :] ) fix this?

    Thanks, you finally disipated a big black cloud i had on my mind about how to use blazeDS 🙂

  4. Are you sure you’re running mvn install from the root directory of the project? Because todolist-common is one of the three components of the project and the other two depend on this one. So if you run mvn install under todolist-ria for example, and you have never run it under todolist or todolist-common, then todolist common has never been deployed to your local repository, which yields the message you get.

  5. HI, me again… just to let you know, if i download the sample files from your site instead from the ones @ adobe’s version of the tutorial, the sample compiles successfully! (Specifically the sample file on part 3)

    What may be different?

    Thanks for all the info. 🙂

  6. Thanks Sebastian, I actually followed your articles but customizing it to my own multi-module project and I can say it works like a charm.I used 1.0 version of flex-mojo though and one thing to note is flex-mojo SVN is under a new place: Thanks a lot.

  7. Hi Sébastien,

    I’ve downloaded the from the 3 part (from adobe site) and it doesn’t build. Here is the stack trace:

    [INFO] ————————————————————————
    [INFO] Failed to resolve artifact.

    1) org.epseelon.samples:todolist-common:jar:1.0-SNAPSHOT

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.epseelon.samples -DartifactId=todolist-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.epseelon.samples -DartifactId=todolist-common -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) org.epseelon.samples:todolist-web:war:1.0-SNAPSHOT
    2) org.epseelon.samples:todolist-common:jar:1.0-SNAPSHOT

    1 required artifact is missing.

    Looks like the module todolist-common was missed and I can’t see it inside the archive.


  8. Kirill, hello.

    I had the very same issue, and what i did was to download the sample files on the tutorials here on Sebastien’s website instead of the ones in adobe’s website.

    Take a shot and see if that worked for you 🙂



  9. Hi Sebastein,

    Good work, all works like u said. We need the actionscript generator that creates action script classes from java pojos, can u help us out. Also any work done towards, creating tests.


  10. Hi Sebastien
    Do you have a plan to add an episode 4 to the serie where you show how to use Streaming over BlazeDS ?
    Or do you know where there is a good example for that ?
    Thank you!

  11. OK, obviously there are 2 problems in my article on Adobe Developer Connection and I finally found the time to look into it:

    First of all, there was a big error in one of the POMs in In todolist-web/pom.xml, if the first dependency looks like this:


    Then replace it with this:


    And it should work fine.

    The second error is in the article itself: of course, all of the namespace declarations should be xmlns:mx=”” instead of xmlns:mx=”/2006/mxml” .

    I’ll try to reach ADC editor so that they can fix those mistakes. Thanks for the feedback.

  12. Hi,

    Am facing the below exception while am building folder under todolist-ria.Please help me out

    [INFO] Trace
    java.lang.NullPointerException: id can not be null
    at org.apache.maven.wagon.repository.Repository.(
    at org.apache.maven.artifact.repository.DefaultArtifactRepository.(
    at org.apache.maven.artifact.repository.DefaultArtifactRepositoryFactory.createDeploymentArtifactRepository(
    at org.apache.maven.project.ProjectUtils.buildDeploymentArtifactRepository(
    at org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(
    at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
    at org.apache.maven.plugin.DefaultPluginManager.checkRequiredMavenVersion(
    at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(
    at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(
    at org.apache.maven.plugin.DefaultPluginManager.loadPluginFully(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.loadPluginFully(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findArtifactTypeHandlersInPlugins(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(
    at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
    at org.apache.maven.DefaultMaven.doExecute(
    at org.apache.maven.DefaultMaven.execute(
    at org.apache.maven.cli.MavenCli.main(
    at org.apache.maven.cli.compat.CompatibleMain.main(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.codehaus.classworlds.Launcher.launchEnhanced(
    at org.codehaus.classworlds.Launcher.launch(
    at org.codehaus.classworlds.Launcher.mainWithExitCode(
    at org.codehaus.classworlds.Launcher.main(
    [INFO] –

    Description Resource Path Location Type
    The project was not built due to “Resource already exists on disk: ‘/todolist-web/target/classes/org/epseelon/samples/todolist/domain/hibernate/hbm/TodoItem.hbm.xml’.”. Fix the problem, then try refreshing this project and building it since it may be inconsistent todolist-web Unknown Java Problem


Leave a Reply