Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: STS just hangs on Updating Maven Dependencies

  1. #1

    Default STS just hangs on Updating Maven Dependencies

    STS 2.6.1 and STS 2.70 just hang when I open up a Workspace with Maven projects in it. Also if I start a clean workspace and do a Spring Roo project again it just hangs on updating the dependencies for Maven.

    I'm using Win7 64 Bit with Java 1.6

    Anyone else having this issue?

  2. #2

    Default I'm hung up too!

    Using STS 2.6.1 and JDK 1.6 as well. I tried 'Cancel', reboot, etc. and I'm stuck too. Any resolution?

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

    Default

    Hi!

    Could you both try to capture some thread dumps from your running STS while it hangs and attach them here? That would help me a lot to find the cause of the problem.
    Run jps to get a list of all java processes running on your system. And then jstack on the specific process to print the stack.

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

  4. #4
    Join Date
    Feb 2011
    Posts
    2

    Default Same thing

    I checked out a maven project that uses an older version of roo - Roo 1.1.1.RELEASE. STS is stuck on "Updating maven dependencies". I use STS 2.6.1 Release. I tried closing the project but the project doesn't close unless I do a force quit on STS.

  5. #5

    Default

    Quote Originally Posted by dpaily View Post
    I checked out a maven project that uses an older version of roo - Roo 1.1.1.RELEASE. STS is stuck on "Updating maven dependencies". I use STS 2.6.1 Release. I tried closing the project but the project doesn't close unless I do a force quit on STS.

    Mine does the exact same thing when I try to close it. It just hangs and I have to kill the process manually.

  6. #6
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Would be great if you could capture a thread dump while STS is hanging and attach that here.
    Thanks!!!

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

  7. #7

    Default

    I couldn't cut and paste the whole stack on here so I put it up on Pastebin

    http://pastebin.com/GFNrV3QC

  8. #8

    Default

    I don't have the same issue running on Win7 + JDK (32bit) version only on Win7 + JDK (64 bit version)

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

    Default

    I looked at the thread dumps and see a lot of AsyncHttp stuff going on (or better said, waiting some something), which clearly seems like a m2e issue. I just wonder why you are not seeing this when running on the 32bit JVM on Windows...

    I will try to see what is going on and created this JIRA issue to track this:
    https://issuetracker.springsource.com/browse/STS-1779

    Are the other people reporting this also observe this different behavior between 64bit an 32bit Windows JVMs?

    Thanks for the thread dump!
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  10. #10
    Join Date
    Jun 2011
    Posts
    4

    Default

    I'm using STS 2.6.1 SR1 on Ubuntu 11.04 and I have a same problem. My eclipse is behind proxy and I set the proxy server on ~/.m2/settings.xml but eclipse always hang and I cound't run any sample project which is made by STS Roo.

Posting Permissions

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