Giter Club home page Giter Club logo

Comments (4)

ST-DDT avatar ST-DDT commented on September 22, 2024

Could you please post the error mesaage along with the version you are using?

from grpc-spring.

ocebenzer avatar ocebenzer commented on September 22, 2024

I'm having a similar problem. I'm following the Getting Started Guide, but Spring Boot 3 seems to ignore @GrpcService. Probably there is some kind of auto-detecting issue described in 3rd task of Implementing the Service.
And my pom.xml, downgrading spring-boot-starter-parent seemed to work for me.
i.e. from:

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>3.2.2</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>

to:

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.5.7</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>

from grpc-spring.

dsyer avatar dsyer commented on September 22, 2024

You never said which version of grpc-spring you are using. Is it possibly not the latest?

from grpc-spring.

ocebenzer avatar ocebenzer commented on September 22, 2024

You never said which version of grpc-spring you are using. Is it possibly not the latest?

You were right, I was using 2.15.0 and 3.0.0 is released and Beans are autowired there. What a simple mistake, thank you!

from grpc-spring.

Related Issues (20)

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.