Hi Jesse, I have Tried the solutions which have given mvn -X test and mvn -U test , still am getting the same Error. Am attaching the Error Please let me know the possible ways to debug some more
Regards A S P Raj + Error stacktraces are turned on. [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settings\135296\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\maven-2.0.2\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] ---------------------------------------------------------------------------- [INFO] Building Bean Utils [INFO] task-segment: [test] [INFO] ---------------------------------------------------------------------------- [DEBUG] maven-resources-plugin: resolved to version 2.1 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-resources-plugin:maven-plugin:2.1 [DEBUG] maven-compiler-plugin: resolved to version 2.0 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-compiler-plugin:maven-plugin:2.0 [DEBUG] maven-surefire-plugin: resolved to version 2.1.2 from repository central [DEBUG] Retrieving parent-POM from the repository for project: null:maven-surefire-plugin:maven-plugin:2.1.2 [DEBUG] org.apache.maven.plugins:maven-resources-plugin:maven-plugin:2.1 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-model:jar:2.0 [DEBUG] org.apache.maven:maven-model:jar:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: null:maven-project:jar:2.0 [DEBUG] org.apache.maven:maven-project:jar:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime) [DEBUG] junit:junit:jar:3.8.1 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-artifact:jar:2.0 [DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-artifact-manager:jar:2.0 [DEBUG] org.apache.maven:maven-artifact-manager:jar:2.0 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-repository-metadata:jar:2.0 [DEBUG] org.apache.maven:maven-repository-metadata:jar:2.0 (selected for runtime) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: null:maven-profile:jar:2.0 [DEBUG] org.apache.maven:maven-profile:jar:2.0 (selected for runtime) [DEBUG] commons-io:commons-io:jar:1.0 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: org.apache.maven:maven-plugin-api:jar:2.0 [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.1:resources' --> [DEBUG] (f) filters = [] [DEBUG] (f) outputDirectory = C:\Repository\commons-beanutils\target\classes [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) resources = [EMAIL PROTECTED] [DEBUG] -- end configuration -- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0 (selected for null) [DEBUG] junit:junit:jar:3.8.1 (selected for test) [DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for compile) [DEBUG] org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.0 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-compiler-api:jar:1.5.1 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] classworlds:classworlds:jar:1.1-alpha-2 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8 (selected for runtime) [DEBUG] junit:junit:jar:3.8.1 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-compiler-manager:jar:1.5.1 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-compiler-javac:jar:1.5.1 (selected for runtime) [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime) [DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0:compile' --> [DEBUG] (f) basedir = C:\Repository\commons-beanutils [DEBUG] (f) buildDirectory = C:\Repository\commons-beanutils\target [DEBUG] (f) classpathElements = [C:\Repository\commons-beanutils\target\classes, C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar] [DEBUG] (f) compileSourceRoots = [C:\Repository\commons-beanutils\src\main\java] [DEBUG] (f) compilerId = javac [DEBUG] (f) debug = true [DEBUG] (f) fork = false [DEBUG] (f) optimize = false [DEBUG] (f) outputDirectory = C:\Repository\commons-beanutils\target\classes [DEBUG] (f) outputFileName = commons-beanutils-1.7.0 [DEBUG] (f) projectArtifact = commons-beanutils:commons-beanutils:jar:1.7.0 [DEBUG] (f) staleMillis = 0 [DEBUG] (f) verbose = false [DEBUG] -- end configuration -- [INFO] [compiler:compile] [DEBUG] Using compiler 'javac'. [DEBUG] Source directories: [C:\Repository\commons-beanutils\src\main\java] [DEBUG] Classpath: [C:\Repository\commons-beanutils\target\classes C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar] [DEBUG] Output directory: C:\Repository\commons-beanutils\target\classes [INFO] Nothing to compile - all classes are up to date [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:2.1:testResources' --> [DEBUG] (f) filters = [] [DEBUG] (f) outputDirectory = C:\Repository\commons-beanutils\target\test-classes [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) resources = [EMAIL PROTECTED] [DEBUG] -- end configuration -- [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0 (selected for null) [DEBUG] junit:junit:jar:3.8.1 (selected for test) [DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for compile) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:2.0:testCompile' --> [DEBUG] (f) basedir = C:\Repository\commons-beanutils [DEBUG] (f) buildDirectory = C:\Repository\commons-beanutils\target [DEBUG] (f) classpathElements = [C:\Repository\commons-beanutils\target\classes, C:\Repository\commons-beanutils\target\test-classes, C:\Documents and Settings\135296\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar, C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar] [DEBUG] (f) compileSourceRoots = [C:\Repository\commons-beanutils\src\test\java] [DEBUG] (f) compilerId = javac [DEBUG] (f) debug = true [DEBUG] (f) fork = false [DEBUG] (f) optimize = false [DEBUG] (f) outputDirectory = C:\Repository\commons-beanutils\target\test-classes [DEBUG] (f) outputFileName = commons-beanutils-1.7.0 [DEBUG] (f) staleMillis = 0 [DEBUG] (f) verbose = false [DEBUG] -- end configuration -- [INFO] [compiler:testCompile] [DEBUG] Using compiler 'javac'. [DEBUG] Source directories: [C:\Repository\commons-beanutils\src\test\java] [DEBUG] Classpath: [C:\Repository\commons-beanutils\target\classes C:\Repository\commons-beanutils\target\test-classes C:\Documents and Settings\135296\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar] [DEBUG] Output directory: C:\Repository\commons-beanutils\target\test-classes [DEBUG] Classpath: [DEBUG] C:\Repository\commons-beanutils\target\classes [DEBUG] C:\Repository\commons-beanutils\target\test-classes [DEBUG] C:\Documents and Settings\135296\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar [DEBUG] C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar [DEBUG] Source roots: [DEBUG] C:\Repository\commons-beanutils\src\test\java Compiling 1 source file to C:\Repository\commons-beanutils\target\test-classes [DEBUG] commons-beanutils:commons-beanutils:jar:1.7.0 (selected for null) [DEBUG] junit:junit:jar:3.8.1 (selected for test) [DEBUG] commons-logging:commons-logging:jar:1.0.4 (selected for compile) [DEBUG] org.apache.maven.plugins:maven-surefire-plugin:maven-plugin:2.1.2 (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4 (selected for runtime) [DEBUG] junit:junit:jar:3.8.1 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: null:surefire:jar:1.5.2 [DEBUG] org.apache.maven.surefire:surefire:jar:1.5.2 (selected for runtime) [DEBUG] Retrieving parent-POM from the repository for project: null:plexus-utils:jar:1.0.5 [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.5 (removed - nearer found: 1.0.4) [DEBUG] Retrieving parent-POM from the repository for project: null:surefire-booter:jar:1.5.2 [DEBUG] org.apache.maven.surefire:surefire-booter:jar:1.5.2 (selected for runtime) [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0 (selected for runtime) [DEBUG] org.apache.maven:maven-artifact:jar:2.0 (selected for runtime) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.1.2:test' --> [DEBUG] (f) basedir = C:\Repository\commons-beanutils [DEBUG] (f) childDelegation = true [DEBUG] (f) classesDirectory = C:\Repository\commons-beanutils\target\classes [DEBUG] (f) classpathElements = [C:\Repository\commons-beanutils\target\classes, C:\Repository\commons-beanutils\target\test-classes, C:\Documents and Settings\135296\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar, C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar] [DEBUG] (f) forkMode = none [DEBUG] (f) includes = [**/*Test.java, **/Test*.java, **/*TestCase.java] [DEBUG] (f) jvm = java [DEBUG] (f) localRepository = [local] -> file://C:\Documents and Settings\135296\.m2\repository [DEBUG] (f) pluginArtifacts = [junit:junit:jar:3.8.1, org.apache.maven.surefire:surefire:jar:1.5.2, org.apache.maven.surefire:surefire-booter:jar:1.5.2, org.codehaus.plexus:plexus-utils:jar:1.0.4, org.apache.maven:maven-plugin-api:jar:2.0, org.apache.maven:maven-artifact:jar:2.0] [DEBUG] (f) printSummary = true [DEBUG] (f) reportFormat = brief [DEBUG] (f) reportsDirectory = C:\Repository\commons-beanutils\target/surefire-reports [DEBUG] (f) testClassesDirectory = C:\Repository\commons-beanutils\target\test-classes [DEBUG] (f) useFile = true [DEBUG] -- end configuration -- [INFO] [surefire:test] [INFO] Setting reports dir: C:\Repository\commons-beanutils\target/surefire-reports [DEBUG] Test Classpath : [DEBUG] C:\Repository\commons-beanutils\target\test-classes [DEBUG] C:\Repository\commons-beanutils\target\classes [DEBUG] C:\Repository\commons-beanutils\target\classes [DEBUG] C:\Repository\commons-beanutils\target\test-classes [DEBUG] C:\Documents and Settings\135296\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar [DEBUG] C:\Documents and Settings\135296\.m2\repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\135296\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\135296\.m2\repository\org\apache\maven\surefire\surefire\1.5.2\surefire-1.5.2.jar [DEBUG] Adding to surefire test classpath: C:\Documents and Settings\135296\.m2\repository\org\apache\maven\surefire\surefire-booter\1.5.2\surefire-booter-1.5.2.jar [DEBUG] Adding to surefire test classpath: C:\maven-2.0.2\core\plexus-utils-1.1.jar ------------------------------------------------------- T E S T S ------------------------------------------------------- RUN ABORTED java.lang.NoSuchMethodException org.apache.maven.surefire.Runner An exception or error caused a run to abort. org.apache.commons.beanutils.TestBeanPackageSubclass.<init>() Results : [surefire] Tests run: 0, Failures: 0, Errors: 1 [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ---------------------------------------------------------------------------- [INFO] There are some test failure. [INFO] ---------------------------------------------------------------------------- [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: There are some test failure. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: There are some test failure. at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:384) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:531) ... 16 more [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 2 seconds [INFO] Finished at: Tue Mar 21 10:52:54 GMT+05:30 2006 [INFO] Final Memory: 2M/10M [INFO] ---------------------------------------------------------------------------- -- View this message in context: http://www.nabble.com/Maven-t1297723.html#a3507474 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]