application.xml

Maven doesn't recognize EJB as dependency of project when trying to define module

柔情痞子 提交于 2019-12-03 01:33:14
Today I upgraded my local Glassfish server to 3.1.1 in preparation for my company's upgrading of the servers to the same version. I am attempting to convert my web service project to play nice with the new server, and have hit a road block. In my ear's pom file, I previously had both the webapp and the ejb listed as dependencies. In the webapp's pom, I had the ejb listed as a dependency as well. When attempting to deploy this configuration to Glassfish 3.1.1, I received this error: Error occurred during deployment: Exception while deploying the app [ear] : Cannot resolve reference Local ejb