Bean with same name already defined error

Hello, @kiran.ouseph !
I do apologize for the late reply.

I
First of all, Jmix Data Repositories is nothing else but optional syntactic sugar over the DataManager. It is just a wrapper that gives the ability to work with entities in a convenient way and do not break jmix-specific mechanisms like soft-deletion, audit, dynamic attributes, lazy loading, etc.

So you can freely disable them by adding jmix.core.data-repositories.enabled=false into application.properties.
See the example project with disabled jmix repositories:
disable-jmix-repositories.zip (382.2 KB)

UserRepository, RoleReposotiry and other mandatory for work classes has nothing in common with data repositories but name (you can see it by viewing their code).

II
An example of application using two different types of Data Repositories you can see in next project:
repclashsample.zip (344.3 KB)

Please specify different packages without overlap:

// ...
@SpringBootApplication
@EnableJpaRepositories("com.company.repclashsample.plainrepo")
@EnableJmixDataRepositories("com.company.repclashsample.repo")
public class RepclashsampleApplication {
// ...

III
Please, provide some project example in order to say, why the last error occurs (which ends with org.springframework.beans.factory.BeanCurrentlyInCreationException).

Unfortunately, for now, I can only guess that it is some bean configuration conflict between Jmix app and your library.

Regards,
Dmitry