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!

Getting java.classNotFoundException even if the class is there

666655Oct 22 2008 — edited Oct 23 2008
Hi all,

We've recently migrate to jdeveloper 11g production. Our fusion web application used to work perfectly with jdeveloper 11G P4 when running on OC4J. We use the whole ADF Framework on each business layer.

I'm getting java.classNotFoundException on 11G prod, and the strange thing is : class is present ! I've looked everywhere ; and made sure the missing class is just imported once (not twice or more, wich was the default case). Anyway, here's the log :
I'm willing to past xmls files if necessery, or others.
----  Deployment started.  ----    Oct 22, 2008 1:33:35 PM
Target platform is  (Weblogic 10.3).
Running dependency analysis...
2008-10-22 13:33:35.355: Writing WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-ViewController-webapp
2008-10-22 13:33:35.704: Wrote WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-ViewController-webapp
2008-10-22 13:33:35.81: Writing WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-Model-webapp
2008-10-22 13:33:35.863: Wrote WAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA\EASYTEAM GDA-Model-webapp
2008-10-22 13:33:37.044: Writing EAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA
2008-10-22 13:33:37.053: Wrote EAR file to D:\OracleJDev11G\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\EASYTEAM GDA
Deploying Application...
<22 oct. 2008 13 h 33 CEST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application EASYTEAM GDA is not versioned.> 
<22 oct. 2008 13 h 33 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1224675217485' for task '6'. Error is: 'java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag'
java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	Truncated. see log file for complete stacktrace
>
<22 oct. 2008 13 h 33 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'EASYTEAM GDA'.> 
<22 oct. 2008 13 h 33 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: javax.faces.webapp.UIComponentELTag
	at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
	at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
	at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	Truncated. see log file for complete stacktrace
>
[Deployer:149034]An exception occurred for task [Deployer:149026]deploy application EASYTEAM GDA on DefaultServer.: javax.faces.webapp.UIComponentELTag.
weblogic.application.WrappedDeploymentException: javax.faces.webapp.UIComponentELTag
####  Deployment incomplete.  ####    Oct 22, 2008 1:33:40 PM
oracle.jdeveloper.deploy.DeployException
	at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
	at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
	at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
	at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
	at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
	at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
	at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
	at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
	at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
	at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
	at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
	at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1316)
Caused by: oracle.jdeveloper.deploy.DeployException
	at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
	at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
	... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
	at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
	... 12 more
#### Cannot run application EASYTEAM GDA due to error deploying to DefaultServer.
[Application EASYTEAM GDA stopped and undeployed from Server Instance DefaultServer]
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2008
Added on Oct 22 2008
3 comments
859 views