Erudika / para

Multitenant backend server for building web and mobile apps rapidly. The backend for busy developers. (self-hosted or hosted)
https://paraio.org
Apache License 2.0
531 stars 146 forks source link

java.lang.UnsupportedOperationException: Not implemented in MockSearch.findById #302

Closed purushottam34 closed 6 days ago

purushottam34 commented 6 days ago

I encountered an error while trying to initialize Para. The error message indicates that the findById method in the MockSearch class is not implemented. Below is the stack trace of the error:

[ERROR] Failed to initialize Para. java.lang.UnsupportedOperationException: Not implemented. at com.erudika.para.core.search.MockSearch.findById(MockSearch.java:90) at com.erudika.para.server.aop.SearchQueryAspect.invoke(SearchQueryAspect.java:80) at com.erudika.para.server.utils.HealthUtils$1.performHealthCheck(HealthUtils.java:73) at com.erudika.para.server.utils.HealthUtils$1.onInitialize(HealthUtils.java:101) at com.erudika.para.core.utils.Para.initialize(Para.java:114) at com.erudika.para.server.ParaServer.initialize(ParaServer.java:148) at com.erudika.para.server.ParaServer.builder(ParaServer.java:399) at com.erudika.para.server.ParaServer.main(ParaServer.java:409) at com.erudika.para.jar.Run.main(Run.java:28)

albogdano commented 6 days ago

You are probably not starting Para from the correct jar file. There is a para-jar subfolder with the correct JAR. Duplicate of #300