springzhong wrote: > > > > mraible wrote: >> >> Is this a brand new project? If so, I suspect changing to Java 5 will >> solve the problem. >> >> On Sun, Dec 27, 2009 at 2:33 AM, springzhong <davidmaho...@gmail.com> >> wrote: >>> Downloading: >>> http://static.appfuse.org/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar >>> Downloading: >>> http://static.appfuse.org/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar >>> Downloading: >>> http://static.appfuse.org/repository/org/dbunit/dbunit/2.2/dbunit-2.2.jar >>> Downloading: >>> http://static.appfuse.org/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar >>> [INFO] Unable to find resource 'poi:poi:jar:2.5.1-final-20040804' in >>> repository appfuse (http://static.appfuse.org/repository) >>> Downloading: >>> http://repository.codehaus.org/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar >>> [INFO] Unable to find resource 'junit-addons:junit-addons:jar:1.4' in >>> repository appfuse (http://static.appfuse.org/repository) >>> Downloading: >>> http://repository.codehaus.org/junit-addons/junit-addons/1.4/junit-addons-1.4.jar >>> [INFO] Unable to find resource 'xerces:xmlParserAPIs:jar:2.6.2' in >>> repository appfuse (http://static.appfuse.org/repository) >>> Downloading: >>> http://repository.codehaus.org/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar >>> [INFO] Unable to find resource 'poi:poi:jar:2.5.1-final-20040804' in >>> repository codehaus.org (http://repository.codehaus.org) >>> Downloading: >>> http://static.appfuse.org/repository/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar >>> [INFO] Unable to find resource 'junit-addons:junit-addons:jar:1.4' in >>> repository codehaus.org (http://repository.codehaus.org) >>> Downloading: >>> http://static.appfuse.org/repository/junit-addons/junit-addons/1.4/junit-addons-1.4.jar >>> [INFO] Unable to find resource 'xerces:xmlParserAPIs:jar:2.6.2' in >>> repository codehaus.org (http://repository.codehaus.org) >>> Downloading: >>> http://static.appfuse.org/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar >>> [INFO] Unable to find resource 'poi:poi:jar:2.5.1-final-20040804' in >>> repository appfuse (http://static.appfuse.org/repository) >>> Downloading: >>> http://repo1.maven.org/maven2/poi/poi/2.5.1-final-20040804/poi-2.5.1-final-20040804.jar >>> [INFO] Unable to find resource 'junit-addons:junit-addons:jar:1.4' in >>> repository appfuse (http://static.appfuse.org/repository) >>> Downloading: >>> http://repo1.maven.org/maven2/junit-addons/junit-addons/1.4/junit-addons-1.4.jar >>> [INFO] Unable to find resource 'xerces:xmlParserAPIs:jar:2.6.2' in >>> repository appfuse (http://static.appfuse.org/repository) >>> Downloading: >>> http://repo1.maven.org/maven2/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar >>> >>> >>> >>> 321K downloaded (dbunit-2.2.jar) >>> [INFO] [dbunit:operation {execution: test-compile}] >>> [INFO] [surefire:test {execution: default-test}] >>> [INFO] Surefire report >>> directory: /home/springzhong/sepp/target/surefire-reports >>> org.apache.maven.surefire.booter.SurefireExecutionException: Unable to >>> find class to create suite >>> 'org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite'; nested >>> exception is java.lang.ClassNotFoundException: >>> org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite; nested >>> exception is org.apache.maven.surefire.testset.TestSetFailedException: >>> Unable to find class to create suite >>> 'org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite'; nested >>> exception is java.lang.ClassNotFoundException: >>> org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite >>> org.apache.maven.surefire.testset.TestSetFailedException: Unable to find >>> class to create suite >>> 'org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite'; nested >>> exception is java.lang.ClassNotFoundException: >>> org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite >>> java.lang.ClassNotFoundException: >>> org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite >>> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) >>> at java.security.AccessController.doPrivileged(Native Method) >>> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307) >>> at java.lang.ClassLoader.loadClass(ClassLoader.java:252) >>> at >>> org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:103) >>> at >>> org.apache.maven.surefire.Surefire.instantiateObject(Surefire.java:255) >>> at >>> org.apache.maven.surefire.Surefire.instantiateSuite(Surefire.java:305) >>> at >>> org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:207) >>> at org.apache.maven.surefire.Surefire.run(Surefire.java:156) >>> 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:597) >>> at >>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) >>> at >>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) >>> [INFO] >>> ------------------------------------------------------------------------ >>> [ERROR] BUILD FAILURE >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] There are test failures. >>> >>> Please refer to /home/springzhong/sepp/target/surefire-reports for the >>> individual test results. >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] For more information, run Maven with the -e switch >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 6 minutes 32 seconds >>> [INFO] Finished at: Sun Dec 27 17:28:04 CST 2009 >>> [INFO] Final Memory: 37M/271M >>> [INFO] >>> ------------------------------------------------------------------------ >>> springzh...@zhongjiu:~/sepp$ >>> >>> My environtment is: >>> jdk 1.6.15 >>> mvn 2.2.1 >>> james 2.3.2 >>> I downloaded surefire-junit4-2.4.3.jar from web.But I foudd this jar >>> doesn't work? >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >>> For additional commands, e-mail: users-h...@appfuse.dev.java.net >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> >> > I have worked out of this problem. Now appfuse can run on ubuntu 9.10 > very good with jdk 1.6 or jdk 1.5 >
-- View this message in context: http://n4.nabble.com/ubuntu-9-10-compile-appfuse-got-errors-tp979435p989720.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net