lch_jeecg 发表于 2021-5-14 13:14:32

jeecg配置https失败,请教大神。报:Failed to start bean 'webServer...

ssl:
    key-store: classpath:adaking.cn.jks
    key-store-password: *****
    key-store-type: JKS
配置信息删除就启动正常,加上就报:
org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop'; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat server
        at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:185)
        at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53)
        at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360)
        at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158)
        at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122)

lch_jeecg 发表于 2021-5-14 14:06:57

已解决:key-store 配置成绝对路径就可以了。是路径指引不对
页: [1]
查看完整版本: jeecg配置https失败,请教大神。报:Failed to start bean 'webServer...