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
0
votes
1 answer

MappingException: Could not determine type for: org.springframework.boot.configurationprocessor.json.JSONObject

enter image description here Caused by: org.hibernate.MappingException: Could not determine type for: org.springframework.boot.configurationprocessor.json.JSONObject, at table: options, for columns: [org.hibernate.mapping.Column(option)] at…
0
votes
1 answer

Mvn packaging "JAR" not working for spring-boot-starter-batch

pom.xml if I add dependency of "spring-boot-starter-batch" packaging of Jar file not happening. Removing this dependency able to create JAR Tried- mvn package, mvn install org.springframework.boot
Rakesh
  • 658
  • 6
  • 15
0
votes
3 answers

How to integrate a Spring Boot profile with Maven profile?

I am trying to integrate Spring Boot profile with Maven profile but for some reason always the default profile is getting picked up. mvn clean test -Dspring.profiles.active=prod (WORKING) Logs: 2019-07-01 17:02:15.013 INFO 21872 --- [ …
Nital
  • 5,784
  • 26
  • 103
  • 195
0
votes
1 answer

How to enable Httpclient for springboot 2.0.2

I am using for my project the version 2.0.2 release of springboot. I need to use HttpClient class for my project. could you help me please how to enable httpClient for this release? Thanks in advance,
BackToReal
  • 143
  • 1
  • 5
  • 15
0
votes
2 answers

Spring-Boot-Maven-Plugin - Command to Copy Resources into WAR Main Directory

QUESTION In a Spring Boot Java application built with Maven using the spring-boot-maven-plugin with WAR packaging through Eclipse IDE with M2 with the goal as clean package, I would like to know if there is a command which would allow me to copy the…
Miss Kitty
  • 162
  • 1
  • 3
  • 16
0
votes
0 answers

Unable to run Springboot application

I have a springboot application and am trying to run it using Run as Configuration with the goal spring-boot: run But i get the following error Could not find goal '' in plugin org.springframework.boot:spring-boot-maven-plugin:1.5.7.RELEASE among…
Shobana VK
  • 359
  • 2
  • 3
  • 10
0
votes
0 answers

Add external folder to Spring Boot JAR

Currently creating a Spring Boot Project JAR using following plugin org.springframework.boot spring-boot-maven-plugin
user5591691
0
votes
1 answer

Making an executable jar out of spring boot MVC project serving content using JSP and a custom parent set in POM

I had a Spring MVC project that I'm converting to spring boot. This project of mine cannot be given spring-boot-starter-parent as parent because I need to keep a custom parent. I solved this first issue by injecting spring-boot-dependencies in…
balsick
  • 1,099
  • 1
  • 10
  • 23
0
votes
1 answer

SpringBoot & Kotlin executable jar ClassNotFoundException

I have an springboot application with kotlin when I run application on ide there is no problem but when I try to run with java-jar the jar file it throws "main" ClassNotFoundException I also tried main class with Java but didnt work getting same…
0
votes
0 answers

sts tool i used getting error in pom

I tried to create a new spring starter project, in the pom.xml file I'm getting an error with tag I have copied my pom file below. http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.springframework.boot …
0
votes
1 answer

Spring-Boot app is not honoring -Dloader.path

My Spring boot app (v2.1.1.RELEASE) is packaged using below plugin and layout : org.springframework.boot spring-boot-maven-plugin
tom
  • 719
  • 1
  • 11
  • 30
0
votes
0 answers

Getting sign in Browser pop-up instead of navigate to own jsp

Spring-boot login demo. Getting Sign in browser pop up for following code. Instead of pop-up I want to navigate to my own @ComponentScan public class CustomWebSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { @Autowired …
pooja
  • 59
  • 3
  • 15
0
votes
1 answer

spring-boot-maven-plugin not pulling in dependent classes into jar

Im having a problem with the spring-boot-maven-plugin whereby it is not including the dependent classes in the resulting jar file. In the docs, it states that dependencies with scope provided will be included in the jar file, but I cant get it to…
Brady
  • 10,207
  • 2
  • 20
  • 59
0
votes
0 answers

Unable to write into properties file from maven

I have a properties file in resource directory of my project and want to to write some property values by maven command when project build based on profile. Properties file look like this…
user565
  • 871
  • 1
  • 22
  • 47
0
votes
1 answer

Application error when creating simple web service using Spring Boot

I am getting below error when creating a simple web service that returns "hello" string Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. My webservice endpoint: @WebService …
Sami Kh
  • 117
  • 2
  • 14