![](/img/trans.png)
[英]I am not getting data on to my restful web service using angularjs
[英]restful service attempt gives build error that i am unable to decipher
我正在关注有关构建宁静服务的 spring.io 教程。 ( https://spring.io/guides/gs/rest-service/ )。 我使用 gradlew bootRun 运行该应用程序。
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.4.RELEASE)
2020-02-14 13:21:59.768 INFO 9504 --- [ main] c.e.restservice.RestServiceApplication : Starting RestServiceApplication on DESKTOP-6L8BU2S with PID 9504 (C:\Users\Gebruiker\IdeaProjects\rest-service\build\classes\java\main started by Gebruiker in C:\Users\Gebruiker\IdeaProjects\rest-service)
2020-02-14 13:21:59.770 INFO 9504 --- [ main] c.e.restservice.RestServiceApplication : No active profile set, falling back to default profiles: default
2020-02-14 13:22:00.630 INFO 9504 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2020-02-14 13:22:00.641 INFO 9504 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2020-02-14 13:22:00.642 INFO 9504 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.30]
2020-02-14 13:22:00.723 INFO 9504 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-02-14 13:22:00.723 INFO 9504 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 888 ms
2020-02-14 13:22:00.904 INFO 9504 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-02-14 13:22:01.024 INFO 9504 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2020-02-14 13:22:01.029 INFO 9504 --- [ main] c.e.restservice.RestServiceApplication : Started RestServiceApplication in 1.57 seconds (JVM running for 1.943)
2020-02-14 13:23:10.145 INFO 9504 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2020-02-14 13:23:10.145 INFO 9504 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2020-02-14 13:23:10.153 INFO 9504 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 8 ms
<=========----> 75% EXECUTING [9m 1s] > :bootRun
这给了我一个白标错误页面,我的 IntelliJ IDEA 在构建应用程序时给了我一个错误,但我不知道如何处理这个错误,因为它提供的信息很少:
看起来它可能在 Gradle 和 IntelliJ 之间版本不兼容。
尝试将 IntelliJ 更新到最新版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.