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)
解决方式:
过去好久了,我也记不清楚了,