java.lang.IllegalArgumentException: Invalid artifactId '${project.groupId}.${pkgArtifactId}'

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
Invalid artifactId '${project.groupId}.${pkgArtifactId}'
via Spring JIRA by Andrew Swan, 1 year ago
Invalid artifactId '${project.groupId}.${pkgArtifactId}'
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 Ludovic Claude, 1 year ago
Upstream dependency is an invalid metadata identification string ('null')
via Spring JIRA by Ludovic Claude, 1 year ago
Upstream dependency is an invalid metadata identification string ('null')
java.lang.IllegalArgumentException: Invalid artifactId '${project.groupId}.${pkgArtifactId}'
at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
at org.springframework.roo.project.GAV.(GAV.java:46)
at org.springframework.roo.project.maven.Pom.(Pom.java:88)
at org.springframework.roo.project.maven.PomFactoryImpl.getInstance(PomFactoryImpl.java:75)
at org.springframework.roo.project.PomManagementServiceImpl.parseUnparsedPoms(PomManagementServiceImpl.java:166)
at org.springframework.roo.project.PomManagementServiceImpl.updatePomCache(PomManagementServiceImpl.java:140)
at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModule(PomManagementServiceImpl.java:111)
at org.springframework.roo.project.PomManagementServiceImpl.getFocusedModuleName(PomManagementServiceImpl.java:119)
at org.springframework.roo.project.AbstractProjectOperations.getFocusedModuleName(AbstractProjectOperations.java:149)
at org.springframework.roo.project.AbstractProjectOperations.isFocusedProjectAvailable(AbstractProjectOperations.java:129)
at org.springframework.roo.addon.dbre.model.DbreModelServiceImpl.getDbreXmlPath(DbreModelServiceImpl.java:119)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:352)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publishRequestedFileEvents(PollingFileMonitorService.java:175)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:150)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:192)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:146)
at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:47)
at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:204)
at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:403)

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.