java.lang.IllegalArgumentException: Unable to obtain physical type metadata for type com.foo.bar.domain.Foo

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 Andrew Swan, 1 year ago
Unable to obtain physical type metadata for type com.foo.bar.domain.Foo
via Spring JIRA by Andrew Swan, 1 year ago
Unable to obtain physical type metadata for type com.foo.bar.domain.Foo
via Spring JIRA by Shahzada Hatim, 1 year ago
No metadata provider is currently registered to provide metadata for identifier 'MID:org.springframework.roo.project.ProjectMetadata#the_project' (class 'MID:org.springframework.roo.project.ProjectMetadata')
via Spring JIRA by Shahzada Hatim, 1 year ago
No metadata provider is currently registered to provide metadata for identifier 'MID:org.springframework.roo.project.ProjectMetadata#the_project' (class 'MID:org.springframework.roo.project.ProjectMetadata')
java.lang.IllegalArgumentException: Unable to obtain physical type metadata for type com.foo.bar.domain.Foo
at org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
at org.springframework.roo.addon.web.mvc.controller.scaffold.finder.WebFinderMetadataProviderImpl.getMetadata(WebFinderMetadataProviderImpl.java:59)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:318)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:147)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:149)
at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:236)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:191)
at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:131)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:330)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:304)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:178)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.backgroundPoll(DefaultProcessManager.java:125)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.timerBasedPoll(DefaultProcessManager.java:240)
at org.springframework.roo.process.manager.internal.DefaultProcessManager$2.run(DefaultProcessManager.java:68)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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