Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. `11:27:59.772 [main] DEBUG
  2. org.springframework.boot.devtools.settings.DevToolsSettings - Included
  3. patterns for restart : []
  4. 11:27:59.775 [main] DEBUG
  5. org.springframework.boot.devtools.settings.DevToolsSettings - Excluded
  6. patterns for restart : [/spring-boot-starter/target/classes/, /spring-
  7. boot-autoconfigure/target/classes/, /spring-boot-starter-[w-]+/,
  8. /spring-boot/target/classes/, /spring-boot-actuator/target/classes/,
  9. /spring-boot-devtools/target/classes/]
  10. 11:27:59.776 [main] DEBUG
  11. org.springframework.boot.devtools.restart.ChangeableUrls - Matching URLs
  12. for reloading : [file:/C:/Users/Bobi/Documents/workspace-sts-
  13. 3.9.2.RELEASE/springproject/target/classes/]
  14.  
  15. . ____ _ __ _ _
  16. /\ / ___'_ __ _ _(_)_ __ __ _
  17. ( ( )___ | '_ | '_| | '_ / _` |
  18. \/ ___)| |_)| | | | | || (_| | ) ) ) )
  19. ' |____| .__|_| |_|_| |___, | / / / /
  20. =========|_|==============|___/=/_/_/_/
  21. :: Spring Boot :: (v2.0.0.M7)
  22.  
  23. 2018-03-18 11:28:00.308 INFO 5048 --- [ restartedMain]
  24. o.s.boot.SpringApplication : Starting SpringApplication
  25. v2.0.0.M7 on DESKTOP-MFS6ORP with PID 5048
  26. (C:UsersBobi.m2repositoryorgspringframeworkbootspring-
  27. boot2.0.0.M7spring-boot-2.0.0.M7.jar started by Bobi in
  28. C:UsersBobiDocumentsworkspace-sts-3.9.2.RELEASEspringproject)
  29. 2018-03-18 11:28:00.313 INFO 5048 --- [ restartedMain]
  30. o.s.boot.SpringApplication : No active profile set, falling
  31. back to default profiles: default
  32. 2018-03-18 11:28:01.410 ERROR 5048 --- [ restartedMain]
  33. o.s.boot.SpringApplication : Application startup failed
  34.  
  35. java.lang.IllegalArgumentException: Sources must not be empty
  36. at org.springframework.util.Assert.notEmpty(Assert.java:450) ~[spring-
  37. core-5.0.2.RELEASE.jar:5.0.2.RELEASE]
  38. at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:381) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
  39. at org.springframework.boot.SpringApplication.run(SpringApplication.java:325) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
  40. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1245) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
  41. at org.springframework.boot.SpringApplication.main(SpringApplication.java:1261) [spring-boot-2.0.0.M7.jar:2.0.0.M7]
  42. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151]
  43. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151]
  44. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151]
  45. at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151]
  46. at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher
  47. .java:49) [spring-boot-devtools-2.0.0.M7.jar:2.0.0.M7]
  48.  
  49. package com.example.a;
  50. import org.springframework.boot.SpringApplication;
  51. import org.springframework.boot.autoconfigure.SpringBootApplication;
  52.  
  53. @SpringBootApplication
  54. public class App
  55. {
  56. public static void main( String[] args )
  57. {
  58. SpringApplication.run(App.class, args);
  59. }
  60. }
  61.  
  62. <project xmlns="http://maven.apache.org/POM/4.0.0"
  63. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  64. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
  65. http://maven.apache.org/xsd/maven-4.0.0.xsd">
  66. <modelVersion>4.0.0</modelVersion>
  67. <groupId>com.example</groupId>
  68. <artifactId>a</artifactId>
  69. <version>0.0.1-SNAPSHOT</version>
  70. <packaging>jar</packaging>
  71.  
  72. <name>a</name>
  73. <url>http://maven.apache.org</url>
  74.  
  75. <properties>
  76. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  77. </properties>
  78.  
  79. <parent>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-starter-parent</artifactId>
  82. <version>2.0.0.RELEASE</version>
  83. </parent>
  84.  
  85. <dependencies>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-web</artifactId>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-devtools</artifactId>
  97. <optional>true</optional>
  98. </dependency>
  99. </dependencies>
  100.  
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-maven-plugin</artifactId>
  106. </plugin>
  107. </plugins>
  108. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement