Issue:
When deploy J2EE Application to Weblogic using JDevelper 11g, some exception may be showing.
[04:28:37 PM] >>>> Warning: Unable to determine the target platform from the Profile. Using default...
[04:28:37 PM] ---- Deployment started. ----
[04:28:37 PM] Target platform is (Weblogic 10.3).
[04:28:37 PM] Retrieving existing application information
[04:28:37 PM] Running dependency analysis...
[04:28:37 PM] Building...
[04:28:38 PM] Deploying 2 profiles...
[04:28:38 PM] Wrote EJB Module to F:/Java/JavaEE5WSDemo/Demo1/deploy/EJBModule.jar
[04:28:41 PM] Wrote Enterprise Application Module to F:/Java/JavaEE5WSDemo/deploy/EJBBookStore.ear
[04:28:41 PM] Deploying Application...
[04:29:09 PM] [Deployer:149193]Operation 'deploy' on application 'EJBBookStore' has failed on 'AdminServer'
[04:29:09 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EJBBookStore on AdminServer.: .
[04:29:09 PM] Weblogic Server Exception: weblogic.management.DeploymentException:
[04:29:09 PM] Caused by: java.lang.ClassNotFoundException: oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener
[04:29:09 PM] See server logs or server console for more details.
[04:29:09 PM] weblogic.management.DeploymentException:
[04:29:09 PM] #### Deployment incomplete. ####
[04:29:09 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Solution:
check META-INF/weblogic-application.xml in your ear, and whether there is a snippet:
Delete it and , will be ok.