Please can someone help, I have a very simple testNG project which I am running via intelliJ and its execution is successful, I can't find any solution to the errors that I am presented with, I suspect it is configuration related somewhere.
When I attempt to run this via command line, I see the following errors, how do I manage this?, this is the result on command line I am not sure how to disable these things
C:\Program Files\Java\jdk1.8.0_201\bin>java org.testng.TestNG C:\Users\myUser\IdeaProjects\JAVATestNGProject\testng.xml
[TestHTMLReporter] The system cannot find the path specified
===============================================
setup
Total tests run: 1, Failures: 1, Skips: 0
===============================================
java.io.FileNotFoundException: test-output\testng.css (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.testng.internal.Utils.writeResourceToFile(Utils.java:465)
at org.testng.reporters.HtmlHelper.generateStylesheet(HtmlHelper.java:25)
at org.testng.reporters.SuiteHTMLReporter.generateReport(SuiteHTMLReporter.java:54)
at org.testng.TestNG.generateReports(TestNG.java:1097)
at org.testng.TestNG.run(TestNG.java:1022)
at org.testng.TestNG.privateMain(TestNG.java:1354)
at org.testng.TestNG.main(TestNG.java:1323)
[Utils] [ERROR] The system cannot find the path specified
java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at org.testng.internal.Utils.writeUtf8File(Utils.java:111)
at org.testng.reporters.XMLReporter.generateReport(XMLReporter.java:72)
at org.testng.TestNG.generateReports(TestNG.java:1097)
at org.testng.TestNG.run(TestNG.java:1022)
at org.testng.TestNG.privateMain(TestNG.java:1354)
at org.testng.TestNG.main(TestNG.java:1323)
[EmailableReporter2] [ERROR] Unable to create output file
java.nio.file.NoSuchFileException: test-output\emailable-report.html
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at java.nio.file.Files.newBufferedWriter(Files.java:2860)
at org.testng.reporters.EmailableReporter2.createWriter(EmailableReporter2.java:80)
at org.testng.reporters.EmailableReporter2.generateReport(EmailableReporter2.java:57)
at org.testng.TestNG.generateReports(TestNG.java:1097)
at org.testng.TestNG.run(TestNG.java:1022)
at org.testng.TestNG.privateMain(TestNG.java:1354)
at org.testng.TestNG.main(TestNG.java:1323)
java.io.FileNotFoundException: test-output\jquery-1.7.1.min.js (The system cannot find the path specified)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.testng.reporters.Files.copyFile(Files.java:50)
at org.testng.reporters.jq.Main.generateReport(Main.java:85)
at org.testng.TestNG.generateReports(TestNG.java:1097)
at org.testng.TestNG.run(TestNG.java:1022)
at org.testng.TestNG.privateMain(TestNG.java:1354)
at org.testng.TestNG.main(TestNG.java:1323)