No method matching x found in class y
March 9th, 2009
Applies to:
NA
Description:
The method being called exists but cannot be accessed from where it is called
Cause:
The method is declared as private:
private String myTest()
{
return x;
}
Applies to:
NA
Description:
The method being called exists but cannot be accessed from where it is called
Cause:
The method is declared as private:
private String myTest()
{
return x;
}
JAVA-Compiler lrm-00118: syntax error at '=' at the end of input, matching signature found, no method main with matching signature found for class, no method with matching signature, no method with matching signature found for class
Declare the method public.
Example:
public String myTest()
{
return x;
}