Android Question PDFBOX for android 0.0.0

mike1967

Active Member
Licensed User
Longtime User
hello, i have download this library for android. When i compile and run the application i have this error:
error:
java.lang.NoClassDefFoundError: Failed resolution of: Ljava/awt/Point;
    at org.apache.pdfbox.pdmodel.PDDocument.<clinit>(PDDocument.java:106)
    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:982)
    at de.donmanfred.PDFDocumentwrapper.Initialize(PDFDocumentwrapper.java:43)
    at b4a.example.nuova_verifica$ResumableSub_B4XPage_Appear.resume(nuova_verifica.java:231)
    at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:157)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
    at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43)
    at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:275)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:150)
    at anywheresoftware.b4a.BA$2.run(BA.java:395)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:236)
    at android.app.ActivityThread.main(ActivityThread.java:7864)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011)
Caused by: java.lang.ClassNotFoundException: java.awt.Point
    ... 23 more

Can someone help me ?
This is the Post
https://www.b4x.com/android/forum/threads/write-to-exiting-pdf.102213/post-693270

The additional jar file link is broken .
 

Attachments

  • B4A_pdfbox.zip
    2.3 KB · Views: 154

drgottjr

Expert
Licensed User
Longtime User
android doesn't support awt. at least not on its own. hard to know which application you're talking about. i don't see Point referred to in any of the add'l jars. and i had no trouble downloading everything from the link you posted.
 
Upvote 1
Top