Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

PDFBox und Lucene in Eclipse und Netbeans

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I want to learn Java and write a program using PDFBox and Lucene and I`m trying desperately to get both working in Eclipse and Netbeans.

Until now I couldn`t find some information on how to import zip files in Eclipse and Netbeans.

I see PDFBox under Java Build Path / Libraries and the contents of the PDFBox are in the project explorer under my project but when I try:



I get the error: "the import org.pdfbox cannot be resolved"

What I`m supposed to do with this PDFBox zip File?

How does it integrate with Eclipse and Netbeans?

What kind of adjustments do I have to do in my Java Build Path?

Please help!!!

Thanks in advance!
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't it org.apache.pdfbox now?

Even if you're using the older non-Apache version you still need to specify what you're actually importing--like org.pdfbox.pdfparser.PDFParser or whatever.
 
Nick Gilmour
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, thank you for your answer.

There was no apache or pdfbox to see by the proposed libraries (Ctrl + space).

I`ve extracted the zip file und added only the jar files in my build path and not the whole zip file like I`ve done before.

Now it seems to be working....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic