Compiling Code Error Abstract class Driverwrapper

<<

SSD Chocolate

Posts: 5

Joined: Fri Oct 28, 2011 1:05 am

Post Fri Oct 28, 2011 1:18 am

Compiling Code Error Abstract class Driverwrapper

Hi

I have downloaded code and try to compile the code its give following error

Oct 27, 2011 5:00:53 PM com.openbravo.pos.forms.AppConfig init
INFO: Reading configuration file: C:\Documents and Settings\SSDChocolatier\openbravopos.properties
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.openbravo.pos.forms.AppViewConnection.createSession(AppViewConnection.java:52)
at com.openbravo.pos.forms.JRootApp.initApp(JRootApp.java:105)
at com.openbravo.pos.forms.JRootFrame.initFrame(JRootFrame.java:55)
at com.openbravo.pos.forms.StartPOS$1.run(StartPOS.java:107)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.RuntimeException: Uncompilable source code - com.openbravo.pos.forms.DriverWrapper is not abstract and does not override abstract method getParentLogger() in java.sql.Driver
at com.openbravo.pos.forms.DriverWrapper.<clinit>(DriverWrapper.java:32)


in hint its give
[com.openbravo.pos.form.DriverWrapper is not abstract and does not override abstract method getParentLogger() in java.sql.Driver

Any help on this would be highly appreciated


Thanks
<<

SSD Chocolate

Posts: 5

Joined: Fri Oct 28, 2011 1:05 am

Post Fri Nov 04, 2011 9:55 pm

Re: Compiling Code Error Abstract class Driverwrapper

Its because of JDK 1.7
I have change it to 1.6 now compiling :lol:

Return to Forge Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Website Terms


Designed by ST Software for PTF.