Questions tagged [spring-boot-maven-plugin]

Use this tag for questions related to Spring Boot Maven Plugin that allows to package executable jar or war archives and run an application “in-place”.

Maven plugin provided by the Spring Boot framework that allows you to package executable jar or war archives and run an application “in-place”.

525 questions
2
votes
1 answer

spring-boot-maven-plugin spring-boot.run.main-class is ignored (Groovy)

I have a spring-boot application with 2 main class as follows. package org.arunm.springwebfluxrestservice.client import org.springframework.boot.autoconfigure.SpringBootApplication import…
ArunM
  • 2,274
  • 3
  • 25
  • 47
2
votes
1 answer

jwt dependency not found in Springboot 2.2.6

I'am trying to add jwt in pom.xml but jwt dependency is not available. Is there anyone who has the same experience? I'm going to use Jwtbuilder for security settings. Springboot is 2.2.6 and I'am using…
user13104402
  • 21
  • 1
  • 2
2
votes
0 answers

Maven dependency conflict: Swagger2 version 2.9.2 and Hateoas (with Spring :- spring-boot-starter-parent version 2.2.6.RELEASE)

I am trying to set a Spring Boot applications with Swagger2 and hateoas dependency in the pom.xml file of a spring project but I am getting the below error while starting the application. ** Error Stack 2020-05-03 18:29:55.906 DEBUG 13184 --- [ …
Pratap Alok Raj
  • 1,098
  • 10
  • 19
2
votes
1 answer

Spring boot starters creation options

I see Spring boot project has organized starters in a certain way, i.e. starters modules only have pom dependencies in them and autoconfiguration is a separate project where all pom dependencies of all starters have been added as optional…
Sagar
  • 5,315
  • 6
  • 37
  • 66
2
votes
1 answer

Intellij azure-webapp plugin: Encoutering error when deploying to azure: 'No available subscription found in current account.'

I have a valid Azure free trial subscription and I want to deploy a local spring boot app to azure. I have configured the azure-webapp-maven-plugin in my pom.xml. I am using Intellij. When i execute mvn azure-webapp:deploy, i get the following…
2
votes
2 answers

infrred type 'S' for type parameter 'S' is not within its bound ; should extend 'java.lang.Integer'

i have tried this problems to solve more than couple of hours but i could not, i basically trying to do crud operation but when i used save method for location for service implementation its show the error" inferred type 'S' for type parameter…
rohit tamang
  • 81
  • 2
  • 3
  • 10
2
votes
1 answer

property read from application.properties returning null

I am new to springboot and i am trying to read the property value from the application.properties file in the location(src/main/resources). But it always return null. I need help for the same. Attaching the classes and property files. Please note: I…
Shanu
  • 81
  • 1
  • 1
  • 2
2
votes
2 answers

How to delete .original file after Spring boot maven build

After built, we are getting two jars. One myjar.jar with all dependencies and another one myJar.jar.original without dependencies. How to delete the myJar.jar.original file ? myJar
2
votes
1 answer

spring-boot-maven-plugin not filtering

This is my pom.xml in a simple project:
dgolive
  • 425
  • 3
  • 8
2
votes
1 answer

Error:(3, 32) java: package org.springframework.boot does not exist

The Maven has automatically injected the external libraries. When I create a new project by SpringBoot, it can successfully work, but it failed when I use Maven. Error:(3, 32) java: package org.springframework.boot does not exist package…
Melody W.
  • 31
  • 3
2
votes
3 answers

Azure webapp HTTP Status 404 – Not Found

I have deployed my simple webapp on Springboot Rest and deployed it on azure cloud successfully just like my other webapps. But I am getting HTTP Status 404 – Not Found when I hit the azure URL of my webapp. The status of webapp on azure is…
2
votes
1 answer

How can I run child module plugin goal when I build the main project?

how can I run child module plugin goal when I build the main project I want to run spring-boot plugin after build the project, but the spring-boot plugin only added in the submodule, is there any solution? thanks always! main-project pom.xml …
taotao
  • 33
  • 7
2
votes
1 answer

SpringBoot does not find error templates in production although it finds it in Netbeans

During develepment (under Netbeans), if e.g. an internal server error appears in my java SpringBoot(2.1.3) project with jetty, I get the error page named 500.html that is located in the src/main/resources/templates/error/500.html : Yet when…
HelloWorld
  • 2,275
  • 18
  • 29
2
votes
1 answer

Spring boot maven plugin: include test resources

I have the following directory structure: src | |___ main | |___ test | |___resources I want to include all the files from test resources in the classpath when running the start goal (spring-boot:start, different than spring-boot:run)…
2
votes
1 answer

ClientHttpRequestInterceptor not called in springboot

I am trying to add logging to my application using ClientHttpRequestInterceptor.My interceptor is not being called. Not sure what is going wrong here - Here is my code - @Component @Slf4j public final class RestTemplateInterceptor…
user327126
  • 965
  • 3
  • 11
  • 22