按照课程的代码打完,出错了,帮忙看一下
Exception in thread "main" java.sql.SQLException: No value specified for parameter 6
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)
at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2214)
at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:2138)
at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:957)
at Dao_operation.GoddessDao.addGoddess(GoddessDao.java:40)
at action.GoddessAction.main(GoddessAction.java:35)