异常
WARN [admin,,,] [main] o.a.c.loader.WebappClassLoaderBase.log:173 The web application [ROOT] appears to have started a thread named [OkHttp ConnectionPool] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.6/java.lang.Object.wait(Native Method) java.base@11.0.6/java.lang.Object.wait(Object.java:462) app//okhttp3.ConnectionPool$1.run(ConnectionPool.java:67) java.base@11.0.6/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) java.base@11.0.6/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) java.base@11.0.6/java.lang.Thread.run(Thread.java:834) WARN [admin,,,] [main] o.a.c.loader.WebappClassLoaderBase.log:173 The web application [ROOT] appears to have started a thread named [Okio Watchdog] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.6/java.lang.Object.wait(Native Method) java.base@11.0.6/java.lang.Object.wait(Object.java:462) app//okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:361) app//okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:312) WARN [admin,,,] [main] o.a.c.loader.WebappClassLoaderBase.log:173 The web application [ROOT] appears to have started a thread named [redisson-netty-2-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.6/sun.nio.ch.EPoll.wait(Native Method) java.base@11.0.6/sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:120) java.base@11.0.6/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:124) java.base@11.0.6/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:136) app//io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62) app//io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:807) app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:457) app//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) app//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base@11.0.6/java.lang.Thread.run(Thread.java:834) 2021-07-10 23:05:42.297+0800 WARN [admin,,,] [main] o.a.c.loader.WebappClassLoaderBase.log:173 The web application [ROOT] appears to have started a thread named [redisson-netty-2-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@11.0.6/java.util.zip.Inflater.inflateBytesBytes(Native Method) java.base@11.0.6/java.util.zip.Inflater.inflate(Inflater.java:385) java.base@11.0.6/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:153) java.base@11.0.6/jdk.internal.loader.Resource.getBytes(Resource.java:124) java.base@11.0.6/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:797) java.base@11.0.6/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:698) java.base@11.0.6/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:621) java.base@11.0.6/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:579) java.base@11.0.6/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) java.base@11.0.6/java.lang.ClassLoader.loadClass(ClassLoader.java:521) app//io.netty.util.Recycler$Stack.newWeakOrderQueue(Recycler.java:691) app//io.netty.util.Recycler$Stack.pushLater(Recycler.java:674) app//io.netty.util.Recycler$Stack.push(Recycler.java:633) app//io.netty.util.Recycler$DefaultHandle.recycle(Recycler.java:224) app//io.netty.channel.AbstractChannelHandlerContext$WriteTask.recycle(AbstractChannelHandlerContext.java:1115) app//io.netty.channel.AbstractChannelHandlerContext$WriteTask.run(AbstractChannelHandlerContext.java:1092) app//io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) app//io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500) app//io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) app//io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base@11.0.6/java.lang.Thread.run(Thread.java:834)
解决
不要心急,多半是映射问题导致,差一下 dao 到 xml 配置。