Announcement Announcement Module
No announcement yet.
springframework.integration.samples won't start in Springsource Tool Suite Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • springframework.integration.samples won't start in Springsource Tool Suite

    Hi, as a newbie I've some problems to kickstart the springframework.integration.samples. I've loaded them from

    In Springsource Tool Suite I've have now one project with the branches
    • basic
    • intermediate
    • advanced
    • applications
    with the underlying sample applications.

    In each of the underlying sample branches I get a main.class with
    public static void main(final String... args)

    Problem is:
    When I try to start any of these main-classes, to test and kickstart one of those samples I got messages like:

    Selection does not contain a main type
    Editor does not contain a main type

    How can I start these diffrent small programs?
    (I don't want to break down each sample into a diffrent project. I'm sure there must be a way to start diffrent main-classes out of a bundled project). Maybe this problem is to simple for many cracks to loose much words about it. Anyway I didn't find any help with google or in
    Appendix A. Spring Integration Samples

    Thanks for the help


  • #2
    We may need to update the documentation but each sample is an individual project designed to be tried in isolation. You can read more about the motivation here which is the original blog post after we move samples from the main distribution.
    Basically all you ned to do is import each project as Maven project (e.g basic/helloworld woudl be the root for the 'helloworld' project)