java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1600)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at com.google.common.collect.LinkedListMultimap.createEntries(LinkedListMultimap.java:805)
at com.google.common.collect.LinkedListMultimap.createEntries(LinkedListMultimap.java:102)
at com.google.common.collect.AbstractMultimap.entries(AbstractMultimap.java:109)
at com.google.common.collect.LinkedListMultimap.entries(LinkedListMultimap.java:788)
at com.google.common.collect.LinkedListMultimap.entries(LinkedListMultimap.java:102)
at com.google.common.collect.Synchronized$SynchronizedMultimap.entries(Synchronized.java:651)
at com.ctrip.framework.apollo.spring.property.SpringValueRegistry.scanAndClean(SpringValueRegistry.java:67)
at com.ctrip.framework.apollo.spring.property.SpringValueRegistry.access$000(SpringValueRegistry.java:18)
at com.ctrip.framework.apollo.spring.property.SpringValueRegistry$1.run(SpringValueRegistry.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
java.lang.NoClassDefFoundError: com/google/common/collect/LinkedListMultimap$1EntriesImpl
at com.google.common.collect.LinkedListMultimap.createEntries(LinkedListMultimap.java:805)
at com.google.common.collect.LinkedListMultimap.createEntries(LinkedListMultimap.java:102)
at com.google.common.collect.AbstractMultimap.entries(AbstractMultimap.java:109)
at com.google.common.collect.LinkedListMultimap.entries(LinkedListMultimap.java:788)
at com.google.common.collect.LinkedListMultimap.entries(LinkedListMultimap.java:102)
at com.google.common.collect.Synchronized$SynchronizedMultimap.entries(Synchronized.java:651)
at com.ctrip.framework.apollo.spring.property.SpringValueRegistry.scanAndClean(SpringValueRegistry.java:67)
at com.ctrip.framework.apollo.spring.property.SpringValueRegistry.access$000(SpringValueRegistry.java:18)
at com.ctrip.framework.apollo.spring.property.SpringValueRegistry$1.run(SpringValueRegistry.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.google.common.collect.LinkedListMultimap$1EntriesImpl
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
... 16 more
原因:
controller 中又没有写完的函数,RequestMapping中的值一样了,导致的。请检查是否如我所说的一样,如果解决了,请点个赞,欢迎交流