java - Java HotSpot(TM) 64 位服务器 VM 警告:选项 -Xverify:none 和 -noverify 在 JDK 13 中已弃用
问题描述
我从“https://start.spring.io/”创建了一个项目,并从 main 方法运行它而不添加任何内容,但是我收到这样的错误。我正在使用 JDK11,我正在使用 Intellij,启用了虚拟化。输出如下:
Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.12.RELEASE)
2020-12-11 22:35:48.638 INFO 14028 --- [ main] com.example.demo.DemoApplication : Starting DemoApplication on DESKTOP-1HHLJVV with PID 14028 (C:\Users\xsamu\Desktop\demo\demo\target\classes started by xsamu in C:\Users\xsamu\Desktop\demo\demo)
2020-12-11 22:35:48.639 INFO 14028 --- [ main] com.example.demo.DemoApplication : No active profile set, falling back to default profiles: default
2020-12-11 22:35:49.148 INFO 14028 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2020-12-11 22:35:49.155 INFO 14028 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2020-12-11 22:35:49.155 INFO 14028 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2020-12-11 22:35:49.212 INFO 14028 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-12-11 22:35:49.212 INFO 14028 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 548 ms
2020-12-11 22:35:49.312 INFO 14028 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-12-11 22:35:49.425 INFO 14028 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2020-12-11 22:35:49.428 INFO 14028 --- [ main] com.example.demo.DemoApplication : Started DemoApplication in 0.981 seconds (JVM running for 1.39)
解决方案
推荐阅读
- django - django-rest 如何以正确的格式为前端返回序列化程序错误?
- swiftui - 在构建到设备 SwiftUI 时,我是否需要“PreviewProvider”才能使用 @ObservedObject
- python - python类方法,貌似语法错误
- html - 容器类没有被继承
- javascript - 如何避免我的 JSON 请求变成 Nonetype?
- python - 允许在 Jupyter notebook 中进行全盘访问
- zoom-sdk - Anguar 项目中的 Zoom 客户端 Web SDK 集成 - 无效签名错误
- function - 如何实现库 charts_flutter 0.10.0?
- html - 悬停时保持 CSS 按钮大小
- django - 数数。Django 查询优化,Django ORM