Comments (13)
运行的是 cosid-example 吗?
from cosid.
对的,但我迁移出去使用Maven进行构建
from cosid.
pom 依赖发出来看一下。
from cosid.
<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.
是否缺少依赖了呢
from cosid.
是否缺少依赖了呢
是的,缺少存储后端,目前有三类存储后端:
cosid-jdbc
cosid-spring-redis
cosid-zookeeper
from cosid.
好的,我先引入
from cosid.
https://cosid.ahoo.me/guide/cosid-jdbc.html
from cosid.
from cosid.
异常描述很清楚啊,EntityRepository
没有注入啊。
from cosid.
好的, 我采用SnowflakeId方案成功运行起来了
from cosid.
好的, 我采用SnowflakeId方案成功运行起来了
如果没有其他问题的话,请关闭该Issue吧。
from cosid.
from cosid.
Related Issues (20)
- spring-cloud 已经发布了2022.0.0,请尽快支持正式版本
- radix generateAsString() 如何生成纯数字字符串 HOT 4
- 文档麻烦写清楚点 HOT 3
- machine 是配置在cosid下面 还是snowflake HOT 2
- machine.MachineProperties' that could not be found. HOT 8
- 问下这个machineId会回收吗? HOT 4
- 问下怎么获取machineId HOT 2
- 雪花算法的41bit计算公式少了 /24 。 41-bittimestamp=(1L<<41)/(1000/3600/24/365) HOT 3
- 请问是否可以把main分支最近的提交合并到springboot3,并发布新版本到maven仓库呢 HOT 1
- 在号段模式下能否增加获取指定位数的ID。 HOT 1
- 这是什么原因 HOT 1
- Whether the jdk1.8 is supported? HOT 2
- 是否不支持SpringBoot 2.7 HOT 1
- 请问哪个版本的支持 jdk1.8? HOT 1
- Using deprecated '-debug' fallback for parameter name resolution HOT 1
- CosId Proxy RESTful API Doc
- JDK8 不兼容,求兼容 HOT 1
- Cosid JdbcIdSegmentDistributor 支持多数据库么? HOT 2
- 雪花时间位压缩 HOT 1
- PrefetchWorker 支持使用虚拟线程
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosid.