Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

(JDev 12.2.1.2) weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.l

Mehdi EsteghamatianJan 8 2018 — edited Feb 24 2018

hi All,

I have inherited an application from a developer which is supposed to contain a model layer (EO/VO/AM).

Then I was supposed to add a view layer to it so .... I created an ADF View Controller project next to it like below:

pastedImage_0.png

pastedImage_1.png

When I try to run the project .... I get the below error message:

which I don't exactly know what it has to do with....!!!???

Any clue is appreciate it.

M

[Running application SystemDomains on IntegratedWebLogicServer...]

[04:34:13 م] Web Module DomainsModelWebApp.war recognized in project DomainsModel.jpr

[04:34:13 م] Web Module DomainsViewControllerWebApp.war recognized in project DomainsViewController.jpr

[04:34:14 م] ---- Deployment started. ----

[04:34:14 م] Target platform is (Weblogic 12.x).

[04:34:14 م] Retrieving existing application information

[04:34:14 م] Running dependency analysis...

[04:34:14 م] Deploying 3 profiles...

[04:34:15 م] Wrote Web Application Module to C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.2.42.170105.1224\o.j2ee\drs\SystemDomains\DomainsViewControllerWebApp.war

[04:34:15 م] Wrote Web Application Module to C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.2.42.170105.1224\o.j2ee\drs\SystemDomains\DomainsModelWebApp.war

[04:34:15 م] Wrote Enterprise Application Module to C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.2.42.170105.1224\o.j2ee\drs\SystemDomains

[04:34:15 م] Deploying 2 data source(s) to the server...

[04:34:15 م] Warning: Password for data source MIS47, user * not found. Data source password not deployed to the server.

[04:34:15 م] Warning: Password for data source MIS, user * not found. Data source password not deployed to the server.

[04:34:15 م] Deploying Application...

<ينا 8, 2018, 4:34:18,709 م IRST> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\admin\AppData\Roaming\JDeveloper\system12.2.1.2.42.170105.1224\o.j2ee\drs\SystemDomains\DomainsViewControllerWebApp.war. Ensure that the annotations are valid. The error is oracle.adf.library.webapp.ResourceServlet>

<ينا 8, 2018, 4:34:18,759 م IRST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "8690661237398" for task "3" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet"

weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)

at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)

Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1026)

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:987)

at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83)

at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:608)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:540)

Truncated. see log file for complete stacktrace

>

<ينا 8, 2018, 4:34:18,816 م IRST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "SystemDomains".>

<ينا 8, 2018, 4:34:18,816 م IRST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004

weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:114)

at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:192)

at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:187)

at weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:83)

Truncated. see log file for complete stacktrace

Caused By: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1026)

at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:987)

at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:83)

at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:608)

at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:540)

Truncated. see log file for complete stacktrace

>

#### Cannot run application SystemDomains due to error deploying to IntegratedWebLogicServer.

[04:34:19 م] Deployment cancelled.

[04:34:19 م] ---- Deployment incomplete ----.

[04:34:19 م] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

[04:34:19 م] Cancel requested

[Application SystemDomains stopped and undeployed from IntegratedWebLogicServer]

This post has been answered by Panagiotis Konstantinidis on Jan 8 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2018
Added on Jan 8 2018
4 comments
1,427 views