June 10, 2013

ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)



When I was deploying my ADF application to EAR file from JDeveloper, got the below error.

ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.VetoableDeployException)


To solve this issue, I have done below steps.
  • Go to application properties (not project properties)
  • Go to deployment
  • Select the deployment profile and click on Edit
  • Go to “Application Assembly”
  • Select the check boxes which you want to include in the EAR file from the available “Java EE Modules” (in my case, nothing was selected. So I selected my model and view modules.)
  • Click Ok