spring-boot-gradle-plugin

Spring Boot 2 NoSuchMethodException: org.springframework.mobile.device.Device.<init>()

删除回忆录丶 提交于 2019-12-05 10:20:21
Recently I tried to update my Spring Boot application version from 1.5.10.RELEASE to 2.0.0.RELEASE Project Environment JDK version 1.8 jcenter() repository in Gradle IDE Spring tool Suite (STS) Version: 3.9.2 I have encountered two issues I got the completion issue below. Could not resolve all files for configuration ':compileClasspath'. Could not find org.springframework.boot:spring-boot-starter-mobile: Then I checked the latest version of spring-boot-starter-mobile library and there’s no stable version of spring-boot-starter-mobile for Spring Boot 2. So I had to declare milestone URL using

Spring Boot web application running on Google App Engine - throws jetty exception

ぐ巨炮叔叔 提交于 2019-12-05 08:58:32
When I execute gradlew appengineRun , I consistently get: Starting a Gradle Daemon (subsequent builds will be faster) Mar 26, 2018 5:47:48 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. 2018-03-26 17:47:51.665:INFO::main: Logging initialized @3872ms 2018-03-26 17:47:53.727:INFO:oejs.Server:main: jetty-9.3.18.v20170406 2018-03-26 17:48:01.040:WARN:oeja.ClassInheritanceHandler:qtp99347477-18: java.lang.NullPointerException at java.util.concurrent

Receiver class o.s.c.b.BootstrapApplicationListener$CloseContextOnFailureApplicationListener does not define or inherit an impl

核能气质少年 提交于 2019-12-02 05:41:15
I'm facing this error while running the project. I'm unable to know the cause of the error and unable to find a solution online as well. This project is running over another laptop without any error but when I extracted the zip and tried to run it, found it throwing error. Please help me figure this out. Thanks Error Execution failed for task ':Application.main()'. Process 'command '/home/jamshaid/Documents/idea-IC-192.5728.98/jbr/bin/java'' finished with non-zero exit value 1 StackTrace 2019-08-11 09:57:06,589 2269 [main] INFO com.techno.homes.Application - No active profile set, falling back

Maven profiles equivalent of Gradle

自闭症网瘾萝莉.ら 提交于 2019-11-28 20:32:54
I'm trying to achieve a simple scenario in my spring boot project build: including / excluding dependencies and packaging war or jar depending on the environment. So for example, for the environment dev include devtools and package jar, for prod package war etc. I know it is not XML based configuration anymore and I can basically write if statements in my build.gradle but is there a recommended way of achieving this? Can I declare some common dependencies and refer them in a single file instead of creating multiple build files? Is there a best practice changing build configuration based on the

Maven profiles equivalent of Gradle

风流意气都作罢 提交于 2019-11-27 12:59:36
问题 I'm trying to achieve a simple scenario in my spring boot project build: including / excluding dependencies and packaging war or jar depending on the environment. So for example, for the environment dev include devtools and package jar, for prod package war etc. I know it is not XML based configuration anymore and I can basically write if statements in my build.gradle but is there a recommended way of achieving this? Can I declare some common dependencies and refer them in a single file