{"id":8495,"date":"2024-06-06T21:01:01","date_gmt":"2024-06-06T13:01:01","guid":{"rendered":""},"modified":"2024-06-06T21:01:01","modified_gmt":"2024-06-06T13:01:01","slug":"\u91cd\u5199hashcode\u65b9\u6cd5\u76ee\u7684_jdk1.8\u662fjdk8.0\u5417","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8495.html","title":{"rendered":"\u91cd\u5199hashcode\u65b9\u6cd5\u76ee\u7684_jdk1.8\u662fjdk8.0\u5417"},"content":{"rendered":"
Connected to the target VM, address: '127.0.0.1:49333', transport: 'socket'\nFailed to instantiate SLF4J LoggerFactory\nReported exception:\njava.lang.NoClassDefFoundError: ch\/qos\/logback\/core\/spi\/LifeCycle\n\tat java.lang.ClassLoader.defineClass1(Native Method)\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:763)\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:468)\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:74)\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:369)\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:363)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:362)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\n\tat org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:59)\n\tat org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:50)\n\tat org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)\n\tat org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)\n\tat org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)\n\tat org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)\n\tat org.apache.commons.logging.LogAdapter$Slf4jAdapter.createLocationAwareLog(LogAdapter.java:130)\n\tat org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:91)\n\tat org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)\n\tat org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)\n\tat org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:194)\n\tat geektime.spring.springbucks.waiter.WaiterServiceApplication.main(WaiterServiceApplication.java:22)\nCaused by: java.lang.ClassNotFoundException: ch.qos.logback.core.spi.LifeCycle\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:382)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\n\t... 24 more\nException in thread \"main\" java.lang.NoClassDefFoundError: ch\/qos\/logback\/core\/spi\/LifeCycle\n\tat java.lang.ClassLoader.defineClass1(Native Method)\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:763)\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:468)\n\tat java.net.URLClassLoader.access$100(URLClassLoader.java:74)\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:369)\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:363)\n\tat java.security.AccessController.doPrivileged(Native Method)\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:362)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\n\tat org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:59)\n\tat org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:50)\n\tat org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)\n\tat org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)\n\tat org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)\n\tat org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)\n\tat org.apache.commons.logging.LogAdapter$Slf4jAdapter.createLocationAwareLog(LogAdapter.java:130)\n\tat org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:91)\n\tat org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)\n\tat org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)\n\tat org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:194)\n\tat geektime.spring.springbucks.waiter.WaiterServiceApplication.main(WaiterServiceApplication.java:22)\nCaused by: java.lang.ClassNotFoundException: ch.qos.logback.core.spi.LifeCycle\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:382)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\n\t... 24 more\nDisconnected from the target VM, address: '127.0.0.1:49333', transport: 'socket'\n\nProcess finished with exit code 1\n<\/code><\/pre>\n\u76f8\u540c\u4ee3\u7801\uff0c\u522b\u4eba\u6ca1\u6709\u95ee\u9898\uff0c\u81ea\u5df1\u672c\u5730\u542f\u52a8\u62a5\u8fd9\u4e2a\uff0c\u53ef\u80fd\u672c\u5730jar\u95ee\u9898\u3002<\/p>\n
\u628amaven \u4e2djar \u5220\u9664\uff0c\u91cd\u65b0\u4e0b\u8f7d\uff0cOK\u3002<\/p>\n
<\/p>\n
<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"\u91cd\u5199hashcode\u65b9\u6cd5\u76ee\u7684_jdk1.8\u662fjdk8.0\u5417ConnectedtothetargetVM,address:'127.0.0.1:49333',transport:'socket'Failedtoinsta...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8495"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8495"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8495\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}