spring错误org.springframework.web.context.ContextLoaderListener

maven构建的spring项目,总是报错org.springframework.web.context.ContextLoaderListener,还有一个

At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs

重新maven update了也没用,clean之后重新build也不行,后来查了一下,说是lib没有引,  
第一步,项目点击右键 点击 Properties 选择Deployment Assembly 再点击右边的Add按钮 选择Java Build Path Entries后点击Next按钮 然后选择你的Maven Dependencies 确定,没好用,还是报错,hashmap竟然告诉我没有这类,
第二步,项目点击右键 点击 Properties 选择java compiler,取消右侧use compliance........的对号,然后选择正确的jre版本,到此解决了
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值