SocketTimeoutException: New Spring Starter Project - spring

I have just started with Spring development, but i faced with an error when i tried to create a New Spring Starter Project; this error is about a time out connection, i am under a proxy so i established it in the STS but it did not work. I have tried to create this kind of project in STS and eclipse setting the same proxy configuration.
Any one of you know another solution?
Thank you.

The thing which solved my problem was the next.
I only removed the "s" from "https", I could sound stupid and weird but I worked.
https://start.spring.io <<<<----- It works for me.

Related

Exception while creating new spring boot project in STS

I have downloaded STS 3.9.0 and Java 8 is installed on my machine.When I open STS and try to create new "spring starter project I get following error".
after researching I found that we can resolve this by changing url to "https://start.spring.io" this,but after doing that I get following error.
This looks like connection or proxy issue.
Please check your connection or firewall settings which is used by STS.
And as a second option, you can use https://start.spring.io/ for generating project and can import in your IDE.

Unable to create a spring starter project in STS

I am trying to create a spring starter project in STS. I am selecting the gradle distribution and the Spring web dependency. When I click on finish I am getting the following error message. Error message
Don't forget to configure your proxy in your IDE.
Please look at this tutorial
Looks like a connection issue from your end caused due probably due to unstable network. In any case you can always add dependencies and download the project from https://start.spring.io

Why cannot new Spring Boot Starter Project with in STS by “http(s)://start.spring.io” (error: Time out )?

Please forgive me if I missed any common sense. I am new to Spring Boot & Maven, using Spring Tool Suite (version 3.9.3).RELEASE with Maven (3.2.5) and Java (version 1.8.0_201) for work. I use company proxy and network as well.
I tried to new a Spring Maven project using New Spring Starter Project. I tried to use urls http://start.spring.io and https://start.spring.io, but both failed with error "SocketTimeoutException: connect timed out" and No content available.
Who can tell me what's the reason and how to solve? I noticed potential answers include "proxy issue", network connection issue, company firewall issue. But after I configured proxy with company proxy in settings.xml, the error is still there.
BTW, for who are looking for substitute solutions, I made it by choosing "New Spring Legacy Project" using "Simple Spring Maven".
You may also try Spring Initializr.
But Spring Initializr does not work for me neither.
You need to configure your network settings of STS.
You can do that by navigation to Window -> Preferences -> General -> Network Connections
and choose 'Active Provider' according to your use case - native worked for me.

Error using embedded forms with Camunda Spring Boot

I have my process(bpm file) defined as part of the Camunda Spring Boot project. I have a form attached to a Start Event. When I start my process I get "Form failure: Origin is not allowed by Access-Control-Allow-Origin" error.
I have checked Chrome console and found "XMLHttpRequest cannot load app:forms/my-form.html?noCache=1455724524763. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource" error message.
I had packaged the same process outside a Spring Boot project as a normal web app and deployed the war to Camunda Tomcat. It ran without any issue.
The issue happens when I package the same process as part of Camunda Spring Boot project.
Found 2 links describing similar issue but not helping much in terms of resolution.
https://github.com/plexiti/camunda-grails-plugin/issues/47
https://app.camunda.com/jira/browse/CAM-2146
Does Camunda Spring Boot project support embedded form. I have not seen any example of embedded form for Camunda Spring Boot.
I am pretty much stuck. So any help will be much appreciated.
This happens if the Tasklist can not determine the context path of the application. I just experienced that today in a customer training, when I undeployed a war file from a Wildfly.
A workaround could be to use an absolute path in the formKey, e.g. embedded:/mywebapp/forms/my-form.html
We had this problem as well. My coworker left this comment on the github issues of the project that you might find useful: https://github.com/camunda/camunda-bpm-spring-boot-starter/issues/39

how to deploy Spring boot actuate application in external tomcat server

Im trying to just use the basic endpoints that comes with spring actuate and want to deploy in the external tomcat server without using spring boot. How to achieve this, could anyone help me please. Is there any configuration changes that I need to do. This website gives an idea but it uses older version of spring-boot-actuate. Also EndpointHandlerMapping and EndpointHandlerAdapter doesnt come with newer version of spring boot actuate.
Anyways I get 404 resource not found when deploying to the server.
Check out this question to see if it helps you. The Actuator component is a Spring Boot feature but you can use individual components within an existing application with the right build and configuration setups.

Resources