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

Custom Launcher ClassNotFound exception when using custom layout

Spring Boot Maven Plugin. LayoutFactory new feature. Available since 1.5.0.M1. I am having problems when I define a custom launcher in the Custom Layout: @Override public String getLauncherClassName() { return "com.mycompany.CustomLauncher"; } If…
0
votes
1 answer

How to develop a Maven Multi-module application using the Spring Boot framework

I have a maven multi-module Java project that runs perfectly, until I try to include the Spring Boot framework. The main module, called core, gets called OK, but all the rest are unable to implement the interface I declared in Core.java. This error…
Program-Me-Rev
  • 6,184
  • 18
  • 58
  • 142
0
votes
0 answers

Include specific packages in spring boot application build

Is there a way to include specific packages during a spring boot application build? I have used spring-boot-maven plugin. I understand it's not very customary to have classes in the same project which we don't want in the build, but I want to check…
Divs
  • 1,578
  • 2
  • 24
  • 51
0
votes
1 answer

Command line mvn parameter to stop spring-boot-maven-plugin from executing run

I'm developing a Spring Boot application and as part of the Integration Test phase of my maven project, I have configured the spring-boot maven plugin to start up and shut down during the pre and post integration test parts of the build as follows: …
feicipet
  • 934
  • 2
  • 8
  • 21
0
votes
0 answers

Writing a Spring Boot application using an in-memory H2 Database

I am trying to create a in memory database in spring boot... Still learning about spring boot and databases. How would I create an in memory database for this. I want to create an in memory database with 3 REST endpoints... This is what I've done so…
0
votes
1 answer

How to Deploy spring boot application using Eureka Server in windows

If i was using apache tomcat as web server then i can simply take the Jar file and deploy in apache running in windows. How can i deploy same when using Eureka Server in windows? Do we have any server installation of Eureka?
0
votes
3 answers

Spring boot + Activiti explorer

Is it possible to integrate activiti explorer maven plugin with activiti Spring boot app?, so that we can make use of activit-explorer to view deployed process in activit-spring boot engine. I know we can use rest-api over spring boot to query…
Valath
  • 880
  • 3
  • 13
  • 35
0
votes
1 answer

spring tool suite : missing dependencies after upgrading to spring boot 1.4.0

I have upgraded spring boot version from 1.3.2 to 1.4.0 to be able to use @MockBean annotation to mock my beans in unit testing, but since I still have "The import cannot be resolved to a type compilation" error allover my projects, however I have…
0
votes
2 answers

How to exclude default application.properties add custom properties file using profiles in maven for spring boot project?

I have developed a web application using spring boot. I have three resource folders in src/main/resources staging,qa,production which consists of application properties and logging configuration for the specific environment. Along with these folders…
Manu
  • 317
  • 4
  • 16
0
votes
1 answer

Spring boot Annotations keeps http data in the variables

I have a problem with spring boot. It's keeps data in a class that is annotated in: @RestController, @Service, @Component. I can't keep any data because it will be shared with others like a session. Example: @RestController public class controller…
0
votes
1 answer

how to connect with gemfire running on local machine using spring data gemfire with annoatations

I have tried so many demos but I am not able to create region on my local gemfire . my code is running in embedded mode but I want to run it as client server mode with using annotions how should I do this. Thanks.
0
votes
1 answer

Why Spring Boot project/REST web-service not response into JSON format?

I have developed 1-REST web services with help of Spring-Boot technology. Now, while i am going to requesting any thing it isn't responding me into JSON format ? in stead of it it's responding into plain "String" format. Also, note i have used…
0
votes
1 answer

How to include a spring-boot-maven-plugin generated jar to a third application

I create an application that depends on a.jar, which was generated by the spring-boot-maven-plugin. a.jar depends itself on another b.jar, which is located it its lib\ folder. When I start my application, I get the following error: Exception in…
0
votes
1 answer

How do i pass constant values from tomcat to war file(i.e. based upon spring-boot )?

After lot of online search & tried lot of experiments. finally i didn't get any of the link which can full-fill my requirement, so finally I choose this platform. Note : I am using Spring-Boot Maven Project & Tomcat 7.0.62 version & JDK…
0
votes
1 answer

spring boot actuator not working on java 6

In java i am trying to setup spring boot actuator in my project. based on the official spring boot website http://docs.spring.io/spring-boot/docs/current/reference/html/ I tried just declaring the actuator dependency. Below is the pom file with the…