Code Monkey home page Code Monkey logo

Comments (13)

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

运行的是 cosid-example 吗?

from cosid.

123Mrxiao avatar 123Mrxiao commented on August 25, 2024

对的,但我迁移出去使用Maven进行构建

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

pom 依赖发出来看一下。

from cosid.

123Mrxiao avatar 123Mrxiao commented on August 25, 2024
org.springframework.boot spring-boot-starter-parent 2.6.3
<dependencies>
    <dependency>
        <groupId>me.ahoo.cosid</groupId>
        <artifactId>cosid-spring-boot-starter</artifactId>
        <version>${cosid.version}</version>
    </dependency>

    <dependency>
        <groupId>me.ahoo.cosid</groupId>
        <artifactId>cosid-core</artifactId>
        <version>1.8.6</version>
    </dependency>

    <dependency>
        <groupId>me.ahoo.cosid</groupId>
        <artifactId>cosid-jackson</artifactId>
        <version>1.8.6</version>
    </dependency>

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-tx</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-test</artifactId>
    </dependency>

    <dependency>
        <groupId>org.mybatis</groupId>
        <artifactId>mybatis</artifactId>
        <version>3.5.7</version>
    </dependency>

    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-annotations</artifactId>
    </dependency>

    <dependency>
        <groupId>me.ahoo.cosid</groupId>
        <artifactId>cosid-shardingsphere</artifactId>
        <version>1.8.6</version>
    </dependency>
</dependencies>

from cosid.

123Mrxiao avatar 123Mrxiao commented on August 25, 2024

是否缺少依赖了呢

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

是否缺少依赖了呢

是的,缺少存储后端,目前有三类存储后端:

  • cosid-jdbc
  • cosid-spring-redis
  • cosid-zookeeper

from cosid.

123Mrxiao avatar 123Mrxiao commented on August 25, 2024

好的,我先引入

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

https://cosid.ahoo.me/guide/cosid-jdbc.html

from cosid.

123Mrxiao avatar 123Mrxiao commented on August 25, 2024

我按照你的说法引入了相关的依赖, 但还是出现了一些问题
image

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

异常描述很清楚啊,EntityRepository 没有注入啊。

from cosid.

123Mrxiao avatar 123Mrxiao commented on August 25, 2024

好的, 我采用SnowflakeId方案成功运行起来了

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

好的, 我采用SnowflakeId方案成功运行起来了

如果没有其他问题的话,请关闭该Issue吧。

from cosid.

Ahoo-Wang avatar Ahoo-Wang commented on August 25, 2024

#33

from cosid.

Related Issues (20)

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.