java.lang.IllegalArgumentException: Method 'entityManager' already defined in target type 'com.foo.Food' (ITD target 'com.foo.Food_Roo_Entity')

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 Spring JIRA by David Wilkinson, 1 year ago
via Spring JIRA by Stefan Ocke, 1 year ago
Method 'update' already defined in target type de.controllerpushintest.web.FooController' (ITD target 'de.controllerpushintest.web.FooController_Roo_Controller')
via Spring JIRA by David Wilkinson, 1 year ago
via Spring JIRA by Stefan Ocke, 1 year ago
Method 'update' already defined in target type de.controllerpushintest.web.FooController' (ITD target 'de.controllerpushintest.web.FooController_Roo_Controller')
java.lang.IllegalArgumentException: Method 'entityManager' already defined in target type 'com.foo.Food' (ITD target 'com.foo.Food_Roo_Entity')
at org.springframework.roo.support.util.Assert.isNull(Assert.java:89)
at org.springframework.roo.classpath.details.DefaultItdTypeDetailsBuilder.addMethod(DefaultItdTypeDetailsBuilder.java:93)
at org.springframework.roo.addon.entity.EntityMetadata.(EntityMetadata.java:143)
at org.springframework.roo.addon.entity.EntityMetadataProvider.getMetadata(EntityMetadataProvider.java:73)

Users with the same issue

You are the first who have seen this exception.

Write tip

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