-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find or load main class org.springframework.boot.loader.JarLauncher #184
Comments
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: 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, 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: |
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 (#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
The text was updated successfully, but these errors were encountered: