0

I am attempting to add an external jar to my module's classpath. I've followed the directions listed here and the compiler is still unable to find the jar. I'm using intelliJ 14.1. I have verified that the jar is intact and not corrupt.

enter image description here

enter image description here

Community
  • 1
  • 1
Steve W
  • 1,062
  • 1
  • 9
  • 24
  • 1
    Which compiler is unable to find the jar? Are you using IntelliJ IDEA's internal build system, or running your Ant build script? Adding a library to an IntelliJ IDEA project will not affect the behavior of your Ant script; it's completely independent. – yole Jul 01 '15 at 20:18
  • When I go to 'Java Compiler' in the preferences, it just says Javac, so it's probably not using Ant. I don't intend to use Ant, I'm just new to IntelliJ and wasn't sure yet how it was building behind the scenes. – Steve W Jul 01 '15 at 20:23
  • Please attach the screenshot of your module configuration in IntelliJ IDEA (from the Project Structure dialog). – yole Jul 01 '15 at 20:25
  • screenshot attached... – Steve W Jul 01 '15 at 20:43
  • 1
    The library is configured correctly. Please check the settings of your module and make sure that the library is referenced in the "Dependencies" tab. – yole Jul 01 '15 at 20:44
  • k. added second screenshot... – Steve W Jul 01 '15 at 20:51

1 Answers1

0

Well this was an easy one. The jar file was corrupt. Problem solved.

Steve W
  • 1,062
  • 1
  • 9
  • 24