Instructor
Ashish Thakur Replied on 03/01/2019
What dependency have you added
Zip and send your project
Hello,
I have added dependency for 3.1.2 version.
Since dependency was not working so I have added it manually in the Java build path so that I can proceed.
Also can you check though I am flushing the report but then too report is not getting created.
Regards
Shashank
Shashank,
I imported your project and noticed that you have hardcoded many file paths and directory paths.
Make sure, you are not hard coding anything as that may cause issues during execution.
Instructor
Ashish Thakur Replied on 06/01/2019
Let me know if Abhishek's suggetion has helped you on this
OK, I will use relevant paths in the utils file.
But the issue of Extent reports not getting downloaded through Maven dependency is still not answered.
Shashank, remove the .m2 directory completely and run the following commands
maven compile
maven eclipse:eclipse
sometimes the files get downloaded but they become unusable.
Additionally, remove all the dependencies that you've added manually.
Instructor
Ashish Thakur Replied on 09/01/2019
Delete all the folders/jars from. m2 folder
Make sure your net is good
and try to download again