java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'

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 Stefan Schmidt, 1 year ago
Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'
via Spring JIRA by Stefan Schmidt, 1 year ago
Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'
via Spring JIRA by Ramnivas Laddad, 1 year ago
SRC_MAIN_JAVA/com/mycompany/hr/domain/Worker.java already exists
via Spring JIRA by Ramnivas Laddad, 1 year ago
SRC_MAIN_JAVA/com/mycompany/hr/domain/Worker.java already exists
via Spring JIRA by Andrew Swan, 1 year ago
Invalid artifactId '${project.groupId}.${pkgArtifactId}'
via Spring JIRA by Andrew Swan, 1 year ago
Invalid artifactId '${project.groupId}.${pkgArtifactId}'
java.lang.IllegalArgumentException: Invalid dependency between upstream 'MID:org.springframework.roo.addon.solr.SolrMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet' and downstream 'MID:org.springframework.roo.addon.tostring.ToStringMetadata#SRC_MAIN_JAVA?com.springsource.petclinic.domain.Pet'
at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.registerDependency(DefaultMetadataDependencyRegistry.java:61)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:250)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:139)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:124)
at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:179)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:244)
at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:138)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:217)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:183)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:140)
at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:162)
at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:326)
at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:119)
at java.lang.Thread.run(Thread.java:637)

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.