привет!
подключил джарники в класспасе The reportng-1.1.3.jar
and velocity-dep-1.4.jar
настроил build.xml,
создаются папка html и индекс в нем
запускается, но ожидаемых репортов я не увидел
вот логи
testng] Total tests run: 2, Failures: 2, Skips: 0
[testng] ===============================================
[testng]
[testng] Exception in thread "main" java.lang.NoClassDefFoundError: com/google/inject/Module
[testng] at java.lang.Class.getDeclaredMethods0(Native Method)
[testng] at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
[testng] at java.lang.Class.privateGetPublicMethods(Class.java:2562)
[testng] at java.lang.Class.getMethods(Class.java:1427)
[testng] at org.apache.velocity.util.introspection.ClassMap.getAccessibleMethods(ClassMap.java:258)
[testng] at org.apache.velocity.util.introspection.ClassMap.populateMethodCache(ClassMap.java:151)
[testng] at org.apache.velocity.util.introspection.ClassMap.<init>(ClassMap.java:64)
[testng] at org.apache.velocity.util.introspection.IntrospectorBase.createClassMap(IntrospectorBase.java:126)
[testng] at org.apache.velocity.util.introspection.IntrospectorBase.getMethod(IntrospectorBase.java:112)
[testng] at org.apache.velocity.util.introspection.Introspector.getMethod(Introspector.java:100)
[testng] at org.apache.velocity.runtime.parser.node.PropertyExecutor.discover(PropertyExecutor.java:65)
[testng] at org.apache.velocity.runtime.parser.node.PropertyExecutor.<init>(PropertyExecutor.java:39)
[testng] at org.apache.velocity.util.introspection.UberspectImpl.getPropertyGet(UberspectImpl.java:156)
[testng] at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:125)
[testng] at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
[testng] at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
[testng] at org.apache.velocity.runtime.parser.node.ASTAddNode.value(ASTAddNode.java:66)
[testng] at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
[testng] at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
[testng] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
[testng] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
[testng] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
[testng] at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
[testng] at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
[testng] at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
[testng] at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
[testng] at org.apache.velocity.Template.merge(Template.java:256)
[testng] at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449)
[testng] at org.uncommons.reportng.AbstractReporter.generateFile(AbstractReporter.java:108)
[testng] at org.uncommons.reportng.HTMLReporter.createOverview(HTMLReporter.java:148)
[testng] at org.uncommons.reportng.HTMLReporter.generateReport(HTMLReporter.java:111)
[testng] at org.testng.TestNG.generateReports(TestNG.java:1089)
[testng] at org.testng.TestNG.run(TestNG.java:1048)
[testng] at org.testng.TestNG.privateMain(TestNG.java:1338)
[testng] at org.testng.TestNG.main(TestNG.java:1307)
[testng] Caused by: java.lang.ClassNotFoundException: com.google.inject.Module
[testng] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[testng] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[testng] at java.security.AccessController.doPrivileged(Native Method)
[testng] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
[testng] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
[testng] at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
[testng] ... 35 more
[testng] The tests failed.
в чем проблема
может кто знает