adolph_1 2019-11-15 11:24 采纳率: 16.7%
浏览 1036

springcloud项目开启https,老是报错端口被占用(已经换了很多端口了),请问怎么回事?

配置文件:
server.ssl.key-store=classpath:ssl.p12
server.ssl.key-store-password=123
server.ssl.key-store-type=PKCS12
server.ssl.key-alias=knowind

2019-11-15 11:15:25.825 ERROR 8336 --- [ost-startStop-1] s.j.c.l.p.ClassLoaderLeakPreventor       : Internal registry of java.beans.PropertyEditorManager not found
2019-11-15 11:15:25.832  INFO 8336 --- [ost-startStop-1] s.j.c.l.p.ClassLoaderLeakPreventor       : Releasing web app classloader from Apache Commons Logging
2019-11-15 11:15:25.832  INFO 8336 --- [           main] utoConfigurationReportLoggingInitializer : 

Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-11-15 11:15:25.863 ERROR 8336 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 9999 failed to start. The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's listening on port 9999, or configure this application to listen on another port.

  • 写回答

3条回答 默认 最新

  • 垠迹信息科技 上海垠迹信息科技有限公司官方账号 2019-11-15 13:41
    关注

    使用java自带的检测工具jvisualvm看一下你的程序有没有完全退出,没退出的话,先杀死进程,然后再重新启动程序

    评论

报告相同问题?