-
-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Description
Describe the Issue (Bug/Feature)
Bug: When the help command ./build/install/sbk/bin/sbk -help is executed in Git Bash in the root directory of this project, an error due to main class caused by ClassNotFoundException occurs.
To Reproduce
Steps to reproduce the behavior:
- Open Git Bash and clone this repository using the command
git clone https://github.com/kmgowda/SBK.gitand move into the root direcctory using the commandcd SBK. - Use the command
./gradlew build(ensure that JDK 17+ and Gradle 7+ is previously installed) to build the project. - Extract the compressed tar file using the command
tar -xvf ./build/distributions/sbk.tar -C ./build/distributions/. - Ensure that the test cases pass using the command
./gradlew check(optional step). - Get the binary files of the project using the command
./gradlew installDist. - Now after all these steps, use the command
./build/distributions/sbk/bin/sbk -helpto run the SBK project to get the usage details. - See the error related to main class caused by ClassNotFoundException.
Expected behavior
The expected behavior is that the SBK project must run and display the usage details of SBK command.
Additional context
- The error says:
Error: Could not find or load main class io.sbk.main.SbkMain
Caused by: java.lang.ClassNotFoundException: io.sbk.main.SbkMain

2. The version of git I'm using is "git version 2.35.1.windows.2"
Reactions are currently unavailable