Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Microsoft Windows [Version 10.0.16299.19]
- (c) 2017 Microsoft Corporation. Wszelkie prawa zastrzeżone.
- C:\Users\Piotr\IdeaProjects\roommate_manager>mvnw.cmd spring-boot:run
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building roommate_manager 0.0.1-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] >>> spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) > test-compile @ roommate_manager >>>
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ roommate_manager ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 13 resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ roommate_manager ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ roommate_manager ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] skip non existing resourceDirectory C:\Users\Piotr\IdeaProjects\roommate_manager\src\test\resources
- [INFO]
- [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ roommate_manager ---
- [INFO] Nothing to compile - all classes are up to date
- [INFO]
- [INFO] <<< spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) < test-compile @ roommate_manager <<<
- [INFO]
- [INFO]
- [INFO] --- spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) @ roommate_manager ---
- [INFO] Attaching agents: []
- Exception in thread "main" java.lang.ClassCastException: java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader
- at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getUrls(DefaultRestartInitializer.java:93)
- at org.springframework.boot.devtools.restart.DefaultRestartInitializer.getInitialUrls(DefaultRestartInitializer.java:56)
- at org.springframework.boot.devtools.restart.Restarter.<init>(Restarter.java:140)
- at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:546)
- at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:67)
- at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:45)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:122)
- at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:69)
- at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:292)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
- at pl.roomiez.roommate_manager.RoommateManagerApplication.main(RoommateManagerApplication.java:22)
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 6.729 s
- [INFO] Finished at: 2017-11-25T10:43:52+01:00
- [INFO] Final Memory: 23M/78M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.5.7.RELEASE:run (default-cli) on
- project roommate_manager: Could not exec java: Application finished with exit code: 1 -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
- C:\Users\Piotr\IdeaProjects\roommate_manager>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement