iText 7 java.lang.NoSuchMethodError
问题 I just started developing a new function to convert HTML page to PDF. I use iText 7. Followed the instruction here!. And now i get the error Exception in thread "main" java.lang.NoSuchMethodError: com.itextpdf.layout.font.FontSet.getFonts()Ljava/util/Set; I have created pom.xml following the instruction here! but still received the same error. I use eclipse. I put the pom.xml in the WebContent folder and received the error. Same result when moved the pom.xml into the WEB-INF folder. Is the