<SEVERE> Failed to destroy the filter named [XXX] of type [XXX]

16 篇文章 1 订阅
3 篇文章 0 订阅

此处我的错误异常如下:

Registered plugin: 'com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor@75c56eb9'
Property 'mapperLocations' was not specified.
 _ _   |_  _ _|_. ___ _ |    _ 
| | |\/|_)(_| | |_\  |_)||_|_\ 
     /               |         
                        3.4.1 
<2021-09-16 16:51:40.578> <SEVERE> Failed to destroy the filter named [cloud.crud.peng.CharacterFilter] of type [cloud.crud.peng.CharacterFilter]
 java.lang.AbstractMethodError
	at com.bes.enterprise.webtier.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:318)
	at com.bes.enterprise.webtier.core.CloudServletContext.filterStop(CloudServletContext.java:4675)
	at com.bes.enterprise.webtier.core.CloudServletContext.stopInternal(CloudServletContext.java:5475)
	at com.bes.enterprise.webtier.util.LifecycleBase.stop(LifecycleBase.java:240)
	at com.bes.enterprise.webtier.core.ContainerBase$StopChild.call(ContainerBase.java:1462)
	at com.bes.enterprise.webtier.core.ContainerBase$StopChild.call(ContainerBase.java:1451)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at com.bes.enterprise.util.threads.WorkThread$WrappingRunnable.run(WorkThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

每个人报错原因可能不一样,本人此处,在测试环境运行时一切正常,在服务器部署中,启动该项目时抛出此异常。

开始以为是编译环境导致部署失败,后经过尝试,发现是打包问题,本项目的POM文件中使用了第三方jar,示例如下:

        <dependency>
            <groupId>dcloud</groupId>
            <artifactId>ServicePeng</artifactId>
            <version>2.0.3</version>
             <scope>system</scope>
            <systemPath>${project.basedir}/lib/peng-2.0.3.jar</systemPath>
        </dependency>

而在常规打包方式中,lib文件夹下面的jar包并没打进去,导致项目启动异常。

决绝方式有很多,懒人参考该链接

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

悟●禅●酒

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值