サンプル

public class ClassA {

public void method() {
char variable1;
int Variable1;
}
}
解決策
サンプルでは、'method()' 内にある 2 つのローカル変数の違いは、'v' の大/小文字のみです。これは回避してください。

public class ClassA {

public void method() {
int variable1;
char Variable2;
}
}