Advertisement
Guest User

Untitled

a guest
Nov 25th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.55 KB | None | 0 0
  1. Microsoft Windows [Version 10.0.16299.19]
  2. (c) 2017 Microsoft Corporation. Wszelkie prawa zastrzeżone.
  3.  
  4. C:\Users\Piotr\IdeaProjects\roommate_manager>mvnw.cmd spring-boot:run
  5. [INFO] Scanning for projects...
  6. [INFO]
  7. [INFO] ------------------------------------------------------------------------
  8. [INFO] Building roommate_manager 0.0.1-SNAPSHOT
  9. [INFO] ------------------------------------------------------------------------
  10. [INFO]
  11. [INFO] >>> spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) > test-compile @ roommate_manager >>>
  12. [INFO]
  13. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ roommate_manager ---
  14. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  15. [INFO] Copying 1 resource
  16. [INFO] Copying 13 resources
  17. [INFO]
  18. [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ roommate_manager ---
  19. [INFO] Nothing to compile - all classes are up to date
  20. [INFO]
  21. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ roommate_manager ---
  22. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  23. [INFO] skip non existing resourceDirectory C:\Users\Piotr\IdeaProjects\roommate_manager\src\test\resources
  24. [INFO]
  25. [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ roommate_manager ---
  26. [INFO] Nothing to compile - all classes are up to date
  27. [INFO]
  28. [INFO] <<< spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) < test-compile @ roommate_manager <<<
  29. [INFO]
  30. [INFO]
  31. [INFO] --- spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) @ roommate_manager ---
  32. [INFO] Attaching agents: []
  33. Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
  34. at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getUrls(DefaultRestartInitializer.java:93)
  35. at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getInitialUrls(DefaultRestartInitializer.java:56)
  36. at org.springframework.boot.devtools.restart.Restarter.<init>(Restarter.java:140)
  37. at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:546)
  38. at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:67)
  39. at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:45)
  40. at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
  41. at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
  42. at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
  43. at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:122)
  44. at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:69)
  45. at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
  46. at org.springframework.boot.SpringApplication.run(SpringApplication.java:292)
  47. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
  48. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
  49. at pl.roomiez.roommate_manager.RoommateManagerApplication.main(RoommateManagerApplication.java:22)
  50. [INFO] ------------------------------------------------------------------------
  51. [INFO] BUILD FAILURE
  52. [INFO] ------------------------------------------------------------------------
  53. [INFO] Total time: 6.729 s
  54. [INFO] Finished at: 2017-11-25T10:43:52+01:00
  55. [INFO] Final Memory: 23M/78M
  56. [INFO] ------------------------------------------------------------------------
  57. [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) on
  58. project roommate_manager: Could not exec java: Application finished with exit code: 1 -> [Help 1]
  59. [ERROR]
  60. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  61. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  62. [ERROR]
  63. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  64. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  65.  
  66. C:\Users\Piotr\IdeaProjects\roommate_manager>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement