Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: sts-3.1.0.RELEASE: simple spring integration template URL? can't create a simple si.

  1. #1
    Join Date
    Aug 2011
    Posts
    11

    Default sts-3.1.0.RELEASE: simple spring integration template URL? can't create a simple si.

    Hi & Thanks,

    1. is the url correct for creating a simple spring integration template

    URL:https://raw.github.com/SpringSource/...e-1.0.0.M4.zip

    2. When using/creating a simple spring integration template, nothing is generated except the project name.

  2. #2
    Join Date
    Aug 2011
    Posts
    11

    Default

    Any help?

    Below is what I see:

    0.
    Spring>Template Projects

    spring-integration:
    url: https://raw.github.com/SpringSource/...descriptor.xml

    1.
    When I try to create a simple Spring Integration project, I see

    Creates a Spring Integration project that runs as a standalone Java application using core components only.
    URL:https://raw.github.com/SpringSource/...e-1.0.0.M4.zip


    2. Then nothing happen, only the project name is generated.

    Am I missing anything in terms of configuration and/or missing something....

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    Sorry for the long delay (due to sickness)...

    The general template mechanism is working for STS 3.1.0.RELEASE (I just tried it out myself to create a Spring Integration project from one "Simple" template that you mentioned and it worked). So there must be some configuration issue.

    Do you use the STS distribution or did you install STS into an existing Eclipse installation? If you use it with an existing Eclipse installation, you need to take care to also install the latest Maven Integration for Eclipse (since most of the template projects are Maven projects). Another source of trouble might be the underlying Eclipse version. Do you use STS for Eclipse 4.2? If so, I strongly recommend to use STS for Eclipse 3.8 (also available from our download pages).

    And do you see anything related in the Error Log view? Maybe there is a stack trace that indicates what exactly is going wrong...

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #4
    Join Date
    Aug 2011
    Posts
    11

    Default

    0. Thanks Martin.
    1. I used STS distribution sts-3.1.0.RELEASE. No eclipse involved.
    2. If it helps:
    Error log tab:
    java.lang.ArrayIndexOutOfBoundsException: 0
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.TemplateProjectCreator$1.ex ecute(TemplateProjectCreator.java:97)
    at org.eclipse.ui.actions.WorkspaceModifyOperation$1. run(WorkspaceModifyOperation.java:106)
    at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:2344)
    at org.eclipse.ui.actions.WorkspaceModifyOperation.ru n(WorkspaceModifyOperation.java:118)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.TemplateProjectCreator.crea teProject(TemplateProjectCreator.java:130)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.DirectoryProcessor.process( DirectoryProcessor.java:56)
    at org.springframework.ide.eclipse.wizard.template.in frastructure.processor.Processor.process(Processor .java:44)
    at org.springframework.ide.eclipse.wizard.template.Te mplateWizard$1.run(TemplateWizard.java:114)
    at org.eclipse.jface.operation.ModalContext$ModalCont extThread.run(ModalContext.java:121)


    eclipse.buildId=3.1.0.201210061308-RELEASE-e38
    java.version=1.7.0
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Framework arguments: -product org.springsource.sts.ide
    Command-line arguments: -os win32 -ws win32 -arch x86 -product org.springsource.sts.ide

  5. #5

    Default

    Are you maybe behind a proxy that could be preventing the content from downloading? If so you might need to configure your proxy settings under Preferences -> General -> Network Settings.
    Leo Dos Santos
    Committer, SpringSource Tool Suite

  6. #6
    Join Date
    Aug 2011
    Posts
    11

    Default

    1. I can create a simple Spring MVC template or a simple Batch
    2. Is there any thing that has to do with GIT?

  7. #7
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    The mvc and batch template projects are not related to GIT, they end up being "normal" projects in your workspace.

    HTH,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  8. #8
    Join Date
    Aug 2011
    Posts
    11

    Default

    1. If there is any misunderstanding: what I meant is that there is no issue with proxy related since I can create Spring MVC template or a simple Batch. But why I can't create a simple integration project?

    (2. BTW: Germany for 2014 World Cup.)

  9. #9
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,650

    Default

    Hey!

    Ok, so if you have used the MVC and Batch template projects without any problems and you are now seeing the exception mentioned above when using the Spring Integration template, I guess there went something wrong when you first downloaded and tried to use that template and now the cached data in your workspace is broken.

    Can you try a new and empty workspace to see if that fixes the problem?

    (In general, the integration templates are not that different from the mvc or batch templates, excepts that they are coming from a different hosting location.)

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  10. #10
    Join Date
    Oct 2004
    Location
    Sydney, Australia
    Posts
    46

    Default

    Hi Martin,

    I have come across this error also. On a clean install of STS 3.2.0, the "Spring Integration Project (Standalone) - Simple" project template results in the ArrayIndexOutOfBoundsException in the message earlier in this thread. Interestingly, this only occurs on my Windows 7 machine; on my Mac it works fine.

    Regards,
    Geoff

Posting Permissions

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