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

1 comment:

  1. Any suggestion as to what to do (using JDeveloper Studio 11.1.1.7.0) if the 'application assembly' box shows both of my modules (I have a view-controller module, as well as a "model" module) but neither of them has a checkbox even available next to them? Just a little dotted line from one to the next. I can not check OR uncheck ANYTHING. No matter what I get the same old error when I try to generate the EAR file: ERROR: No j2ee modules detected in EAR archive. Deployment aborted.

    ReplyDelete