Library is not used

I have a project to which I added JFreeChart to the project dependencies. That view now claims that the Library jfreechart is not used. The message makes no sense to me so it's left me wondering what I need to do to use this library. I have the scope set to compile.

The platform is 1.7.0. The project does use Maven but I'm using IntelliJ to build and run. Any hints would be apprecated.

Regards,
Kirk



Attachment(s):
Screen Shot 2014-02-13 at 3.33.42 PM.png
2 comments
Comment actions Permalink

Kirk,

it isn't enough to create a project or global library, you also need to add it to the module dependencies list. On your screenshot the library seems
to be added to the dependencies list and I don't see error message on it. If you still have an error message could you please provide a screenshot of it?

--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Hi,

I was able to resolve the issue by adding the dependency to the maven project. It's odd as I configued an Intellij project and thought I was ignoring maven.

0

Please sign in to leave a comment.