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
2 answers

Oracle driver ojdbc6 maven dependency error in spring boot application

I am trying to develop spring boot application which will in back-end connect to oracle db. For oracle db connection I have added ojdbc6 driver dependency. I already have ojdbc6 jar in .m2 folder. But still I am getting compilation error in pom.xml…
PVJ
  • 79
  • 3
  • 9
0
votes
1 answer

Spring Boot Maven Plugin and Grunt with live reload

I created a Spring Boot application and I want to deploy a web front-end generated via Yeoman (angular generator). However, I cannot get things to work: when I run the application, my static resources are deployed for production…
Manu
  • 4,019
  • 8
  • 50
  • 94
0
votes
1 answer

Jhipster delivery as jar packaging : I don't manage to access login page

I just changed the output delivery as jar instead of war inside the pom.xml. But now, I've don't manage to load the login page. Not displayed. Cf. screenshot. What should I do to make "One file delivery" ? Thanks Error loading login page
François F.
  • 229
  • 2
  • 17
0
votes
2 answers

Spring boot include transitive dependencies

Here is the relations between my projects: Spring boot project A -> Project B -> Project C When I run a Maven:install I want to have all the dependencies from Project B AND Project C in my lib folder. The problem is that for now I just Have the…
bryce
  • 842
  • 11
  • 35
0
votes
0 answers

spring-boot-maven-plugin reverts the property files after run

This is the build configuration of my project in pom.xml, When I pack the project, the property files already changed with the selected profile properties, but when I run the project using maven-boot-plugin:run in Intellij IDEA, the property files…
0
votes
1 answer

Error while running Spring boot App, and no ideal how to solve this

Actually I'm new to spring-boot concept, my problem is when I run my program in eclipse I get the error as shown below, Problem is i dint got what the error is and how to solve this.., So some one help me to fix this error Caused by:…
Tanu Tanmay
  • 31
  • 1
  • 1
  • 5
0
votes
0 answers

Springboot how to get location of jars under web-inf/lib folder to configure classpath

I have 1 requirement which uses the "java" command using JAVA_HOME in side springboot project. while calling the java command it requires the jars which are available under WEB-INF/lib folder of springboot war. I want to list all the jars inside a…
0
votes
1 answer

Spring boot junit not working

I am trying to add unit testing for my spring boot application. It doesn't work, and throws 404. I am using 1.2.1 release spring boot and have dependencies for spring-boot-starter-test. Please let know if i am missing something. The spring boot app…
skumar
  • 985
  • 4
  • 14
  • 37
0
votes
2 answers

Spring boot not loading specific profile

I am unable to load specific Spring boot profile from command line. applciation.yml file content is as follows and it is placed inside resource folder of my application. server: port: 8787 spring: application: name: demo spring: …
0
votes
0 answers

Spring-boot-maven-plugin generates a defective manifest

I'm experiencing a behavior whereby this configuration of spring-boot-maven-plugin: org.springframework.boot
Simeon Leyzerzon
  • 18,658
  • 9
  • 54
  • 82
-1
votes
2 answers

Customize Spring Boot executable-jar startup script

I'm trying to run Spring Boot executable-jar built using spring-boot-maven-plugin on a Linux machine. The machine has multiple jdks installed, the one on PATH is jdk8 and changing it is unfortunately not an option. My executable-jar however needs…
-1
votes
1 answer

maven profile activated but do not execute spring profile work

in a maven multi modules project, i have a configuration like this below.. debug debug true
-1
votes
1 answer

Not able to Run Jar file on AWS EC2 - Could not create the directory where the uploaded files will be stored

I can able to run the JAR file from local. But When I did uploaded the code to the Ubuntu 18.4 server AWS EC2, I am not able to run the JAR file. By saying java -jar MyjarfileName.jar Getting Error - Could not create the directory where the uploaded…
-1
votes
1 answer

Which jdk used by spring-boot maven plug-in?

I build all my java projects with the command : mvn spring-boot:run I'd like to know which jdk (and how) is used : to build java project to run java project by spring-boot maven plugin ? In fact, it seems that the jdk should not be the same for…
-1
votes
2 answers

While run the program, i got a error that : Application run failed

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2021-11-01 16:20:38.322 ERROR 15820 --- [ main] o.s.boot.SpringApplication : Application run…
1 2 3
34
35