This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
I have a problem when using ANT script to deploy to an environment.
When I use Windows 7 I get the following exception in Java Console when I try to login to my application:
Caused by: java.lang.NoClassDefFoundError: oracle/sql/ORADataFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at sun.misc.Launcher$ExtClassLoader.findClass(Unknown Source)
But supisingly when I deploy the same code from a PC that uses Windows XP, everything works fine. The company wants to take away the old PC (XP) because they gave us the new ones (with Windows 7) so I have to get this to work on the new PC.
I am using JDK 1.6 on both PCs.
What could be the problem with the new PC? Please assist.
Joined: Sep 22, 2009
Still experiencing the same problem... Any suggestion/ideas out there?? Anyone?