pom.xml is if you are using maven. You don't need it (assuming that
eclipse can also combine stuff manually). If you do use it, make sure
that when you're running the program that your .jar files are in the
classpath.
You can try this manually, i.e. java -cp <classpath> register.class
if "register.class" exists after the build.
As I said, I don't know eclipse. There's probably an easier answer. I
use netbeans which IMHO is easier to use for beginners but that's just
my opinion, I'm the only one in the team who uses it 😂
Tilman
On 03.06.2024 19:44, AllenM10 wrote:
Tilman,
Thank you very much for your response! I happened upon both of those
links while trying to solve the problem on my own, but ran through
them again now since I've just recently freshly installed my Eclipse
to make sure it wasn't an issue with my program.
I tried moving my .jars from Modulepath into Classpath and got a
slightly different error message. This time it's a
NoClassDefFoundError caused by a ClassNotFoundException. I've attached
a new screenshot with that error shown.
On the second link, I attempted Solution 2's "Example working JavaFX
application with maven," and am still getting the same error.
I strongly suspect this is something to do with the pom.xml file I see
floating around. Only one tutorial I happened across suggested
adjusting it slightly for a PDFBox install. Is that a step I might be
missing? I hadn't thought much of it since it isn't mentioned anywhere
else.
Thank you for your time.
Regards,
Allen Marshall
On Mon, Jun 3, 2024 at 9:53 AM Tilman Hausherr <thaush...@t-online.de>
wrote:
Hi,
I don't use eclipse myself. There have been questions about it
from time
to time, I assume that this IDE isn't intuitive enough to "just
work".
Here an answer about this:
https://stackoverflow.com/questions/17452442/how-do-i-use-pdfbox-with-eclipse-does-it-package-in-jar-files
Is this "personal register" related to the specific project? Or is it
just a register of libraries you like? Or is it the name of your
project?
This question
https://stackoverflow.com/questions/77175834/i-cant-seem-to-get-pdfbox-3-0-0-jar-in-my-classpath-library-to-import-to-my-mai
doesn't answer but it shows a "class path" which your screenshot
doesn't
show so maybe investigate that, i.e. whether the libraries are in
your
classpath at runtime.
pdfbox-3.0.2.jar is the correct file (one of them). You likely won't
need preflight, pdfdebuger and xmpbox.
Tilman
On 03.06.2024 15:33, AllenM10 wrote:
> Acknowledged!
>
> I've uploaded the screenshot to Google Drive. It should be
viewable at this
> link: [
>
https://drive.google.com/file/d/1DhlyOqRgSB-Vo6Dldij0qjS2e9KkSSsI/view?usp=sharing
> ]
>
> pdfbox-3.0.2.jar certainly sounds like the file you mean, and I
can't find
> a pdfbox.jar file on the website. Perhaps I added them to Eclipse
> incorrectly?
>
> Regards,
> Allen Marshall
>
>
> On Sun, Jun 2, 2024 at 11:10 PM Tilman
Hausherr<thaush...@t-online.de>
> wrote:
>
>> Hi,
>>
>> It's in the pdfbox jar. Your screenshot was removed because most
>> attachments are removed from the mailing list. You need to have
these
>> inline (thunderbird does this, not sure about others) or upload
them to
>> a sharehoster, e.g.https://imgur.com/ for images.
>>
>> Tilman
>>
>> On 02.06.2024 16:24, AllenM10 wrote:
>>> Good day,
>>>
>>> I have been having trouble attempting to load in text from a
PDF using
>>> the 3.0.2 version of PDFBox. It seems my profile cannot detect
>>> "org.apache.pdfbox.Loader" or I have neglected to install it
(in which
>>> case, I wonder where one might find it?) and is throwing a
>>> ClassNotFoundException. I am attaching a screenshot which
shows both
>>> my Referenced Libraries dropdown, containing the .jar files I
>>> downloaded from [https://pdfbox.apache.org/download.html ], as
well
>>> as the error message in question and the portion of my code which
>>> throws the error.
>>>
>>> Where can I find the loader class, to properly use it? I
apologize for
>>> my barely rudimentary understanding of these systems.
>>>
>>> Regards,
>>> Allen Marshall
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe,e-mail:users-unsubscr...@pdfbox.apache.org
<mailto:e-mail%3ausers-unsubscr...@pdfbox.apache.org>
>>> For additional commands,e-mail:users-h...@pdfbox.apache.org
<mailto:e-mail%3ausers-h...@pdfbox.apache.org>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail:users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail:users-h...@pdfbox.apache.org