python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
java.lang.ClassCastException class xxxxx cannot be cast to class io.micronaut.data.model.Page Micronaut data
Trying to implement the pagination with Micronaut data with MongoDB as below
@MongoRepository
public interface IDiscountRepository extends ReactorCrudRepository<Discount, ObjectId> , ReactorJpaS...

San Jaisy
Votes: 0
Answers: 1
Dynamic combination of multiple PredicateSpecification with JpaSpecificationExecutor with Micronuat data for MongoDB
How can I append all the PredicateSpecification or QuerySpecification using JpaSpecificationExecutor in MongoDB with Micronaut data?
Predicate
public class DiscountSpecification {
final static Bea...

San Jaisy
Votes: 0
Answers: 2
org/bson/internal/CodecRegistryHelper with Micronaut data MongoDB
Using the latest Micronaut 3.4.1 with micronaut data and MongoDB. Keep getting the exception as java.lang.NoClassDefFoundError: org/bson/internal/CodecRegistryHelper
Gradle Dependencies
dependencies {...

San Jaisy
Votes: 0
Answers: 1
Shared microservice, Micronaut error - Multiple possible bean candidates found
I am trying to build a simple API using Micronaut to fetch all users, which works properly on localhost, but facing the below issue with docker image -
Internal Server Error: Error instantiating bean...

Ishika Jain
Votes: 0
Answers: 1