facebook

ClassNotFoundException running junit

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #304202 Reply

    cusdx
    Member

    Hi,

    My project tests were working fine on Friday (through EclEmma), but now on Monday my tests won’t run (either through EclEmma or not) – they report a stack of ClassNotFoundExceptions. The pop-up saying “Error exists in required project mrm – proceed with launch?” has also started appearing, yet the only red cross is against one jsp and that’s been there for ages and never caused a problem.

    I made some coding changes on Friday but don’t think I changed any config. I haven’t changed the project properties which still point to the source files at:

    mrm/src/main/java, and
    mrm/src/test/java

    (This isn’t a maven project though when I set up my directory structures I thought it would be.)

    Any ideas where to look?

    Zoe

    I’ve appended my installation details.

    *** Date:
    Monday, 30 November 2009 09:27:54 o’clock GMT

    ** System properties:
    OS=WindowsVista
    OS version=6.0.0
    Java version=1.6.0_13

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 7.5
    Build id: 7.5-20090609

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 7.5
    Build id: 7.5-20090609

    Eclipse Plug-in Development Environment

    Version: 3.4.2.R342_v20090122-7T7U1E9imVKz-A8Vz-p_jRS
    Build id: M20080703-0800

    Eclipse Platform

    Version: 3.4.2.R342_v20090122-9I96EiWElHi8lheoJKJIvhM3JfVsYbRrgVIWL
    Build id: M20090211-1700

    Eclipse Graphical Editing Framework GEF

    Version: 3.4.2.v20090218-1145-67728084A56B4I233613552
    Build id: 200809101400

    Eclipse RCP

    Version: 3.4.200.R342_v20090122-989JESTEbig-SVaL8UJHcYBr4A63
    Build id: M20090211-1700

    Eclipse Java Development Tools

    Version: 3.4.2.r342_v20081217-7o7tEAoEEDWEm5HTrKn-svO4BbDI
    Build id: M20090211-1700

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\apps\Genuitec\MyEclipse7-5\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\apps\Genuitec\MyEclipse7-5\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\apps\Genuitec\MyEclipse7-5\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
    -clean
    -configuration
    configuration
    -vm
    C:\apps\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll

    #304204 Reply

    cusdx
    Member

    Big clue: I just looked in my Problems tab and found the error “A resource exists with a different case”. Investigating …

    #304205 Reply

    cusdx
    Member

    Problem found – I had named my main class displaytag but my test class displayTag. Corrected the discrepancy and all works.

    #304212 Reply

    Loyal Water
    Member

    Problem found – I had named my main class displaytag but my test class displayTag. Corrected the discrepancy and all works.

    Glad everything is working. Thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: ClassNotFoundException running junit

You must be logged in to post in the forum log in