Simplifycoding 2020-05-11 09:02 采纳率: 0%
浏览 2347

springboot项目启动报错

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-05-11 08:55:38.327 ERROR 11512 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed

org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat

Caused by: java.lang.IllegalArgumentException: Unable to set initialisation parameters for filter due to null name and/or value. Name [loginUsername], Value [null]
大佬帮看看

  • 写回答

2条回答 默认 最新

  • 悬弧 2020-05-11 09:33
    关注

    非常高兴有机会回答你的问题

    你问题中的错误已经很明确了,关键的信息是:

    Caused by: java.lang.IllegalArgumentException: Unable to set initialisation parameters for filter due to null name and/or value. Name [loginUsername], Value [null]

    就是不能初始化参数:loginUsername

    你要查找到这个参数的设值,检查一下逻辑,然后给他初始化就好了

    评论

报告相同问题?

悬赏问题

  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样