When I try deploying an application with the Intellij IDE, I get an error stating
" The requested resource (/sample/greeting) is not available.".
I figured that IntelliJ doesn't map the created EAR file to the Jboss deployment service so I copied the EAR file to the "...\deploy\" directory. I get the following error message:
ERROR Could not initialise deployment: file:/C:/MyWork/J2EE/O'Reilly EJB's/sample/app/app.ear
org.jboss.deployment.DeploymentException: Error in accessing application metadata: ; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='app.ear' already registered.)
I hope you'd help me with this. Thanks!