Hello there,
So my first question is: What do all these warnings mean?
[WARNING] advice defined in org.springframework.orm.jpa.aspectj.JpaExceptionTranslatorAspect has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.scheduling.aspectj.AbstractAsyncExecutionAspect has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.data.neo4j.aspects.support.relationship.Neo4jRelationshipBacking has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.data.neo4j.aspects.support.relationship.Neo4jRelationshipBacking has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.data.neo4j.aspects.support.relationship.Neo4jRelationshipBacking has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
[WARNING] advice defined in org.springframework.mock.staticmock.AbstractMethodMockingControl has not been applied [Xlint:adviceDidNotMatch]
My second problem is about Eclipse recognition.
As you maybe noticed the only test case (see src/test/com/mygroup/myapp/test/FeatureTest.java:testFeature()) creates 2 "Feature" objects in the DB. For those who would be a bit lazy I copy the code here:
Feature feat1 = new Feature("feat_1");
Assert.assertNotNull(featureRepository.save(feat1));
Feature feat2 = new Feature("feat_2");
feat2.persist();
Assert.assertNotNull(featureRepository.findByObjectId("feat_2"));
Both creations work fine (i.e. there's no test failure and the app is built correctly). But in my IDE (Eclipse), the persist() method is unrecognized (i.e. always underlined in red with "The method persist() is undefined for the type Feature"). So what do I have to configure to make Eclipse recognizing that method? (I have the same problem with remove())
Cheers,
MV