• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[IntelliJ] Adding JARs to a project

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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
[Thumbnail for Screenshot-Structure.png]
Structure view
Screenshot-Project Structure.png
[Thumbnail for Screenshot-Project Structure.png]
Project structure
Screenshot-Module.png
[Thumbnail for Screenshot-Module.png]
Module settings
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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