Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
drc5521 opened this issue Oct 10, 2021 · 8 comments
Closed

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

drc5521 opened this issue Oct 10, 2021 · 8 comments
Labels
for: eclipse something that is specific for Eclipse status: duplicate type: bug

Comments

@drc5521
Copy link

drc5521 commented Oct 10, 2021

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.

@martinlippert
Copy link
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.

@mweirauch
Copy link

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.

@drc5521
Copy link
Author

drc5521 commented Oct 12, 2021

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.

@tzkeat
Copy link

tzkeat commented Oct 15, 2021

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.

@martinlippert
Copy link
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.

@drc5521
Copy link
Author

drc5521 commented Oct 17, 2021

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.

@martinlippert
Copy link
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

@tzkeat
Copy link

tzkeat commented Oct 29, 2021

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
Labels
for: eclipse something that is specific for Eclipse status: duplicate type: bug
Projects
None yet
Development

No branches or pull requests

4 participants