Wednesday, January 27, 2016

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



When I was deploying my JEE 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

1 comment: