java.lang.IllegalArgumentException: Could not locate 'Pizza' in compilation unit

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
Could not locate 'Pizza' in compilation unit
via Spring JIRA by Andrew Swan, 1 year ago
Could not locate 'Pizza' in compilation unit
via Spring JIRA by Niklas Saers, 1 year ago
JDBC driver not available for 'com.mysql.jdbc.Driver'
via Spring JIRA by Jack Punt, 1 year ago
JDBC driver not available for 'com.mysql.jdbc.Driver'
java.lang.IllegalArgumentException: Could not locate 'Pizza' in compilation unit
at org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.(JavaParserClassMetadata.java:67)
at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:152)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:147)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:216)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:268)
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:214)
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)
at java.lang.Thread.run(Thread.java:680)

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.