com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'afterword' in 'field list'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by mtecfred
, 1 year ago
Unknown column 'afterword' in 'field list'
via Stack Overflow by Eric
, 7 months ago
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Database' at line 1
via Stack Overflow by Ole Martin Larsen
, 2 weeks ago
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'MAX) NOT NULL, PRIMARY KEY (id) )' at line 1
via Stack Overflow by Daniel
, 1 year ago
Unknown column 'CCE' in 'where clause'
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'afterword' in 'field list'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
at com.mysql.jdbc.Util.getInstance(Util.java:387)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:942)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2526)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2673)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
at net.sf.jabref.sql.SQLUtil.executeQuery(SQLUtil.java:229)
at net.sf.jabref.sql.SQLUtil.processQuery(SQLUtil.java:190)
at net.sf.jabref.sql.exporter.DatabaseExporter.populateEntryTypesTable(DatabaseExporter.java:228)
at net.sf.jabref.sql.exporter.DatabaseExporter.performExport(DatabaseExporter.java:99)
at net.sf.jabref.sql.exporter.DatabaseExporter.exportDatabaseToDBMS(DatabaseExporter.java:401)
at net.sf.jabref.gui.BasePanel$1.run(BasePanel.java:455)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at spin.Invocation.evaluate(Invocation.java:175)
at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:108)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

13 times, 11 months ago
6 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 4 months ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.