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

ManyToOne relationship between entities in SpringBoot giving SQL error: 1048

I'm getting an error in the SQL insert statement for an entity VehicleReading which is dependent on Vehicle as Vehicle.vin = VehicleReading.vehicle_id. In my Spring Entities, both the entities are as follows:- @Entity public class VehicleReading…
0
votes
1 answer

json rootelement is showing ArrayList instead of @JsonRootName("TestClass") as root element in JSON response

I am working on maven SpringBoot microservice application where I expect json string with root element I which I have mentioned but it is giving me json string with ArrayList as rootelement. There are so many similar questions reported but none of…
0
votes
0 answers

How to make Visual Studio recognize Spring Boot packages and get IntelliSense?

I have created a Spring Boot application using Spring Intializr extension of VS Code. Configuration, Build Tool : maven, Language : Java, groupId : com.example, artifactId : springdemo, Spring boot version : 2.0.3, I have selected 2 dependencies…
0
votes
2 answers

Excluding external jar while generating a fat jar using spring boot maven plugin

I had created a spring boot application, using spring initializer. I had added some external jars to my class path using IDE. When i try to creating a jar, by maven clean and maven install, am getting package com.art.common.exception does not…
0
votes
0 answers

Maven: Compilation error package does not exist. How to add an extra source directory for maven to compile

I am working on Spring boot application with different project structure please find the attached screenshot. When I go to eclipse and select Run as --> Maven Build with 'clean install' command it gives below error: **[ERROR] COMPILATION ERROR :…
Dipan
  • 301
  • 2
  • 7
0
votes
1 answer

Spring boot WAR deployment to tomcat

I have recently started packaging my application as a war. I have noticed whenever I deploy the application within tomcat, 404 errors are now placed into tags, where as when deploying as a standalone, the _body response would be in JSON. Does…
0
votes
1 answer

spring boot compilation fails

after a "maven clean" my spring boot project doesn't compile anymore RunAs --> Spring Boot App Impossible to find or load the main class com.in28minutes.springboot.rest.example.springboot2restservicebasic.SpringBoot2RestServiceBasicApplication so…
pinale
  • 2,060
  • 6
  • 38
  • 72
0
votes
1 answer

thymeleaf layout:decorate seems not be working as expected

i have a thymeleaf project but am getting issues using the layout:decorate as am not getting the expected output. i have viewed the previous stackoverflow posts and they did not help. Here is what i have done. i need some help as i don't know what…
Waitire Colline
  • 552
  • 7
  • 11
0
votes
1 answer

Springboot,maven dependencies error

I have a sample spring boot app to deploy in my system which is throwing me following error.I tried cleaning up the maven files from cache still struck with the issue. Can anyone help me with this. Following is the error I Get Project build error:…
Ananya
  • 1
  • 2
0
votes
2 answers

Console logging handler is not configured in apache ignite

When starting my apache ignite integrated with spring boot Getting below errors please help. (wrn) Failed to resolve IGNITE_HOME automatically for class codebase [class=class o.a.i.i.util.IgniteUtils, e=URI is not hierarchical] Console logging…
sri
  • 11
  • 2
  • 5
0
votes
1 answer

Spring boot maven plugin skips some classes from the jar

I try to create jar with mvn install , but Spring boot maven plugin skips some classes from the jar. In particular those which can are not part of my groupId if it is related. How to include all the classes?
user9428269
0
votes
0 answers

Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.0.BUILD-SNAPSHOT

I have the following error in building spring boot application. [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.0.0.BUILD-SNAPSHOT:run (default-cli) on project Krawl: Execution default-cli of goal…
raghu
  • 95
  • 1
  • 10
0
votes
0 answers

spring-boot-maven-plugin : Is it possible to resolve dependency from Eclipse workspace?

When run projects from Eclipse with m2e plugin, it could resolve dependencies from Eclipse workspace first. Refer: https://stackoverflow.com/a/34725991/1568658 When running mvn spring-boot:run from command line, it only searches for projects from…
Eric
  • 22,183
  • 20
  • 145
  • 196
0
votes
0 answers

Run a same Spring boot Project with multiple server context path

Hi Spring Boot Experts, I am trying to run/build a spring boot project in such a way that it can run under multiple context paths (localhost:8080/external-portal & localhost:8081/internal-portal ).I have a application like internal & external…
0
votes
0 answers

How to display data using AngularJS

I'm new to AngularJS, And just started learning form various sites like (W3school,angularJS). I am trying to practice examples what ever they have mentioned in the tutorials. Here I'm simply trying to display values in front-end using angularJS…