I have two modules, A et B. Each module has a persistence.xml file in its META-INF directory:
module B uses the A and B mapping files. That is, module B's persistence.xml looks like:
Now, Idea flags META-INF/orm-A.xml as an error, reporting that it 'cannot resolve symbol META-INF/orm-A.xml'.
I made module B depend on A (Module Settings ->]]> Dependencies), but it didn't solve the problem.
The only way I could make this work was to add module A's META-INF to module B's source, but it's not right, or is it?
I have a similar problem when module B wants to map a class from module A, Idea doesn't find the source for module's A classes.
Any idea on how I could solve this?
BTW, I'm running 6.0.4