|Can't link to dependent class [message #1763335]
||Fri, 12 May 2017 18:49
| Paul Marlin
Registered: May 2017
Sorry, newbie here.|
I have a project called boilerplate and a package called boilerplate that contains a java class called kbInput. kbInput contains a static method called get().
Also I have a project called testApp with a java class called testKB containing a static class called main. Included it it are:
String kbOut = kbInput.get();
Since get() is a static method, there is no need to instantiate an object.
Finally, within the testApp project, I include a "Java Build Path" reference to kbInput.java.
I get the error message, "kbInput cannot be resolved to a type". I.e., it can't find the boilerplate package. I've attached a screenshot showing the package, source, and console panes. A second shows the kbInput class
(Size: 235.26KB, Downloaded 226 times)
(Size: 87.55KB, Downloaded 162 times)
Powered by FUDForum
. Page generated in 0.01866 seconds