azqhdyt4pggs7smw
4 questions
2 answers
Avatar
0
azqhdyt4pggs7smw Beginner
EzyRepository annotation could not instantiate repo class.
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 class="markdown-block position-relative overflow-auto source-java"> <pre> bean (xxxRepository, xxxRepository) implementation not found, uncompleted classes: [class com.xxx.service.xxxServiceImpl] </pre> </div>when I try to EzyAutoBind repository to a Service Singleton class <p> I'm using MySql by the way </p>
Answer
Avatar
0
azqhdyt4pggs7smw Beginner
Multiple application inside applications tag in zone settings xml
How to create multiple application within applications tag? <div class="markdown-block position-relative overflow-auto source-xml"> <pre> &lt;<span class="pl-ent">applications</span>&gt; &lt;<span class="pl-ent">application</span>&gt; &lt;<span class="pl-ent">name</span>&gt;app1&lt;/<span class="pl-ent">name</span>&gt; &lt;<span class="pl-ent">folder</span>&gt;app1-app-entry&lt;/<span class="pl-ent">folder</span>&gt; &lt;<span class="pl-ent">entry-loader</span>&gt;com.abc.app1.app.AppEntryLoader&lt;/<span class="pl-ent">entry-loader</span>&gt; &lt;<span class="pl-ent">config-file</span>&gt;config/config.properties&lt;/<span class="pl-ent">config-file</span>&gt; &lt;/<span class="pl-ent">application</span>&gt; &lt;<span class="pl-ent">application</span>&gt; &lt;<span class="pl-ent">name</span>&gt;app2&lt;/<span class="pl-ent">name</span>&gt; &lt;<span class="pl-ent">folder</span>&gt;app2-app-entry&lt;/<span class="pl-ent">folder</span>&gt; &lt;<span class="pl-ent">entry-loader</span>&gt;com.abc.app2.app.AppEntryLoader&lt;/<span class="pl-ent">entry-loader</span>&gt; &lt;<span class="pl-ent">config-file</span>&gt;config/config.properties&lt;/<span class="pl-ent">config-file</span>&gt; &lt;/<span class="pl-ent">application</span>&gt; &lt;/<span class="pl-ent">applications</span>&gt; </pre> </div>is it the correct way to define?
Answer
Avatar
0
azqhdyt4pggs7smw Beginner
Difference between PlayerManger in service class vs in room class
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?
Answer
Avatar
1
azqhdyt4pggs7smw Beginner
LocatedPlayerManager for a mahjong game
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?
Answer