Java Package, Project , NoSuchMethod error
- by hamam
I have 2 projects linked and these 2 projects each have a package under them.
XProject - XPackage - XClass - X1Method(); X2Method();
YProject - YPackage - YClass - Y1Method();
I'm trying to call X1 and X2 methods from Y1 Method. I can call X1 Method but when I call X2 method I get a runtime error (java.lang.NoSuchMethodError:)
All methods are public and there is nothing wrong with method names. It is just nonsense to have one of them working while other is giving runtime errors.
Any help would be appreciated.
Thanks.