Problem began a few days ago, asked a question (Eclipse 4.5.1 jpa 2.1 facet error) but didn't get much response. In the mean time I've tracked down where the problem probably is (Maven workspace resolution setting) but have no clue about the solution. My IDS is Eclipse Mars 4.5 (newest version, downloaded and installed 2 days ago). The 'problem' project has a number of classes that extend @MappedSuperclasses (@MSC) from another project that is in the same workspace.
Here's what happens when Maven workspace resolution is:
ENABLED - (i) 'JPA Details' view functions properly, (ii) persistence.xml file opens properly (i.e. tabs at bottom show, etc), .. BUT (iii) adding @MSC to persistence.xml generates error "Class '[class]' cannot be resolved". Tried adding @MSC files to an orm.xml file, same result. Everything compiles (i.e. classes in problem project extend @MSC classes w/no problem).
DISABLED - (i) 'JPA Details' view no longer works, & (ii) persistence.xml opens only with basic xml editor, which generates many problem messages (including 'Target entity not defined') which suggest that Eclipse is no longer treating project as a qualified JPA project.
I'm really at 6's and 7's on this, would be grateful for some guidance. Is this one of those irritating false positives that needs to be suppressed? Thanks.
FWIW here's the text for the persistence.xml version: persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"