-
Notifications
You must be signed in to change notification settings - Fork 468
Failed to load eclipse jdt formatter #1783
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
Comments
Same issue here its now blocking our builds using spotless 2.40.0 |
The other option is this needs to respect our internal corporate proxy settings when going to the Internet. |
I'm facing the same issue with some utility that uses spotless. |
Okay nevermind |
@nedtwigg This issue was closed as completed, but I still cannot get the eclipse formatter working in spotless. It is failing when trying to contact download.eclipse.org, which is not accessible from my development environment. I am using the latest version of the spotless gradle plugin (6.23.3). Perhaps this was only fixed for the maven plugin and not the gradle plugin? Is there a way to configure spotless (gradle) to use a maven repository to download the eclipse jars? |
I'm using the maven plugin 2.43 and now I face the same effect when running in gitlab. |
Same problem here with |
We are also affected. We use the maven plugin. |
Here is the stack trace:
|
Since
Is there a way to fix that problem? |
You want to follow #1996 |
As noted in README, you can also solve this problem by setting up a mirror repository in proxy. If you have not tried this yet, I suggest you do so before watching #1996. build.gradle: spotless {
java {
eclipse("{{VERSION}}")
.withP2Mirrors(["https://download.eclipse.org/eclipse/updates/{{VERSION}}/":"{{MIRROR_URL}}"])
.configFile("path/to/eclipse-formatter.xml")
}
}
If you are creating a mirror in the Nexus Repository, set “Type” to |
Hi Team,
In our company, we don't have open access to internet. We can use Maven Central Repository (tbh. our Artifactory acts as proxy for Maven Central), but that's all.
For some reasno, when trying to use eclipse formatter for Java in maven, we are getting error:
Is there any chance that we can use Eclipse formatter which will be loaded from Maven Central?
The text was updated successfully, but these errors were encountered: