Mac OS X- Cannot resolve symbols of libraries added to project

On my system (IDEA 4.5, Mac OS X 10.3.4, JDK 1.4.2_03), IDEA cannot resolve the symbols of any libraries I have added to my project, such as the JavaHelp and JMF libraries. On Mac OS X, the JavaHelp and JMF jar files are not installed to any specific location by default, so I've put them in ~/Developer/Java/ and created IDEA libraries to access them.

The libraries and their included jar files show up in the Project view, but any use of a class from those libraries is still marked as an error in the editor with 'Cannot resolve symbol'.

I'd appreciate any help with this problem. Thanks.

0
4 comments
Avatar
Permanently deleted user

Scott Steinman wrote:

On my system (IDEA 4.5, Mac OS X 10.3.4, JDK 1.4.2_03), IDEA cannot resolve the symbols of any libraries I have added to my project, such as the JavaHelp and JMF libraries. On Mac OS X, the JavaHelp and JMF jar files are not installed to any specific location by default, so I've put them in ~/Developer/Java/ and created IDEA libraries to access them.

The libraries and their included jar files show up in the Project view, but any use of a class from those libraries is still marked as an error in the editor with 'Cannot resolve symbol'.

I'd appreciate any help with this problem. Thanks.

If you have created a Project or Global libraries for that stuff you need to state that the module depends on those
libraries additionally.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Maxim, I'm afraid I don't understand, and I've read the help files on modules and libraries.

I first added the global libraries and set the checkbox on all of them to be included in the project. The symbols were still unresolved.

I then tried adding the same jar files (or their directories) to the module libraries list. The symbols remained unresolved.

I don't know what to try next.

0
Avatar
Permanently deleted user

Scott Steinman wrote:

Maxim, I'm afraid I don't understand, and I've read the help files on modules and libraries.

I first added the global libraries and set the checkbox on all of them to be included in the project. The symbols were still unresolved.

I then tried adding the same jar files (or their directories) to the module libraries list. The symbols remained unresolved.

I don't know what to try next.

Well, would you please mail me your ipr file as well as all iml files and /Users/_you_/Library/Preferences/IntelliJ
IDEA/options/library.table.xml please and I'll try to find out what's going wrong there.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

I've just gotten IDEA 4.5.3 (build 2250) set up on Mac OSX 10.3.7, and it's giving me "cannot resolve symbol" errors on String methods, Hashtable methods, etc. It does however bring up the code completion menu listing the available methods on the objects in question.

I went through this thread and have the JDK set as recommended above (I have 1.4.2_05). I'd really like to be able to use IDEA, but obviously this makes it unusable.

Thanks,
Rob.

0

Please sign in to leave a comment.