Skip to content

Alway Download sources and javadoc when I open sts. #692

Closed

Description

@drc5521

Describe the bug
A clear and concise description of what the bug is.
Alway Download sources and javadoc when I open sts.Can not closed it
To Reproduce
Steps to reproduce the behavior.
Please watch the video.If you can’t watch it online, please download it and watch it.
Sample

20211010100344.mp4

A link to a GitHub repository with a minimal, reproducible sample.

Reports that include a sample will take priority over reports that do not.
At times, we may require a sample, so it is good to try and include a sample up front.

Activity

  1. martinlippert commented on Oct 11, 2021

    @martinlippert
    Member

    Hey @drc5521 it would be good if you could link to a sample project or set of projects that we could use to reproduce the issue. It looks like there is something special in the setup that causes an endless loop here and a sample project that reproduces this would be of great help here.

    In addition to that (and maybe as a workaround for you) you could disable the automatic download of sources via Maven in the Preferences -> Maven and disable the Download Artifact Sources.

  2. mweirauch commented on Oct 11, 2021

    @mweirauch

    I can confirm that I also observed this when some Spring Boot 2 projects were open in the workspace. (Which usually are always open.) Closing them helped. Reopening (IIRC) brought up the issue again. I also disabled downloading Sources and JavaDoc in the Maven preferences, bu this did not help at all and was not respected. Only restarting Eclipse/STS did. I will try to report back if I do observe it again. Not doing much coding ATM.

  3. drc5521 commented on Oct 12, 2021

    @drc5521
    Author

    Hey @drc5521 it would be good if you could link to a sample project or set of projects that we could use to reproduce the issue. It looks like there is something special in the setup that causes an endless loop here and a sample project that reproduces this would be of great help here.

    In addition to that (and maybe as a workaround for you) you could disable the automatic download of sources via Maven in the Preferences -> Maven and disable the Download Artifact Sources.

    These are some simple cases. You can test.https://github.com/dromara/Sa-Token/tree/dev/sa-token-demo. I disabled Download Artifact Sources but to no avail.

  4. tzkeat commented on Oct 15, 2021

    @tzkeat

    This issue appears to be the same as these issues(m2e 332 252).
    I had the same issue, but after installing m2e 1.18.2 on STS 4.12, the issue was solved.

  5. added this to the 4.12.1.RELEASE milestone on Oct 15, 2021
  6. martinlippert commented on Oct 15, 2021

    @martinlippert
    Member

    Thanks a lot @tzkeat for pointing us here at those bug reports at m2e. I am going ahead and close this issue as duplicate of eclipse-m2e/m2e-core#252. As soon as a new m2e version gets released, we will have that in the STS4 distribution asap.

  7. drc5521 commented on Oct 17, 2021

    @drc5521
    Author

    This issue appears to be the same as these issues(m2e 332 252). I had the same issue, but after installing m2e 1.18.2 on STS 4.12, the issue was solved.

    According to the solution you provided, the problem has been resolved, thank you very much, friend.

  8. martinlippert commented on Oct 19, 2021

    @martinlippert
    Member

    The latest CI builds for Eclipse 2021-09 and Eclipse 2021-12 (milestones) now include the fixed m2e version: https://dist.springsource.com/snapshot/STS4/nightly-distributions.html

  9. tzkeat commented on Oct 29, 2021

    @tzkeat

    I have confirmed that the issue has been fixed in STS 4.12.1.
    It helped me a lot because some people around me had the same problem. Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: eclipsestatus: duplicatetype: bug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions