java.lang.IllegalArgumentException: Unsupported entity com.myapp.domain.tenant.FileBatch! Could not determine IsNewStrategy.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Vlad Manuel Mureșan
, 1 year ago
Unsupported entity com.myapp.domain.tenant.FileBatch! Could not determine IsNewStrategy.
via Stack Overflow by Scott J.
, 1 year ago
Unsupported entity org.springframework.integration.mongodb.store.MongoDbMessageStore$MessageWrapper! Could not determine IsNewStrategy.
via Spring JIRA by Scott Jungers, 1 year ago
Unsupported entity org.springframework.integration.mongodb.store.MongoDbMessageStore$MessageWrapper! Could not determine IsNewStrategy.
via Spring JIRA by Florian Geßner, 1 year ago
Unsupported entity org.gessnerfl.persistence.springdata.mongodb.dummy.model.DummyObject! Could not determine IsNewStrategy.
via Spring JIRA by Florian Geßner, 1 year ago
Unsupported entity org.gessnerfl.persistence.springdata.mongodb.dummy.model.DummyObject! Could not determine IsNewStrategy.
java.lang.IllegalArgumentException: Unsupported entity com.myapp.domain.tenant.FileBatch! Could not determine IsNewStrategy.
at org.springframework.data.support.IsNewStrategyFactorySupport.getIsNewStrategy(IsNewStrategyFactorySupport.java:48)
at org.springframework.data.mongodb.core.mapping.event.AuditingEventListener.onApplicationEvent(AuditingEventListener.java:54)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:381)
at org.springframework.data.mongodb.core.MongoTemplate.maybeEmitEvent(MongoTemplate.java:1633)
at org.springframework.data.mongodb.core.MongoTemplate.doInsert(MongoTemplate.java:805)
at org.springframework.data.mongodb.core.MongoTemplate.insert(MongoTemplate.java:749)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.