Questions tagged [spring-initializr]

Spring Initializr provides an extensible API to generate JVM-based projects. An instance is available at https://start.spring.io

Spring Initializr provides an extensible API to generate JVM-based projects with implementations for several common concepts:

  • Basic language generation for Java, Kotlin and Groovy.
  • Build system abstraction with implementations for Apache Maven and Gradle.
  • .gitignore support.
  • Several hook-points for custom resources generations.

A concrete instance that uses the library can be found at https://start.spring.io.

60 questions
1
vote
1 answer

SpringBoot Maven project is not creating tables in database

I've created a new project with Spring Initializr and I configured connection with SSMS…
Olaru Alina
  • 458
  • 4
  • 8
1
vote
1 answer

Spring Initializr .gitignore intent (or making sense of the intent)

I'm creating a new Spring Boot app. I'm more than moderately familiar with .gitignore patterns, but I see something deliberately templated that has the smell of "intent" on it. The below is produced by the Spring Initializr in many…
javafueled
  • 494
  • 1
  • 5
  • 23
1
vote
2 answers

AspectJ dependency missing in spring boot 2.1.1

I was trying to create a new Spring Boot project using start.spring.io. Searching for dependencies, I found that there was no AspectJ starter available. Has this dependency removed/deprecated from Spring Boot starters? Here is a screen shot: I,…
Prashant
  • 4,775
  • 3
  • 28
  • 47
1
vote
0 answers

Spring Initializr creating invalid project

I am trying to create a Spring Boot app via Spring Initializr with the following settings Kotlin Gradle Dependencies - Web The project that it downloads has a few issues when imported in to IntelliJ When trying to build it has the…
Pagrate
  • 141
  • 2
  • 10
1
vote
2 answers

Spring Initializr Custom Instance

I would like to fork the Spring Initializr from GitHub and add my own nexus repo and common dependencies we use. Forking and modifying the code is no issue. I do have a few questions: 1. How can I tell the Spring Boot CLI to use my custom…
dmfrey
  • 1,230
  • 1
  • 17
  • 33
0
votes
0 answers

Main method not found despite having the main() function

I am currently learning Spring Boot and installed the extensions in VS Code. I used Spring Initializr and created Gradle Spring Boot project with Spring Web dependency. I tried to run it but it says: Error: Main method not found in the file, please…
0
votes
1 answer

Hello World Spring MVC Web App Developed Using Spring Initializr

I developed a simple Hello World Spring MVC Web Application using Spring Boot (Spring Initializr - start.spring.io). I chose the following options at Spring Initializr: Project: Maven Language: Java Spring Boot: 3.1.2 Dependencies: Spring…
Amar
  • 3
  • 3
0
votes
0 answers

Failed to configure a DataSource: no embedded datasource could be configured. SpringBoot parent 3.1.2

I got this problem when debugging. 2023-07-24T11:39:01.002+07:00 INFO 18324 --- [ main] i.securecapita.SecurecapitaApplication : Starting SecurecapitaApplication using Java 17.0.7 with PID 18324…
0
votes
0 answers

Downloaded spring project contains an error

I downloaded a spring project from start.spring.io with following characteristics: Maven, Java, 2.7.13, Jar, version 8. Dependencies postgresql, and postgresql. Here is my pom.xml file:
0
votes
1 answer

used spring initializr in intellij and I cannot run the demo application

So I used these settings to generate my spring file enter image description here Then I extracted that zip file and went into intellij and opened the new project. The issue now is the src folder seems open although it shouldn't and if I navigate…
egzoow
  • 1
  • 2
0
votes
0 answers

Need to resolve startup errors after removing database dependencies from SpringBoot application

I recently created a new SpringBoot (version 3.0.6) project (via Initializr) and initially included some database-related dependencies. Now that I've gotten all of the fundamental functionality implemented, I realized that I don't actually need the…
WishIWasJeeping
  • 173
  • 2
  • 11
0
votes
0 answers

spring tool suite: class file has wrong version 61.0, should be 52.0

I generated a project with spring initializer with java version 17. Later I downgraded my jdk from version 17 to 8. I changed the environment variable to point to jdk 1.8. Both "mvn -v" and "java --version" command show that I have Java version:…
kaka
  • 597
  • 3
  • 5
  • 16
0
votes
0 answers

class path resource [org/springframework/bott/web/support/SpringBootServletInitializer.class] cannot be opened because it does not exis

I am working on updating springboot from 1.5.4 to 2.7.2. When I updated my gradle version to 7.1.1 I am recieving the error: java.io.FileNotFoundException: class path resource [org/springframework/bott/web/support/SpringBootServletInitializer.class]…
K7FLINT
  • 3
  • 2
0
votes
1 answer

import org.springframework cannot be resolved on imported Spring Initializr project in Eclipse

This should be working out of the box. Why doesn't it? It seems like I can't import a Spring Boot Gradle project into Eclipse. It doesn't recognize any of the dependencies. This should be easy. Why is this not working? Here is the configuration of…
DaveCat
  • 773
  • 1
  • 10
  • 28
0
votes
1 answer

In spring boot under resources the static and template is not created?

Under resources why the static and template folder is not created automatically? src/main/resources Is there any problem if i create the static and the template folder by my own.