user1679671
user1679671

Reputation:

"Cannot resolve symbol" in xml files in Intellij IDEA

I've got this error in every xml file in my project and all tags appears in red. XSD's are located in external library but I have them under Project/Libraries. When I was using IDEA CE v13 all was fine but after I updated to 14 version it has stopped resolving xml files. If anyone else has solved this please give some advices. Tnx!

PS. Im using Mac OS 10.10.4 and IDEA CE 14.1.4

Upvotes: 3

Views: 4875

Answers (2)

user1679671
user1679671

Reputation:

It seems to be a bug starting at version 14.0.3 of Community Edition

Upvotes: 0

Ivaylo D. Ivanov
Ivaylo D. Ivanov

Reputation: 3859

You need to configure the external xsd to be recognized by the IDEA. Go to:

File > Settings > Language & Frameworks > Schemas & DTDs

and add there your dtd from the external jar.

Upvotes: 2

Related Questions