download sources problem
I'm currently having a problem with the download sources feature in IntelliJ IDEA 13.1.5. It's only started happening recently (possibly when I upgraded from .3 or .4). In a non-maven project (Grails) (so no auto sources help). I'm clicking the 'Search in internet...' button to download the sources. Then it performs a download but then says 'Sources not found'. The sources jar definitely exists in the normal public maven repos, but if I look in ~/.ideaLibSources (where IDEA seems to download the sources jars to nowadays) I see the sources file there as it should be, but it doesn't include the correct data and instead has:
<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>nginx/0.8.55</center>
</body>
</html>
so it looks like IDEA is ignoring an apparent redirect from whereever it is trying to fetch the sources from. Can I configure the sources download repo (ideally to our own Artifactory instance) and hence avoid the problem? Is this a known problem?
Thanks,
Tom
Please sign in to leave a comment.
I have the same issue! It started recently. I'm trying different solutions, but nothing so far...
I have the same problem, too. It looks like
https://youtrack.jetbrains.com/issue/IDEA-132699
which is supposed to be fixed in 14.0.3 (not released yet).
EAP builds of 14.0.3 are available.
Thanks, that's great. I'll wait for the official 14.0.3 (when I really need to, I can workaround the issue by replacing the dodgy sources jar with a correct one using wget or curl).
@Roman,
I see this issue not fixed on 14.1.4, or at least consistently reproducible with my project. Please see updates to the issue.
Regards,
Kedar