Hi ,
whenever i am trying to run a code on eclipse i am getting following error : Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.ofbiz.entity.connection.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:109) at org.ofbiz.entity.jdbc.ConnectionFactory.getManagedConnection(ConnectionFactory.java:135) at org.ofbiz.geronimo.GeronimoTransactionFactory.getConnection(GeronimoTransactionFactory.java:84) at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:97) at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:85) at org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:99) at org.ofbiz.entity.jdbc.DatabaseUtil.getConnectionLogged(DatabaseUtil.java:119) at org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:1023) at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:153) at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:142) at org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1170) at org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:194) at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:274) at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33) at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:1) at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202) at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:174) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:188) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:410) Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.impl.store.raw.xact is sealed 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 java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.getImplementations(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.getDefaultImplementations(Unknown Source) at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source) at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source) at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source) at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source) at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source) ... 25 more please help |
a search in the forum has this:
http://ofbiz.135035.n4.nabble.com/Error-while-running-the-latest-trunk-of-OFBiz-td2249860.html#a2250390
|
thanks James for your valuable suggestion
|
Free forum by Nabble | Edit this page |