STS unable to create spring stater project - spring-tools-4

Hai I just installed the Spring Tool Suite version 4.8.1 and even configured JDK 11 im unable to create a spring stater project since im getting a popup could not download javadocs and sources

Related

Deploy Spring Boot project to WebSphere 8.5.5

I'm trying to deploy my spring boot project (made by spring initializr) with maven (but same issue with gradle) on WebSphere Application Server 8.5.5 but it seems impossible to me.
Every-time I try to add to server from "Add and Remove" it says "There are no resources that can be added or removed from the server".
So I tried changing Dynamic Web Module on Project properties --> project facets but nothing changed.
Is it possible to deploy on WAS 8.5.5?
I found a similar reported issue here: Cannot 'Add and Remove' Maven Project with Websphere 7 on RAD 8.5.
I completely removed my project from RAD. I then extracted zip file from Spring Initializr to create a Maven project. I used "mvnw eclipse:eclipse" command and it successfully created build. I imported that as a general project to RAD.
I then clicked on project. Clicked on properties. Clicked on project facets. None were available, but it prompted me to create them and I did. From there, I selected Dynamic Web Module facet (and also JAX-RS, but I'm not sure if you'll care about that one). I clicked apply and close.
After this, I was able to add and remove resource to Websphere server. I don't know if this is preferred steps or not. I am learning, just as you are. But, it appeared to work.
I specified Java 8 Jar in Spring Initializr for packaging. Maven version is 3.8.4. Spring Boot 2.6.5 (it was pre-selected for me). I am using RAD 9.7 and Websphere server that is stood up in IDE is version 8.5.5.
To deploy spring boot to WebSphere 9 you would want to choose War packaging and Java 8. The zip file from the spring initializr includes a Help.md file with links to helpful documentation. After you extract the zip file, use File -> Import existing maven project into a new workspace.

Can I be able to run my Spring roo project developed in STS with Roo version 1.3.1 in the latest version of Roo

We have developed a Spring roo project in STS with roo 1.3.1. I have now updated my STS to the latest version and installed roo 2.0.0 in it. When I try to import the existing roo project does not build successfully.
Can some one please tell me whether there is any compatibility issues with different versions of roo?
It was complaining about 2 dependency jars. So I added the below code.
<!-- https://mvnrepository.com/artifact/org.springframework.roo.wrapping/org.springframework.roo.wrapping.inflector -->
<dependency>
<groupId>org.springframework.roo.wrapping</groupId>
<artifactId>org.springframework.roo.wrapping.inflector</artifactId>
<version>0.7.0.010</version>
</dependency>
the above dependency was not needed for older roo version.
Eventhough I added the above code it is not working as expected.
Sorry, there is no way to do that. Spring Roo 2.0 has changed all its architecture and there is no way to migrate a project from 1.3 to 2.0.
By example:
Generated project in 2.0 is build on top Spring Boot
Data access layer has been changed from Active Record pattern to Repository (using Spring Data)
Default UI layer in 2.0 is based on Thymeleaft instead of JSP and tagx
There is no support in 2.0 for Reverse Engineering feature
To see the differences just try to generated the clinic.roo script in both versions and compare the projects.

how to write a code for database connection from eclipse using spring. This should be a simple spring maven project without using spring boot

I am new to spring. I am not able to figure out how to write a spring project for creating DB connection using maven , without using spring -boot or hibernate. it is supposed to be a simple spring maven project.
can you help me with few sample codes.
Install the Spring tools suite plugin for eclipse from the following link.
With spring tools suite, access the spring dashboard
Select the Import Reference App, this will provide several example applications from the Spring guides, choose the example and the example will be installed onto your eclipse workspace. These examples are well documented , with clear instructions on how to run the project. Hopefully this should help you get started with learning Spring framework.

Failure in creation of a new Spring Starter Project using STS 3.7.2 (SocketTimeoutException)

I'm trying to start a new spring starter project using spring tool suite (STS) 3.7.2 but It fails and shows a SocketTimeOutException .. I've read this link SocketTimeoutException while opening New Spring Starter Project wizard on STS running with Java 7 , but I'm already using JDK 8 update 45 .. any suggestions please?

STS 3.6.2 - SQL Server Driver/Maven

I'm trying to include the SQL Server Driver in a Spring MVC project.
I'm using STS 3.6.2 which has a embedded version of Maven
How can I accomplish this? I tried to include the driver via Add External Jar but it didn't work. And I read that since I'm using an embedded version I can't use the console

Resources