java.lang.IllegalArgumentException: SRC_MAIN_JAVA/com/mycompany/hr/domain/Worker.java already exists

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 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 Ludovic Claude, 1 year ago
SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ChangeUserDataController.java already exists
via Spring JIRA by Ludovic Claude, 1 year ago
SRC_MAIN_JAVA/com/lbpoker/selfcare/web/ChangeUserDataController.java already exists
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'
java.lang.IllegalArgumentException: SRC_MAIN_JAVA/com/mycompany/hr/domain/Worker.java already exists
at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
at org.springframework.roo.classpath.operations.ClasspathOperationsImpl.generateClassFile(ClasspathOperationsImpl.java:117)
at org.springframework.roo.classpath.operations.ClasspathCommands.newPersistenceClassJpa(ClasspathCommands.java:258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.roo.support.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:191)
at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy$1.callback(ProcessManagerHostedExecutionStrategy.java:34)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:164)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:127)
at org.springframework.roo.process.manager.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:32)
at org.springframework.roo.shell.AbstractShell.executeCommand(AbstractShell.java:149)
at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:195)
at org.springframework.roo.shell.jline.JLineShell.run(JLineShell.java:122)
at java.lang.Thread.run(Thread.java:637)

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.