• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[IntelliJ] Adding JARs to a project

 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried adding CGLIB to my project, using "Attach classes from repository..." in the Project Structure settings. When I run my appli, the libraries are not in the path, so it fails. I'm attaching several screens of my project settings. In the last screen, you can see that nothing appears under "Others" in the Structure view. What am I missing ?
Screenshot-Structure.png
Structure view
[Thumbnail for Screenshot-Structure.png]
Screenshot-Project Structure.png
Project structure
[Thumbnail for Screenshot-Project Structure.png]
Screenshot-Module.png
Module settings
[Thumbnail for Screenshot-Module.png]
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which version you are using?
I have IntelliJ 9.0.3 Ultimate Edition and "Attach classes from repository" doesn't exist.
Screen shot 2010-12-18 at 4.29.06 AM.png
[Thumbnail for Screen shot 2010-12-18 at 4.29.06 AM.png]
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IntelliJ 10. "Attach classes from repository..." is a new feature (very convenient)
The problem was solved after detaching and reattaching the libraries. Strange. I wonder why the libraries were not properly recognized after the import.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic