This discussion is archived
5 Replies Latest reply: Jun 16, 2013 8:52 PM by Maroof Ahmad RSS

Migrated JDeveloper 10g Application to JDev11g (11.1.1.7) when we running my our application then error java.lang.NoClassDefFoundError: ${java}

Maroof Ahmad Newbie
Currently Being Moderated

*** Using port 7101 ***

C:\Users\Administrator\AppData\Roaming\JDeveloper\system11.1.1.7.40.64.93\DefaultDomain\bin\startWebLogic.cmd

[waiting for the server to complete its initialization...].

JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m.

WLS Start Mode=Development.

CLASSPATH=D:\ORACLE~1.7\MIDDLE~1\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;D:\ORACLE~1.7\MIDDLE~1\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1.7\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1.7\MIDDLE~1\JDK160~1\lib\tools.jar;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~1.7\MIDDLE~1\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~1.7\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~1.7\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\ORACLE~1.7\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;D:\Oracle_11.1.1.7\Middleware\jdk160_24\bin

.

PATH=D:\ORACLE~1.7\MIDDLE~1\patch_wls1035\profiles\default\native;D:\ORACLE~1.7\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1.7\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1.7\MIDDLE~1\JDK160~1\jre\bin;D:\ORACLE~1.7\MIDDLE~1\JDK160~1\bin;D:\OracleDb_11g\app\oracle\product\11.2.0\server\bin;;C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\product\10.1.3.1\OracleAS_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_26\bin;;D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8

.

***************************************************

*  To start WebLogic Server, use a username and   *

*  password assigned to an admin-level user.  For *

*  server administration, use the WebLogic Server *

*  console at http:\\hostname:port\console        *

***************************************************

starting weblogic with Java version:

java version "1.6.0_24"

Java(TM) SE Runtime Environment (build 1.6.0_24-b50)

Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)

Starting WLS with line:

D:\ORACLE~1.7\MIDDLE~1\JDK160~1\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy ${java} -classpath ${oc4j.jar} -Djava.protocol.handler.pkgs=com.sun.net.ssl -Djbo.debugoutput=console -Dadfvdt.disableOjspDeployment=true -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true ${oc4j.environ.type} ${memory.archive.flag} ${keep.alive.timeout.flag} ${oracle.jms.lock.flag} ${oc4j.main.class} -config ${server.xml}  -Xverify:none  -da -Dplatform.home=D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\ORACLE~1.7\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\ORACLE~1.7\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1 -Djrockit.optfile=D:\ORACLE~1.7\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.domain.config.dir=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1  -Digf.arisidbeans.carmlloc=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.config=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\ORACLE~1.7\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\ORACLE~1.7\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1,D:\ORACLE~1.7\MIDDLE~1\ORACLE~1\modules\oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\ADMINI~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.93\DEFAUL~1\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\ORACLE~1.7\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\ORACLE~1.7\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server

  1. java.lang.NoClassDefFoundError: ${java}

Caused by: java.lang.ClassNotFoundException: ${java}

                at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

                at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

Could not find the main class: ${java}.  Program will exit.

Exception in thread "main" Process exited.

Please Give some suggestion

Thanks and Regards

Maroof

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points