score:0
this is an eclipse error message. it seems your installation is corrupted. try using a fresh installation of eclipse.
score:0
before trying a fresh install i just restarted eclipse and it did the trick.
score:0
i just had the same problem. i relaunch eclipse with the "-clean" option, and it did the trick too.
edit: how to run eclipse in clean mode? and what happens if we do so?
score:1
i came across this after i updated java versions: "junit: could not load main class 1.1". go into the eclipse external tools configurations, open the entry for the ant file you are running, then go to the jre tab, and select "separate jre", also making sure your new jre is correctly listed in the installed jres...for me, this took care of it.
Source: stackoverflow.com
Related Query
- JUnit error: Could not find or load main class (RemoteTestRunner)
- Error running cucumber in eclipse- Could not find or load main class cucumber.api.cli.Main
- After converting to maven getting error : Could not find or load main class
- Error When Compiling on Eclipse Luna with JavaCC - Could not find or load main class javacc
- Trying to run a java program in console will give a could not find or load main class error
- error could not find or load main class -eclipse?
- Gradle build error in eclipse: Could not find or load main class Files\OpenJdk11\lib\security\cacerts
- Error : Could not find or load main class JavaFundamentals.GUIOutput
- when my system changed maven project giving error Error: Could not find or load main class
- In Eclipse, why am I getting the error "Error: Could not find or load main class Coordinator.java"?
- Error Could not find or load main class springboot eclipse
- Eclipse Error: Could not find or load main class
- Could not find or load main class org.apache.catalina.startup.Bootstrap
- Scala Error: Could not find or load main class in both Scala IDE and Eclipse
- Could not find or load main class in STS/Eclipse
- Mac Terminal: Could not find or load main class CLASSNAME
- Error: Could not find or load main class sun.applet.AppletViewer
- Error: Could not find or load main class org.testng.remote.RemoteTestNG
- Error: Could not find or load main class in Eclipse
- Could not find or load main class com.google.appengine.tools.development.DevAppServerMain
- Error: Could not find or load main class com.google.gwt.dev.Compiler while compiling a GWT project
- In Eclipse: Could not find or load main class org.testng.remote.RemoteTestNG
- Error: Could not find or load main class weblogic.security.Encrypt
- Error: Could not find or load main class application.Main JAVAFX
- Could not find or load main class weblogic.server in eclipse
- Eclipse -> Error: Could not find or load main class hello
- eclipse error: could not find or load main class for project
- Could not find or load main class com.liferay.portal.tools.SassToCssBuilder
- Error: Could not find or load main class Java, because class file anme and class name are different?
- Error: Could not find or load main class after adding dependency (maven)
More Query from same tag
- How to set gdb debugger connection?
- Duplicate variables (null copy) in loop?
- How to detect the front-end actions at the back-end?
- Isolated debugging session with PyDev
- How to indicate public/protected/private members in JSDT outline view?
- Deploying a web service and a web service client on different ports in localhost
- How to import eclipse.org libraries in java swing project developed in neatbeans IDE
- Eclipse Mars crashes when entering SVN settings with JavaHL library added
- Passing parameters while showing a view in Eclipse RCP
- Why doesn't logcat show anything in my Android?
- Git repository seems empty while opening in eclipse
- ANT Build - Signed APK Signature Issue
- ECLIPSE_HOME not defined?
- Where does Eclipse/Java store project compliance?
- Eclipse Formatter - how to avoid blank lines and spaces?
- How can I set the region (=set of java Elements) parameter in JDT TypeHierarchy?
- Use Case Diagram UML, will a mobile phone and customer be 2 different actors or the same? (ECLIPSE)
- Hide class name on member elements in code outline
- eclipse plugin to generate package and class diagram
- How can I check, whether a file name exists in a directory?
- Eclipse Neon.3 change colors in type hierarchy/call hierarchy
- Eclipse Hotkey to quickly locate a package
- Eclipse; Android; Where is R.id.status?
- An internal error occurred during: "Loading referenced grammars". eclipse
- How to save files programmatically in Eclipse without using an editor?
- Why can't I use Resources.getSystem() without a Runtime error?
- Primefaces Dialog - Setter not found for property class
- Eclipse Java autocomplete has white text on white background
- eclipse error: glassfish\domains\domain1 does not exist
- XOR mask in java android