score:1
i was having a similar problem. the issue was that the test class had the same name as the tested file, and was in the same package. if that's your case, a simple rename would be enough.
hope it helps someone!
Source: stackoverflow.com
Related Query
- ScalaTest - java.lang.IncompatibleClassChangeError: Implementing class
- Java Class Implementing Interface Error
- java lang Class Cast Exception
- Class has been compiled by a more recent version of the Java Environment
- Class file name must end with .class exception in Java Search
- Eclipse, refactoring a java method into a another class
- Can we call another project java class from our project in eclipse
- Eclipse, shortcut to create new Java class
- Jersey: A message body writer for Java Class and MIME mediatype application/json was not found
- Unable to get IntelliJ to recognize proto compiled Java class files
- Eclipse: Java class templates
- UML Plugin for Eclipse - Class Diagrams & Java Code Generation - Indigo/Juno
- Unbound class path variable java android eclipse
- Can I have more than one class containing the main() method in a Java project?
- How to list all properties exposed by a Java class and its ancestors in Eclipse?
- Cannot run as java application in Eclipse, even have correct main() class
- Is it possible to use sysout without class and main method in Eclipse IDE using Java 9?
- Generating java proxy class in Eclipse
- Howto print java class garbage collection events?
- How to navigate to implementing class from interface in Eclipse?
- Extending the main class in Java
- I want debugger to open java file instead of class (from depending library)
- Kotlin and Java project in Eclipse, NoClassDefFoundError, where are the class files?
- Why Eclipse does not include annotations when implementing methods from a Java interface?
- ScalaTest Run Configuration in Eclipse: cannot find Suite Class
- Eclipse dont have java doc to show information about class and methods. how to attach those? +android
- Export of runnable Java Class to .jar file including only required dependencies
- How can I step into a core java class method in Eclipse?
- How can I set a breakpoint in java core class in eclipse?
- ScalaTest in Java Eclipse project
More Query from same tag
- Maven gives MojoFailureException even though ANT build gives no error
- camera doesnt start in android code
- What IDE setup and workflow is used for OSGi development?
- Eclipse IDE for C/C++, gcc can't find *.c document
- What is the difference between Run as php script and php web page in eclipse?
- Working Mark Murphy's Book: Died in Chap 4
- ClassNotFoundException: org.slf4j.LoggerFactory Maven
- Maven + Eclipse: how to disable fetch of all versions
- maven version exception on mac
- How do I setup an Eclipse RCP plugin to use JOGL?
- Android AppCompat cannot be resolved?
- Rename and Refactor Class in Eclipse, and Keep SVN History
- Java tab order: setFocusTraversalPolicy
- Saving several push notifications in same activity in Android app
- How to get the part of xml file in JAVA using JAXB as a string
- Using IntelliJ instead of eclipse
- Demandware server eclipse
- Can not open Eclipse IDE after update form Luna to Mars
- Java Eclipse JCurses Library doesnt work after hours of triing of fixing it
- java.io.ioexception: illegal utf-8 sequence: initial byte is 11111yyy: 252 - eclipse and postgresql
- Setting up Clojure code in Eclipse for both REPL and application deployment
- Want to transfer information contained in a database in one iteration of an app to another iteration on a different phone
- How to pass a variable to broadCastReceiver
- NPE running Acceleo generator
- How do I force eclipse to show xml layouts and styles as text?
- Bean Creation Exception when I run Liferay module
- Git Bare repository fail. Missing necessary objects. Can't commit/push
- How to Navigate through Ext-JS Code?
- Adding VC++ to Eclipse toolchain
- string choice condition is met, class is not called