I need to tcpdf (http://tcpdf.org/) library in magento2.2. I have added this library in Magento2.1.9 in lib/internal/TCPDF folder.
In that, I have rename
tcpdf.php class to TCPDF.php
tcpdf class to TCPDF_TCPDF and it was working fine.
But when I have used same in Magento2.2, it is not working and giving me error:
Uncaught Error: Class 'TCPDF_TCPDF' not found
Does any one have any idea that why there is issue with Magento new version and any solution for it ?