java.lang.NoClassDefFoundError: Could not initialize class org.hsqldb.Trace


Solutions on the web1

Solution icon of stackoverflow
Could not initialize class org.hsqldb.Trace

Stack trace

java.lang.NoClassDefFoundError: Could not initialize class org.hsqldb.Trace
	at org.hsqldb.Database.reopen(Unknown Source)
	at org.hsqldb.Database.open(Unknown Source)
	at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
	at org.hsqldb.DatabaseManager.newSession(Unknown Source)
	at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
	at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
	at org.hsqldb.jdbcDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:664)
	at java.sql.DriverManager.getConnection(DriverManager.java:247)
	at net.sf.tinyPayroll.dao.DBConnector.connectDataFile(DBConnector.java:88)
	at net.sf.tinyPayroll.dao.DBConnector.<init>(DBConnector.java:72)
	at net.sf.tinyPayroll.dao.DBConnector.getInstance(DBConnector.java:106)
	at net.sf.tinyPayroll.model.DataFile.<init>(DataFile.java:53)
	at net.sf.tinyPayroll.Main.main(Main.java:42)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.