小编spi*_*lba的帖子

Spring Boot 应用程序在运行时卡住

这是我的第一个 spring-boot 应用程序。我运行了一个示例代码,它卡在“Initialized JPA EntityManagerFactory for persistence unit \'default\'”处。

\n\n

下面是代码

\n\n
package com.fredo.webservices.homefredoServcies;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\n\n@SpringBootApplication\npublic class HomeFredoServciesApplication {\n\n    public static void main(String[] args) {\n        SpringApplication.run(HomeFredoServciesApplication.class, args);\n    }\n\n}\n
Run Code Online (Sandbox Code Playgroud)\n\n

下面是日志

\n\n
 .   ____          _            __ _ _\n /\\\\ / ___\'_ __ _ _(_)_ __  __ _ \\ \\ \\ \\\n( ( )\\___ | \'_ | \'_| | \'_ \\/ _` | \\ \\ \\ \\\n \\\\/  ___)| |_)| | | | | || (_| |  ) ) ) )\n  \' …
Run Code Online (Sandbox Code Playgroud)

java spring spring-boot

9
推荐指数
2
解决办法
1万
查看次数

标签 统计

java ×1

spring ×1

spring-boot ×1