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

Connecting ReactJs app to SpringBoot MVC/PostgresQL backend

I am developing a React app that needs to be connected to a backend server so that the user can login using Google OAuth, and then once that access token is granted, they are able to see the rest of the app. However, I am having a difficult time…
Alyssa
  • 143
  • 3
  • 15
0
votes
1 answer

Spring-Boot 2 AspectJ Load Time Weaving

I am experimenting with Spring Boot 2 and AspectJ Load Time Weaving. I am able to run both tests and application from Eclipse (add two agents: aspectjweaver and spring-instrument to the VM), surefire from Maven also runs fine, however I am unable to…
0
votes
1 answer

Executable JAR - JVM Arguments - Externalized Config Properties - Spring Boot Maven Plugin

We have a spring boot app with externalized configuration in a properties file. Executing the jar file like so works: java -jar -Dspring.config.location="application.properties" app.jar Executing the jar directly like below works, but without the…
code4kix
  • 3,937
  • 5
  • 29
  • 44
0
votes
2 answers

Spring REST Docs maven continuous build?

I was going through this tutorial https://www.youtube.com/watch?v=k5ncCJBarRI&t=1443s Around 1:07:30 the author mentioned about "Gradle has continuous build" later on was able to detect changes in the test and automatically regenerate asciidoc. I…
Eric Huang
  • 1,114
  • 3
  • 22
  • 43
0
votes
1 answer

Start JavaFX Spring project with 'mvn spring-boot:run'

How can I start a spring-boot project in place with maven that extends javafx.application.Application that contains no main method? Every time I try to start it with maven the error below gets shown. Error message: [ERROR] Failed to execute goal…
0
votes
0 answers

Spring field required a bean of type that could not be found

I'm trying to make a Spring Boot Application with simple login page but when i try to use @Autowired with a interface that i created seems to be a problem. I read 7-8 similar questions but the answers that i find there was useless for me. @Autowired…
0
votes
0 answers

How to understand those memory numbers in JVM?

My computer is Mac with 8 cores and 16G memory. I am using the functions to test how much memory I can supply to the JVM for my application. System.out.println(Runtime.getRuntime().availableProcessors()); …
user697911
  • 10,043
  • 25
  • 95
  • 169
0
votes
1 answer

Need Spring Batch Mongo DB Java Configuration to read data from DB using Spring Boot

This is my Spring Mongo configuration for normal Spring project . I want to know how to edit it for Spring-Batch. import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import…
0
votes
1 answer

Spring boot - How to Specify Java path in Process Builder

I am Having Java 7 in my system as Default Configuration. But I have to use Java 8 only for spring boot. The below command is working fine in my terminal. ubuntu@karthick:~$ JAVA_HOME=/opt/jdk1.8.0_181 mvn spring-boot:run But When I tried to…
0
votes
0 answers

Load dll in spring boot executable jar

I am trying to load the dll in spring boot application converted to an executable jar. It works fine in intellij ide but it doesn't work in when i run as a jar. Any insight will be appreciated.
Shafs Jan
  • 400
  • 1
  • 3
  • 13
0
votes
1 answer

Defining Database dynamically in spring boot maven based war application

My Spring boot application won't know the database to be connected in prior, once before application deployment, the user will select the database to be connected, and places the jar in the server webinf(or probably some other repository path), and…
0
votes
1 answer

How to configure Redis Session in OAuth 2.0 Spring Boot?

I am new to Spring configuration to Redis session, I used following configuration for Redis org.springframework.data spring-data-redis
0
votes
2 answers

How to share/pass a variable with application properties and pom file

I have a multi module spring-boot project, before integration tests of my app, I start another child module (which is Stub made by another spring boot app) You can see it is attached to "pre-integration-test" and it is working fine finally. Parent…
Spring
  • 11,333
  • 29
  • 116
  • 185
0
votes
2 answers

Spring Boot Maven Plugin - rename original JAR

When I build my project using the Spring Boot Maven Plugin I get two jar files: foo.jar and foo.jar.original. I understand that I can use fileName to call the repackaged one something else, but what I want to do is rename the original file. I want…
0
votes
2 answers

Everytime i am getting error- Whitelabel Error Page This application has no explicit mapping for /error

I am new to spring Boot and followed some basic steps while creating a simple web application. What i did is i created a folder like- src/main/webapp/WEB-INF/jsp and inside jsp i created home.jsp file Then a controller class where i provided a path…