GithubHelp home page GithubHelp logo

spring-boot-netty's People

Contributors

kgusarov avatar vrudikov 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-boot-netty's Issues

[THANKS] Gradle and updated dependecies

Hi, @kgusarov!
I really liked this project
It's so convenient to use it with Spring Boot. I would like to see it as a Spring Boot team project :)

I did some things:

  • updated deps
  • added Gradle as a build tool
  • refactored test to be in touch with updated Spring Boot

You can look at my master

Thanks for you work!

Field calls in org.kgusarov.integration.spring.netty.onconnect.OnConnectController required a bean of type 'org.kgusarov.integration.spring.netty.etc.HandlerMethodCalls' that could not be found.

I download your code, and read your docs.But I am a beginner of spring and netty and get the error log below:

2020-03-17 18:05:23.251 INFO 24684 --- [ main] o.k.i.s.n.o.OnConnectApplication : Starting OnConnectApplication on DESKTOP-FMHBFVQ with PID 24684 (D:\github3\spring-boot-netty\build\classes\java\test started by ZHB in D:\github3\spring-boot-netty)
2020-03-17 18:05:23.254 DEBUG 24684 --- [ main] o.k.i.s.n.o.OnConnectApplication : Running with Spring Boot v2.2.3.RELEASE, Spring v5.2.3.RELEASE
2020-03-17 18:05:23.255 INFO 24684 --- [ main] o.k.i.s.n.o.OnConnectApplication : The following profiles are active: onconnect
2020-03-17 18:05:23.747 INFO 24684 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2020-03-17 18:05:23.770 INFO 24684 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13ms. Found 0 JPA repository interfaces.
2020-03-17 18:05:24.071 INFO 24684 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2020-03-17 18:05:24.169 INFO 24684 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2020-03-17 18:05:24.213 INFO 24684 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2020-03-17 18:05:24.309 INFO 24684 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.10.Final}
2020-03-17 18:05:24.507 INFO 24684 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
2020-03-17 18:05:24.705 INFO 24684 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2020-03-17 18:05:24.921 INFO 24684 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2020-03-17 18:05:24.928 INFO 24684 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-03-17 18:05:24.960 WARN 24684 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'onConnectController': Unsatisfied dependency expressed through field 'calls'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.kgusarov.integration.spring.netty.etc.HandlerMethodCalls' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2020-03-17 18:05:24.961 INFO 24684 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2020-03-17 18:05:24.961 INFO 24684 --- [ main] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'
2020-03-17 18:05:24.966 INFO 24684 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2020-03-17 18:05:24.967 INFO 24684 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2020-03-17 18:05:24.973 INFO 24684 --- [ main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-03-17 18:05:25.105 ERROR 24684 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :


APPLICATION FAILED TO START


Description:

Field calls in org.kgusarov.integration.spring.netty.onconnect.OnConnectController required a bean of type 'org.kgusarov.integration.spring.netty.etc.HandlerMethodCalls' that could not be found.

The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)

Action:

Consider defining a bean of type 'org.kgusarov.integration.spring.netty.etc.HandlerMethodCalls' in your configuration.

Disconnected from the target VM, address: 'javadebug', transport: 'shared memory'.

Please help me.

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.