java - NetBeans error when running project. Main class name_of_project not found or couldn't be loaded -


first of all, anyway help, problem when run 1 of projects, won't copy code because it's way large (about 7000 lines), code has no errors, , when running project, netbeans shows: -error, main class myname_of_project.myname_of_javafile not found or not loaded.

if knows can problem... have found classpath don't know have apply, strange thing same project few less lines in code, before applying 1 of last changes in code, netbeans run it, 0 errors , working... length of code problem?

thanks , sorry if there's big mistake unseen me in english writing.

ok guys, found own answer now, after asking question few minutes ago. affirmatively, error produced because of length of code, more because length of 1 of java methods, divided largest method (which had approx. 7.000 lines, , rest of methods had 300 more or less..) , have new method, having old 1 3.500 lines , new 1 other 3.500 lines, i've run project , perfect!


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -