in Eclipse, the development of Java, suddenly one day a project can not be run, a run error: "errors; Cannot find or load the main class ..."
Error: The main class could not be found or could not be loaded Com.asiainfo.test.SFTP.MySFTP
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/45/D0/wKioL1PrkYXDYXtSAADSIg41aIw312.jpg "title=" 1.png " alt= "Wkiol1prkyxdyxtsaadsig41aiw312.jpg"/>
There may be a number of reasons for this error, and I'll just describe what I've encountered: a jar package in libraries in the project's Java Build path is not available and shows a red fork. This indicates that the system cannot find this jar file and remove the jar.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/45/CF/wKiom1PrkIWTb7gGAAQbwq1Pc54350.jpg "style=" float: none; "title=" 2.png "alt=" Wkiom1prkiwtb7ggaaqbwq1pc54350.jpg "/>
My is the MAVEN project, so remove the dependency of the package in MAVEN's pom.xml configuration file.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/45/D0/wKioL1PrkaDw0v57AAFQM8WykRw186.jpg "style=" float: none; "title=" 3.png "alt=" Wkiol1prkadw0v57aafqm8wykrw186.jpg "/>