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

Build failure in Spring-boot-starter project due to missing WebApp libraries

I have a Spring-Boot-Starter-project in Eclipse Oxygen 4.7.0 and is trying to build a .war for deployment on an EC2 instance. I have added two jars to allow JDBC connectivity to PostgresSQL DB server from my deployed war. I have also added the…
0
votes
2 answers

Unable to deploy tomcat server with Spring boot

I have been trying to deploy my tomcat server for a couple of days using spring boot but I cannot for the life of me figure out what I'm doing wrong with my configuration. I have looked at a couple of suggestions online but I still cannot figure out…
dlimestar
  • 11
  • 2
0
votes
1 answer

spring-boot-maven-plugin: where it is loaded?

I am trying to implement step by step all instructions that are defined here: Spring Boot Reference Guide and I have got a question regarding section: 11.4 Running the example They wrote: At this point our application should work. Since we have…
user471011
  • 7,104
  • 17
  • 69
  • 97
0
votes
0 answers

Docker run unable to access JAR file

I am using XML Configuration method to generate Dockerfile for my project.The generated Dockerfile looks OK and it gets built fine. However when I run it it always fails with the error. We have created an internal base image for java that I'll call…
A V
  • 261
  • 2
  • 5
  • 10
0
votes
0 answers

Usage of @project.id@ in a custom spring-boot-starter

We have a set of Spring Boot projects, which share a custom spring-boot-starter for logging. This logger uses the property app.name = @project.artifactId@ for configuration. So we have to repeat this in each of our projects. Is it possible to move…
0
votes
2 answers

spring boot main class, how to specify

I am working on a project using spring-boot. I have my own parent .pom file, so I can't use the spring-boot parent pom. When I package the project, the main class is not being included in the MANIFEST.MF, even though I specify it in the plug-in…
bcr666
  • 2,157
  • 1
  • 12
  • 23
0
votes
1 answer

I am trying to get values from the function but failing to get. I tried adding componentscan but I failed

I am trying to get values from the function but failing. I tried adding componentscan but I failed. Main method package org.vik.springstarter; import org.springframework.boot.SpringApplication; import…
0
votes
2 answers

Coexistence of both thymeleaf and jasper files in Spring Boot application

I tried, in a project both jasper and thymeleaf, but can not coexist, as I would like to use jsp must comment out Spring-boot-starter-thymeleaf depend on the package, so that it can run. Looking for a solution so that both jasper and thymeleaf can…
0
votes
1 answer

Spring boot service pass java option

I have spring-boot application running as a init service through the executable jar. Going through the documentation I wanted pass JAVA_OPTS for heap size to the executable jar. Currently, the following config is being used …
AaMng
  • 199
  • 2
  • 4
0
votes
1 answer

Spring boot war with no lib on tomcat 8

I have a spring boot war (REST service) file that is run on a tomcat 8 server. I am using spring-boot-maven-plugin to get all the loader goodies in the repackaged war. Due to recent company policy changes, we can no longer have dependency jars…
0
votes
1 answer

spring-boot-maven-plugin created jar run by using classpath

used spring-boot-maven-plugin to build my jar, i'm to run it via java -jar myExample-1.0-SNAPSHOT.jar but it throw error Error: Could not find or load main class com.manish.myexample.Example while running via java -cp …
0
votes
1 answer

How to configure Apache shiro with spring boot in a separate module?

My spring boot project contains more than 10 modules, with Cassandra DB. i want to do the security with the separate module. Is this possible?
Meg
  • 109
  • 2
  • 2
  • 12
0
votes
1 answer

Display Build time in spring boot /info endpoint

I have the below properties configured in my spring boot application.yml info: app: name: @project.artifactId@ description: @project.description@ version: @project.version@ timestamp: @timestamp@ After adding Spring Boot Actuator…
0
votes
1 answer

Moving to Spring Boot 2.0.0.M4 and spring-boot-maven-plugin

I'm trying to move my application to move to Spring Boot 2.0.0.M4 Everything is going fine right now except one issue with spring-boot-maven-plugin: Failure to find org.springframework.boot:spring-boot-maven-plugin:jar:2.0.0.M4 in…
alexanoid
  • 24,051
  • 54
  • 210
  • 410
0
votes
1 answer

Spring Boot - Spring Rest - Build Package

I am learning Spring Boot. I have just created my first project using maven, Spring Boot, Spring Rest support and MongoDB. It compiles successfully, but it resolves all the dependencies, but do not compile the java classes at all. After compilation,…