You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.git and move into the root direcctory using the command cd 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 -help to 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"
The text was updated successfully, but these errors were encountered:
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:
git clone https://github.com/kmgowda/SBK.git
and move into the root direcctory using the commandcd SBK
../gradlew build
(ensure that JDK 17+ and Gradle 7+ is previously installed) to build the project.tar -xvf ./build/distributions/sbk.tar -C ./build/distributions/.
./gradlew check
(optional step)../gradlew installDist
../build/distributions/sbk/bin/sbk -help
to run the SBK project to get the usage details.Expected behavior
The expected behavior is that the SBK project must run and display the usage details of SBK command.
Additional context
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"
The text was updated successfully, but these errors were encountered: