Description:
Trying to run the given code snippet after installing Ballerina 1.0.0 Alpha by the installer, it gives an error saying error: invoking main method failed due to java.lang.NoClassDefFoundError: ballerinax/kubernetes/___init
Steps to reproduce:
import ballerina/io;
import ballerinax/kubernetes;
public function main() {
io:println("Hello, World!");
}
Affected Versions:
Ballerina 1.0.0 Alpha
This issue exists in the all extensions and we will be fixing this in next immediate release.
As a work around, you need to replace the .jar file manually.
These are steps
You need to do the same steps for k8 as well.