azqhdyt4pggs7smw
4 question(s)
2 answer(s)
Avatar
0
azqhdyt4pggs7smw Beginner
EzyRepository annotation could not instantiate repo class.
<div class="markdown-block">I added ezydata-jpa to my EzyFox Server and followed EzyChat 003: Connect to database tutorial on your youtube channel. The only difference is that I automated the config process with ezyfox-boot-autoconfigure. However this exception poped </div><div class="markdown-block">bean (xxxRepository, xxxRepository) implementation not found, uncompleted classes: [class com.xxx.service.xxxServiceImpl]</div><div class="markdown-block">when I try to EzyAutoBind repository to a Service Singleton class I'm using MySql by the way</div>
Answer
Avatar
0
azqhdyt4pggs7smw Beginner
Multiple application inside applications tag in zone settings xml
<div class="markdown-block">How to create multiple application within applications tag? </div><div class="markdown-block">&lt;applications&gt;</div><div class="markdown-block">&lt;application&gt;</div><div class="markdown-block">&lt;name&gt;app1&lt;/name&gt;</div><div class="markdown-block">&lt;folder&gt;app1-app-entry&lt;/folder&gt;</div><div class="markdown-block">&lt;entry-loader&gt;com.abc.app1.app.AppEntryLoader&lt;/entry-loader&gt;</div><div class="markdown-block">&lt;config-file&gt;config/config.properties&lt;/config-file&gt;</div><div class="markdown-block">&lt;/application&gt;</div><div class="markdown-block">&lt;application&gt;</div><div class="markdown-block">&lt;name&gt;app2&lt;/name&gt;</div><div class="markdown-block">&lt;folder&gt;app2-app-entry&lt;/folder&gt;</div><div class="markdown-block">&lt;entry-loader&gt;com.abc.app2.app.AppEntryLoader&lt;/entry-loader&gt;</div><div class="markdown-block">&lt;config-file&gt;config/config.properties&lt;/config-file&gt;</div><div class="markdown-block">&lt;/application&gt;</div><div class="markdown-block">&lt;/applications&gt;</div><div class="markdown-block">is it the correct way to define?</div>
Answer
Avatar
0
azqhdyt4pggs7smw Beginner
Difference between PlayerManger in service class vs in room class
<div class="markdown-block">In the one-two-three demo I found that there 2 PlayerManager in GameService class. One is an attribute in the class and another one is in the room. Are there any difference between the two? Which one should I use when add or removing a player?</div>
Answer
Avatar
1
azqhdyt4pggs7smw Beginner
LocatedPlayerManager for a mahjong game
<div class="markdown-block">I tried to turn the one-two-three demo to a mahjong game. I stuck at where to get the available() method. It was in the AbstractPlayerManager but it is not extended in the DefaultLocatedPlayerManager. Is this the right class to implement a room that has a max players count?</div>
Answer