Questions tagged [spring-boot-gradle-plugin]

The Spring Boot Gradle Plugin provides Spring Boot support in Gradle, allowing you to package executable jar or war archives, run Spring Boot applications and use the dependency management provided by spring-boot-dependencies.

206 questions
0
votes
1 answer

GraphQL with SpringBoot and Gradle not working

I tried creating a sample application to implement GraphQL with Spring Boot and Gradle, but somehow it's not working for me. Getting below error: GraphQL_Error Code is at at location: https://github.com/devilking01/GraphQlDemo
devilKing
  • 320
  • 1
  • 11
0
votes
1 answer

How to inject an ext. property in spring-boot gradle plugin properties

The spring boot gradle plugin let's us specify: springBoot { buildInfo { properties { version = 'a version' } } } The git-versioner-plugin can be applied so, the git external properties are set. Unfortunately,…
Christophe Bouhier
  • 224
  • 1
  • 5
  • 14
0
votes
0 answers

spring boot app redirection to another controller

My task is sent request from frontend to contoller x, make some logic in it, and based on that redirect to controller y or not, my questions are: how to redirect from x controller to y controller (with all request headers and query params I sent…
0
votes
1 answer

how to use a custom subclass of the spring-boot JarLauncher?

i have a situation where one of my required dependency jars also has an older version of a dependency embedded in it (uber-jar style). sadly, the embedded dependency is incompatible with some other dependencies. i figured out a strategy using a…
tony_k
  • 1,983
  • 2
  • 20
  • 27
0
votes
1 answer

How do I copy a spring boot repackaged jar from a different module when using Gradle and the Spring Boot Gradle Plugin?

I have a multi-module gradle project that uses the Spring Boot Gradle plugin in which one module builds spring boot repackaged jar, and another module attempts to build a docker container. How do you copy a spring boot repackaged jar from a…
0
votes
0 answers

gradle dependencies fails on multi-module project setup based on kotlin

I have a multi-module gradle project setup based on gradle script kotlin. It seems I messed up the dependency management of the project but I'm unable to find the issue. Whenever I add a new dependency and run gradle build the build itself succeeds…
jimonthebarn
  • 710
  • 9
  • 24
0
votes
0 answers

excepton raised while running a jar created using gradle/springboot/intellij

below is the content of my build.gradle file and the error i get.
0
votes
1 answer

Error configuring mongo and neo4j with spring boot 1.5.7

I am using MongoDb and Neo4j in my Spring Boot Application. I have recently updated by Spring Boot Gradle Plugin from 1.2.6 to 1.5.7. I am having two config files one for mongo and other for neo4j. After updating the version of spring boot I found…
0
votes
1 answer

Is it possible to deploy a external war file in embedded/inbuilt tomcat server in spring boot?

I want to deploy opencms.war/any war file (Which is not built on spring boot but it can be run on any application or web servers) in spring boot application inbuilt embedded server. Can any one please help me on this?
0
votes
1 answer

How to use properties file is its being excluded while exporting the JAR

I have faced this as an interview question on Spring-boot. The question was like -- If i have a Spring Boot application developed , while exporting it as a JAR file , i excluded properties file and extracted the JAR out of my project , when…
shubham
  • 293
  • 1
  • 2
  • 13
0
votes
0 answers

Gradle Spring Boot - spring jar versions are not automatically picked up

I am trying out a simple gradle spring boot application as per the below URL https://spring.io/guides/gs/spring-boot/ This is my build.gradle file apply plugin: 'java' apply plugin: 'eclipse' apply plugin: 'org.springframework.boot' jar { …
lives
  • 1,243
  • 5
  • 25
  • 61
0
votes
0 answers

spring boot 1.4 unable to find the location

I put the path for jks file in application.yml ssl: trustStorePath: keystore/pas_ist.jks and reading this like @Value("${ssl.trustStorePath}") String trustStorePath Its working fine in spring boot 1.3 , but not working in 1.4 , getting the…
0
votes
1 answer

I am not able to run spring boot

I have created spring boot data jpa application using gradle's and my project structure look likes below. com.duregesh --TestSpringBootDataJpaApplication.java com.durgesh.controller --UserController.java com.durgesh.model …
0
votes
1 answer

How to make multiple spring boot projects dependency work with Gradle?

I am just using spring boot initializer to create base and sub two projects and using the most simple multiple projects. I set settings.gradle at root to include 'base','sub'. I also add compile project(':base') dependency in sub/gradle.build. When…
0
votes
0 answers

spring boot application-[profile].properties is not working

I have setup spring boot web project. It works well when I have only one application.properties file with all my database connection details. I am using mysql database. This is my application.properties…
vishal
  • 3,993
  • 14
  • 59
  • 102
1 2 3
13
14