• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Idea (4.0) and some jars

 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use idea since some months and everything was ok since today when I try to use it for some test cases(JUnit).
So in the project settings, libraries tab I add the new jar(the JUnit jar), after this I try to import the TestCase(this class in the imported jar) but the class is displaied red(like is not found) but only the class, the package is normal.It is like it finds the package (so it reads the jar) but from some reasons it fails on the classes.
More strange I can compile (so it finds the class).
More more strange if I explode the jar and I add the dir to the classpath it seams to wotk.

Why ?
reply
    Bookmark Topic Watch Topic
  • New Topic