linux因内存不足bug :java.lang.IllegalStateException

08-Jun-2018 23:59:59.311 INFO [mybatis-plus MapperRefresh] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.xml.xpath.XPathFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
 java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [META-INF/services/javax.xml.xpath.XPathFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
        at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1355)
        at org.apache.catalina.loader.WebappClassLoaderBase.findResources(WebappClassLoaderBase.java:976)
        at java.lang.ClassLoader.getResources(ClassLoader.java:1139)
        at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:348)
        at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393)
        at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)
        at javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:401)
        at javax.xml.xpath.XPathFactoryFinder$2.run(XPathFactoryFinder.java:397)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.xml.xpath.XPathFactoryFinder.findServiceProvider(XPathFactoryFinder.java:397)
        at javax.xml.xpath.XPathFactoryFinder._newFactory(XPathFactoryFinder.java:213)
        at javax.xml.xpath.XPathFactoryFinder.newFactory(XPathFactoryFinder.java:138)
        at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:190)
        at javax.xml.xpath.XPathFactory.newInstance(XPathFactory.java:96)
        at org.apache.ibatis.parsing.XPathParser.commonConstructor(XPathParser.java:267)
        at org.apache.ibatis.parsing.XPathParser.<init>(XPathParser.java:124)
        at com.baomidou.mybatisplus.spring.MybatisMapperRefresh.refresh(MybatisMapperRefresh.java:198)
        at com.baomidou.mybatisplus.spring.MybatisMapperRefresh.access$500(MybatisMapperRefresh.java:59)
        at com.baomidou.mybatisplus.spring.MybatisMapperRefresh$1.run(MybatisMapperRefresh.java:161)
        at java.lang.Thread.run(Thread.java:745)

解决方式:

过去好久了,我也记不清楚了,




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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值