I have somewhat below code for my mapper interface:
@Mapper public interface CassandraMapper { @DaoFactory AccountAccessors accountDao(); @DaoFactory ServerAccessor ServerDao(); @DaoFactory RuleAccessor ruleDao(); @DaoFactory RegistrationAccessor registrationDao(); @DaoFactory DeletionAccessor deletionDao(); @DaoFactory EventForwardingAccessor eventForwardingDao(); @DaoFactory Serverchallenge serverChallengeDao(); @DaoFactory MetricDetialAccessor metricDetailDao(); static MapperBuilder<CassandraMapper> builder(CqlSession session) { return new CassandraMapperBuilder(session); } }
there are few junits written on top of this and all the junits are working fine.
But when i individually run the junit it gives me compilation error like :
com\gemalto\smds\cft\unittests\database\CassandraMapper.java:36:20 java: cannot find symbol symbol: class CassandraMapperBuilder location: interface packagepath.CassandraMapper
Please help.
Seems when junits are run individually CassandraMapperBuilder class is not getting generated in intellij