Giter Site home page Giter Site logo

simbot-mirai-demo's People

Contributors

fortescarlet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simbot-mirai-demo's Issues

这个报错不知道为什么qwq 求解惑

| love.simbot.example.SimbotExampleApplication : Active resources: [simbot.yml]
Exception in thread "main" love.forte.common.ioc.exception.NoSuchDependException: interface love.forte.simbot.bot.BotManager
at love.forte.common.ioc.DependCenter.get(DependCenter.kt:945)
at love.forte.simbot.core.SimbotApp.createSimbotContext(SimbotApp.kt:411)
at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:250)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:471)
at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:434)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt)
at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt)
at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:36)

运行之后就爆错这个

demo运行时报错


[2021-05-26T22:54:48.117862500]-[INFO ] | love.simbot.example.SimbotExampleApplication : Active resources: [simbot.properties, simbot.yml]
Exception in thread "main" java.lang.IllegalAccessError: class love.forte.common.utils.annotation.AnnotationInvocationHandler (in unnamed module @0x1a93a7ca) cannot access class sun.reflect.annotation.ExceptionProxy (in module java.base) because module java.base does not export sun.reflect.annotation to unnamed module @0x1a93a7ca
at love.forte.common.utils.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:98)
at jdk.proxy1/jdk.proxy1.$Proxy3.value(Unknown Source)
at love.forte.common.ioc.DependCenter.inject0(DependCenter.kt:195)
at love.forte.common.ioc.DependCenter.inject(DependCenter.kt:154)
at love.forte.common.ioc.DependCenter.register(DependCenter.kt:832)
at love.forte.simbot.core.SimbotApp.initDependCenterWithAutoConfigures(SimbotApp.kt:229)
at love.forte.simbot.core.SimbotApp.run$core(SimbotApp.kt:185)
at love.forte.simbot.core.SimbotApp$Run.run(SimbotApp.kt:416)
at love.forte.simbot.core.SimbotApp$Run.run$default(SimbotApp.kt:384)
at love.forte.simbot.core.SimbotApp.run(SimbotApp.kt)
at love.simbot.example.SimbotExampleApplication.main(SimbotExampleApplication.java:29)

在运行demo时出现如上报错,jdk版本是AdoptOpenJDK8_292

再pom文件中simbot的parent的version问题

2.0.8好像和jdk1.8版本(可能)有冲突,在编译的时候会报:Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16.的错误

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.