I see 3 questions. I will answer only 2 of them, for the third question you need to open a new topic on Stack Overflow.
These are your questions as I see them:
- What is the difference between itext and itextpdf?
- What am I missing in my dependency upgrade?
- Why have my barcodes stopped working?
1. Difference between itext and itextpdf
tl;dr: there is no difference!
I would also like to refer you to these duplicate questions:
Longer answer:
iText is a PDF library for Java which was originally developed by Bruno Lowagie. You can still see that in the old versions of iText (prior to 5.0.0), the packages are called com.lowagie.*
Some years ago, Bruno Lowagie founded a company around his iText product, iText Software. At the time the domain name itext.com
was not available, so he registered itextpdf.com. Starting from version 5.0.0, the package names were renamed from com.lowagie.*
to com.itextpdf.*
. It is a common practice to name your packages after the reverse of your domain name.
As a crude rule of thumb:
- Versions 1.x.x and 2.x.x =
com.lowagie.*
= developed by Bruno Lowagie
- Versions 5.x.x and 7.x.x =
com.itextpdf.*
= developed by iText Software
- Versions 4.x.x = released by someone unknown, unrelated to iText Software. Not an official release. Do not use.
2. What is missing in the dependency upgrade
- Only use version 5.5.10.
- Delete all other versions.
- Check your code for
import com.lowagie
and replace with import com.itextpdf
.
- Fix any compilation errors.
3. Why have your barcodes stopped working
I don't know. Open a new topic on Stack Overflow and add enough code so anyone can reproduce your issue. Please read How to create a Minimal, Complete, and Verifiable example