Open donkahlero opened 8 months ago
rules_spring took a BYOSD (bring your own spring dependencies) approach because we didn't want to lock you into a particular version of anything. We require you to add all the required Spring/SpringBoot dependencies to the deps list.
This includes the foundation Spring Boot "loader" jar which knows how to launch a Spring Boot app. The problem is you are missing that.
You are missing this lib from your deps list: org.springframework.boot:spring-boot-loader
Or, for convenience, we have an "import bundle" that defines the min set of dependencies: Spring Boot import bundle example
Please use one of the above solution and let us know how it goes.
(I revised the title of this Issue to reflect the actual error. I don't think this is related to Spring Cloud at all)
Hi @plaird, thanks for getting back to me. I actually found that out myself, but you were slightly faster than me in answering. Sorry for that!
However, there is some other issue with the spring cloud functions deployment on AWS that I am investigating at the moment and I will update this issue for anyone that is interested in this as soon as I know more.
FYI: If you arrive here by looking at the title, and are using Spring Boot 3, the issue you are facing might be: https://github.com/salesforce/rules_spring/issues/177
Hello dear maintanance team,
currently, I am trying to move away from a
gradle
-base Spring Cloud Functions build towards abazel
build.My configuration looks as follows:
MODULES.bzl
BUILD
However, if try to execute my spring application, I am getting this result:
I saw that there has been an issue in the past (https://github.com/salesforce/rules_spring/issues/13) but that has been marked resolved after some PRs.
What I am doing wrong here? What am I missing? Are Spring Cloud Functions even supported?
Cheers and thanks for your help! Jonas