xuerong / peonyframwork Goto Github PK
View Code? Open in Web Editor NEW一个优秀的java服务器框架 可应用于游戏服务器/应用服务器开发
License: Apache License 2.0
一个优秀的java服务器框架 可应用于游戏服务器/应用服务器开发
License: Apache License 2.0
RequestNettyPBDecoder 类的 decode() 在半包读取时出现 opcode 丢失问题。
问题原因是 ByteBuf#readableBytes() 满足 headSize 长度但不满足消息体时,也就是
if (size > readAble - headSize) {
return;
}
代码段,在下次读取剩余半包时消息体正常读取,但 opcode 和 id 是局部变量而不是方法变量导致为 0,最后抛出 MMException
按照README操作,本地环境可以连接,但是发送消息框中输入登录消息是提示没有找到主键方法是为什么?
21:51:00.326 [defaultEventExecutorGroup-4-1] ERROR com.peony.entrance.websocket_json.WebSocketEntrance - handler msg exception:
com.peony.common.exception.MMException: 没找到主键方法 com.peony.core.data.entity.account.Account
at com.peony.core.data.cache.KeyParser.parseKeyForObject(KeyParser.java:58)
1、找不到build.gradle,只有build.gradle.old文件,将build.gradle.old修改为build.gradle,打开项目后报错 The Key=com.peony.demo.packet.Main-Class violates the Manifest spec!
2、找不到到启动类com.peony.engine.framework.server.Server
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.