Code Monkey home page Code Monkey logo

gamerental's People

Contributors

smcvb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gamerental's Issues

Circular Bean reference with Spring Boot version 2.6.4 and LoggingInterceptor Configurations

Is there any issues maybe with the Axon Version 4.5.11 and the Spring Boot Version 2.6.4 ?

***************************
APPLICATION FAILED TO START
***************************

Description:

The dependencies of some of the beans in the application context form a cycle:

┌──->──┐
|  applicationConfig
└──<-──┘


Action:

Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.

The Application starts without the following Configurations in the ApplicationConfig


    @Autowired
    fun configureLoggingInterceptorFor(
        commandBus: CommandBus,
        loggingInterceptor: LoggingInterceptor<Message<*>?>
    ) {
        commandBus.registerDispatchInterceptor(loggingInterceptor)
        commandBus.registerHandlerInterceptor(loggingInterceptor)
    }

    @Autowired
    fun configureLoggingInterceptorFor(eventBus: EventBus, loggingInterceptor: LoggingInterceptor<Message<*>?>?) {
        eventBus.registerDispatchInterceptor(loggingInterceptor)
    }

    @Autowired
    fun configureLoggingInterceptorFor(eventProcessingConfigurer: EventProcessingConfigurer, loggingInterceptor: LoggingInterceptor<Message<*>?>?) {
        eventProcessingConfigurer.registerDefaultHandlerInterceptor { config: org.axonframework.config.Configuration?, processorName: String? -> loggingInterceptor }
    }

    @Autowired
    fun configureLoggingInterceptorFor(queryBus: QueryBus, loggingInterceptor: LoggingInterceptor<Message<*>?>) {
        queryBus.registerDispatchInterceptor(loggingInterceptor)
        queryBus.registerHandlerInterceptor(loggingInterceptor)
    }

H2 console not viewable unless spring mvc is added as dependency

Hey Steven,

Currently when I run the program and try to access the H2 console: localhost:8080/h2-console I get a 404 even though you have enabled it in the properties.

Apparently the H2 console is not autoconfigured by default when only using webflux so adding the spring mvc dependency resolved the problem and I can now see the console and connect using the string (jdbc:h2:./database;AUTO_SERVER=TRUE).

Just letting you know - I think you should either add the dependency:

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

Or if you were connecting to the H2 database another way maybe add something to the README to describe it?

Regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.