J jesuslizonsoluciones Member Licensed User Longtime User Feb 24, 2025 #1 hello everyone I am programming in b4j and I am using pdfjet and I get this error. java.lang.NoSuchMethodError: 'void com.pdfjet.Image.setPosition(float, float) I have used some sample projects and I keep getting the same error. The b4j version is 10
hello everyone I am programming in b4j and I am using pdfjet and I get this error. java.lang.NoSuchMethodError: 'void com.pdfjet.Image.setPosition(float, float) I have used some sample projects and I keep getting the same error. The b4j version is 10
teddybear Well-Known Member Licensed User Feb 24, 2025 #2 You'd better upload a small project. Upvote 0
Johan Schoeman Expert Licensed User Longtime User Feb 24, 2025 #3 jesuslizonsoluciones said: hello everyone I am programming in b4j and I am using pdfjet and I get this error. java.lang.NoSuchMethodError: 'void com.pdfjet.Image.setPosition(float, float) I have used some sample projects and I keep getting the same error. The b4j version is 10 Click to expand... Maybe it wants a Double or an Int and not a Float.... Upvote 0
jesuslizonsoluciones said: hello everyone I am programming in b4j and I am using pdfjet and I get this error. java.lang.NoSuchMethodError: 'void com.pdfjet.Image.setPosition(float, float) I have used some sample projects and I keep getting the same error. The b4j version is 10 Click to expand... Maybe it wants a Double or an Int and not a Float....
drgottjr Expert Licensed User Longtime User Feb 25, 2025 #4 the version i have (pdfjet-5.75) is overloaded to take either float or double. we don't know how op is using the library. i'm guessing javaobject, so it's probably incorrectly initialized... Upvote 0
the version i have (pdfjet-5.75) is overloaded to take either float or double. we don't know how op is using the library. i'm guessing javaobject, so it's probably incorrectly initialized...