intellij启动kafka出错

发布于 2021-12-04 08:39:45 字数 15137 浏览 970 评论 1

D:ProgramFilesJavajdk1.7.0_71binjava -Didea.launcher.port=7535 "-Didea.launcher.bin.path=D:ProgramFilesJavaIntelliJ IDEA 2016.1.1bin" -Dfile.encoding=UTF-8 -classpath "D:ProgramFilesJavajdk1.7.0_71jrelibcharsets.jar;D:ProgramFilesJavajdk1.7.0_71jrelibdeploy.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextaccess-bridge-64.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextdnsns.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextjaccess.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextlocaledata.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextsunec.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextsunjce_provider.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextsunmscapi.jar;D:ProgramFilesJavajdk1.7.0_71jrelibextzipfs.jar;D:ProgramFilesJavajdk1.7.0_71jrelibjavaws.jar;D:ProgramFilesJavajdk1.7.0_71jrelibjce.jar;D:ProgramFilesJavajdk1.7.0_71jrelibjfr.jar;D:ProgramFilesJavajdk1.7.0_71jrelibjfxrt.jar;D:ProgramFilesJavajdk1.7.0_71jrelibjsse.jar;D:ProgramFilesJavajdk1.7.0_71jrelibmanagement-agent.jar;D:ProgramFilesJavajdk1.7.0_71jrelibplugin.jar;D:ProgramFilesJavajdk1.7.0_71jrelibresources.jar;D:ProgramFilesJavajdk1.7.0_71jrelibrt.jar;D:ProgramFileskafka-0.10.0.1-srcouttestcore;D:ProgramFileskafka-0.10.0.1-srcoutproductioncore;D:ProgramFileskafka-0.10.0.1-srcouttestclients;D:ProgramFileskafka-0.10.0.1-srcoutproductionclients;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1net.jpountz.lz4lz41.3.0c708bb2590c0652a642236ef45d9f99ff842a2celz4-1.3.0.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.xerial.snappysnappy-java1.1.2.648d92871ca286a47f230feb375f0bbffa83b85f6snappy-java-1.1.2.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.slf4jslf4j-api1.7.21139535a69a4239db087de9bab0bee568bf8e0b70slf4j-api-1.7.21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.bouncycastlebcpkix-jdk15on1.54b11bfee99bb11eea344de6e4a07fe89212c55c02bcpkix-jdk15on-1.54.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1junitjunit4.122973d150c0dc1fefe998f834810d68f278ea58ecjunit-4.12.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.bouncycastlebcprov-jdk15on1.541acdedeb89f1d950d67b73d481eb7736df65eedbbcprov-jdk15on-1.54.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.hamcresthamcrest-core1.342a25dc3219429f0e5d060061f71acb49bf010a0hamcrest-core-1.3.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.slf4jslf4j-log4j121.7.217238b064d1aba20da2ac03217d700d91e02460faslf4j-log4j12-1.7.21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1log4jlog4j1.2.175af35056b4d257e4b64b9e8069c0746e8b08629flog4j-1.2.17.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1net.sf.jopt-simplejopt-simple4.9ee9e9eaa0a35360dcfeac129ff4923215fd65904jopt-simple-4.9.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1com.yammer.metricsmetrics-core2.2.0f82c035cfa786d3cbec362c38c22a5f5b1bc8724metrics-core-2.2.0.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.scala-langscala-library2.10.6421989aa8f95a05a4f894630aad96b8c7b828732scala-library-2.10.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1com.101teczkclient.8c0f700a4a3b386279d7d8dd164edecbe836cbfdbzkclient-0.8.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.zookeeperzookeeper3.4.61b2502e29da1ebaade2357cd1de35a855fa3755zookeeper-3.4.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.easymockeasymock3.49fdeea183a399f25c2469497612cad131e920fa3easymock-3.4.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-all1.0.0-M339849121a7173c198911543c459e603697b30962bapi-all-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-core-api2.0.0-M21367dabc497b15dddf19cb42cf14621947b40a5b3apacheds-core-api-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptor-kerberos2.0.0-M21fc9e9e6e77b524d51a5146dccf207b8206231185apacheds-interceptor-kerberos-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-protocol-shared2.0.0-M21bc73f82bffa876b23d3a4817d279046398e39701apacheds-protocol-shared-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-protocol-kerberos2.0.0-M21435dd0bdd1a28d0b5adcc1501343797391000887apacheds-protocol-kerberos-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-protocol-ldap2.0.0-M21b32e65ade2833b22bf3eedfc759d76b555359324apacheds-protocol-ldap-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-ldif-partition2.0.0-M21347cfd46bed193f57c314a76249fccdf83cd2993apacheds-ldif-partition-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-mavibot-partition2.0.0-M217b78b607c05e7f25431fc864f602c880fbc80cd4apacheds-mavibot-partition-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-jdbm-partition2.0.0-M216c97a0f6670deed290cf86430bb3674fc9cfede8apacheds-jdbm-partition-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.scalatestscalatest_2.102.2.699aa75c306a61b6470af834cd91f64765e412bc2scalatest_2.10-2.2.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.objenesisobjenesis2.23fb533efdaa50a768c394aa4624144cf8df17845objenesis-2.2.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.servicemix.bundlesorg.apache.servicemix.bundles.xpp31.1.4c_6816bae41640a7d4621cdbfa90b9e6058f7d6ad9eorg.apache.servicemix.bundles.xpp3-1.1.4c_6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.servicemix.bundlesorg.apache.servicemix.bundles.dom4j1.6.1_5f5da21ae9508008f7b28001983adc143cb310ad7org.apache.servicemix.bundles.dom4j-1.6.1_5.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1commons-poolcommons-pool1.64572d589699f09d866a226a14b7f4323c6d8f040commons-pool-1.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.minamina-core2.0.10a1cb1136b104219d6238de886bf5a3ea4554eb58mina-core-2.0.10.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1commons-langcommons-lang2.6ce1edb914c94ebc388f086c6827e8bdeec71ac2commons-lang-2.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1commons-collectionscommons-collections3.2.28ad72fe39fa8c91eaaf12aadb21e0c3661fe26d5commons-collections-3.2.2.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.servicemix.bundlesorg.apache.servicemix.bundles.antlr2.7.7_598912946d4e6746792c631d31a742f7d4d9c75a3org.apache.servicemix.bundles.antlr-2.7.7_5.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1commons-iocommons-io2.4b1b6ea3b7e4aa4f492509a4952029cd8e48019adcommons-io-2.4.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-core-constants2.0.0-M2161e2bcee20b9ab4ad234dc1fffa1190adfac3fcfapacheds-core-constants-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-i18n2.0.0-M211cad886a17dbe04a1093df6db17f4c33ce46c3ddapacheds-i18n-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-i18n1.0.0-M33d1cd144cdde056ee5f09048aa6aa1da23b823871api-i18n-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-asn1-api1.0.0-M331f52883cba4ce7ca668e7d3229fed3d2e1145c1dapi-asn1-api-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-client-api1.0.0-M332c2ff18418350e3993e867c37a59053b746f5eeaapi-ldap-client-api-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-codec-core1.0.0-M337f05cd30a81106054afb7a48591bb7987a6c5c8api-ldap-codec-core-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-extras-aci1.0.0-M33edc28c689c4c6664ba7bd3103c0a07d85a4e3f65api-ldap-extras-aci-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-extras-util1.0.0-M33175f752cc06f35def742f2396f554726442696acapi-ldap-extras-util-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-model1.0.0-M334e082de5155ef833719d6f16672cbf084810ff53api-ldap-model-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-util1.0.0-M33d75b8442dcd1cd11670254c4bcc6c883fada2e88api-util-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1net.sf.ehcacheehcache2.8.5fa172f932f53bbcf7b47a920c9ea03d58ee0f81aehcache-2.8.5.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-core2.0.0-M21b3710ebd1ca9214a745f44ee7b7b52b55f22e26fapacheds-core-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-kerberos-codec2.0.0-M21590b45b392f2c8f8234b554b55887a36eed144f4apacheds-kerberos-codec-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-core-shared2.0.0-M215d2169a96749d334ef5a0a815951a20e30fe6b06apacheds-core-shared-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.jdbmapacheds-jdbm12.0.0-M3d26d8a464641b50b46f109b19f01b0cd1d841533apacheds-jdbm1-2.0.0-M3.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-asn1-ber1.0.0-M331114150b76c04681efc5cc8bb901caf729bc2f0fapi-asn1-ber-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-extras-codec-api1.0.0-M3393a9b6a9a1fc27ffa8d5e2b7d499a10fee0cffeeapi-ldap-extras-codec-api-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-extras-codec1.0.0-M33b5cf546908d2b1ce998a3cb985bb65e26234b605api-ldap-extras-codec-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-extras-sp1.0.0-M3362960fe2172b106baaac731071b1fd54aea32ba2api-ldap-extras-sp-1.0.0-M33.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-xdbm-partition2.0.0-M213fd6d516470b93b2422a1387657177ea9cd976ddapacheds-xdbm-partition-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.mavibotmavibot1.0.0-M8511d8c0027a44eff79199ad5ef9bd16c00768e10mavibot-1.0.0-M8.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-core-avl2.0.0-M2118c64190f2d38988c6d8c6cbd1bfae85d1e03181apacheds-core-avl-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.scala-langscala-reflect2.10.63259f3df0f166f017ef5b2d385445808398c316cscala-reflect-2.10.6.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-admin2.0.0-M2162c8d0f7e6a027ab0af266d0839846a1e0071702apacheds-interceptors-admin-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-authn2.0.0-M212009ff87b1537c9e7a6f2c01effc32fcdc27b396apacheds-interceptors-authn-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-number2.0.0-M21876539e43e304bf395acea46fc8551d14522a6aaapacheds-interceptors-number-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-authz2.0.0-M21fa667f139ca89b8d7c2bd07958408f981e759654apacheds-interceptors-authz-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-changelog2.0.0-M21a6c3235cb51369297bfc34f4c7f032c578480a61apacheds-interceptors-changelog-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-collective2.0.0-M212692b5e358a7d2f93bafdc495a7723a273dea27bapacheds-interceptors-collective-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-event2.0.0-M217215e047aae7498cb5be89e341bed009146a7c96apacheds-interceptors-event-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-exception2.0.0-M2157bc6929596413fbd59d5dab903be0b36ceddb0aapacheds-interceptors-exception-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-journal2.0.0-M215e9f8554f7bac5d40f3bb69ed7e40d287c3859d8apacheds-interceptors-journal-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-normalization2.0.0-M212c9873e8e60a60629fbcede7bc5d18a70883bfe4apacheds-interceptors-normalization-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-operational2.0.0-M21a2010d8dfdcaa393e3b8e61b224c119ec4dc8c4fapacheds-interceptors-operational-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-referral2.0.0-M21e77c3bc86db3c9257ca7b57ef2ae5d6dc2db3e3eapacheds-interceptors-referral-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-schema2.0.0-M21e0ad6e79c2e3f06eab3523c14ceb21eab115947eapacheds-interceptors-schema-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-subtree2.0.0-M217de04975fc4647ca90a51da0b78adadb53019ab9apacheds-interceptors-subtree-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.serverapacheds-interceptors-trigger2.0.0-M2196e6473384594ef1f5d5030bba12e1cece8c843dapacheds-interceptors-trigger-2.0.0-M21.jar;C:UsersSMILE.XIAO.gradlecachesmodules-2files-2.1org.apache.directory.apiapi-ldap-extras-trigger1.0.0-M33bd227abfecd9d8720377915922aab691da129291api-ldap-extras-trigger-1.0.0-M33.jar;D:ProgramFilesJavajdk1.7.0_71jre;D:ProgramFilesJavaIntelliJ IDEA 2016.1.1libidea_rt.jar" com.intellij.rt.execution.application.AppMain Kafka.Kafka config/server.properties
Exception in thread "main" java.lang.NoClassDefFoundError: Kafka/Kafka (wrong name: kafka/Kafka)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:191)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:122)

Process finished with exit code 1
 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

残花月 2021-12-04 23:25:20

Exception in thread "main" java.lang.NoClassDefFoundError: Kafka/Kafka (wrong name: kafka/Kafka)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文