Harry Melamed

Greenhorn
+ Follow
since Jun 12, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Harry Melamed

I tried this and it didn't work.  Hopefully someone is still around to help

My goal is to read a PDF from a URL.

HEre's my code

         PDDocument doc = PDDocument.load(new File("https://spstest.mckesson.com/iPledgeUI/rems/pdf/resources/iPledge_REMS_Non_Compliance_Action_Policy.pdf"));


This is the error

https:/spstest.mckesson.com/iPledgeUI/rems/pdf/resources/iPledge_REMS_Non_Compliance_Action_Policy.pdf (No such file or directory)

When I change the FILE to URL I get error in IDE

CAN NOT RESOLVE METHOD load(java.net.URL)

I'm using IntelliJ


1 month ago