Think I'm all set on this. Apparently under the test branch some directories got created (i.e from sunfire) and presented a problem. I just deleted the class files and rerun the lifecycles. It ok now
-- Thanks, ---------------------------------------------- "Wayne Fay" <[EMAIL PROTECTED]> 03/31/2006 02:28 PM Please respond to "Maven Users List" <[email protected]> To "Maven Users List" <[email protected]> cc Subject Re: Any ideas on why adding a single line of code would cause this error What's the "single line of code"?? Can you send it? Wayne On 3/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > I've added a single line of code to the maven test app (my-app) and > received the below error message. > > Any ideas? > > C:\evergreen\MavenMy-App>mvn test > [INFO] Scanning for projects... > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Maven Quick Start Archetype > [INFO] task-segment: [test] > [INFO] > ---------------------------------------------------------------------------- > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [resources:testResources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:testCompile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [surefire:test] > [INFO] Setting reports dir: C:\MavenMy-App\target/surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.ClassFormatError: com/mycompany/app/AppTest (Illegal Field name > "has inconsistent hierarchy") > at java.lang.ClassLoader.defineClass0(Native Method) > at java.lang.ClassLoader.defineClass(Unknown Source) > at java.security.SecureClassLoader.defineClass(Unknown Source) > > ---------------------------------------------- > Michael Tedesco > Evergreen Investments - Technology > Email: [EMAIL PROTECTED] > P: 617-210-3515 > C: 978-590-8022 > ---------------------------------------------- >
