org.springframework.data.mapping.PropertyReferenceException

No property service found for type com.fm.ts.domain.finance.ExpenseSpecialInfo

Solutions on the web81

  • via Spring JIRA by Bilguun Bayarmagnai, 1 year ago
    No property service found for type com.fm.ts.domain.finance.ExpenseSpecialInfo
  • via Spring JIRA by Bilguun Bayarmagnai, 1 year ago
    No property service found for type com.fm.ts.domain.finance.ExpenseSpecialInfo
  • via Stack Overflow by Ayo K
    , 1 year ago
    No property type found for type Report!
  • Stack trace

    • org.springframework.data.mapping.PropertyReferenceException: No property service found for type com.fm.ts.domain.finance.ExpenseSpecialInfo at org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:75) at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:327) at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:353) at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:307) at org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:290) at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:274) at org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:245) at org.springframework.data.mongodb.core.aggregation.TypeBasedAggregationOperationContext.getReference(TypeBasedAggregationOperationContext.java:91) at org.springframework.data.mongodb.core.aggregation.ProjectionOperation$ProjectionOperationBuilder$FieldProjection.renderFieldValue(ProjectionOperation.java:509) at org.springframework.data.mongodb.core.aggregation.ProjectionOperation$ProjectionOperationBuilder$FieldProjection.toDBObject(ProjectionOperation.java:500) at org.springframework.data.mongodb.core.aggregation.ProjectionOperation.toDBObject(ProjectionOperation.java:185) at org.springframework.data.mongodb.core.aggregation.Aggregation.toDbObject(Aggregation.java:228) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1296) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1273) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1262) at com.fm.ts.dao.ExpenseDaoTest.testServiceExpense(ExpenseDaoTest.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:606) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:88) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Once, 2 months ago
    2 times, 1 year ago
    14 times, 1 week ago
    2 times, 2 weeks ago
    19 more bugmates