This method keeps throwing the exception in the title, and I cannot find a reason, I have created other tables through the connection and all the referenced tables have been created. I'm using embedded JavaDB.
private void createEvidenceTable() throws SQLException
{
Statement evidenceTable = CONNECTION.createStatement();
evidenceTable.execute("CREATE TABLE evidence("+
"evidence_id INTEGER NOT NULL PRIMARY KEY,"+
"date_added VARCHAR(6) NOT NULL,"+
"evidence_dated VARCHAR(6) NOT NULL,"+
"evidence_file varchar(20),"+
"evidence_text VARCHAR(10),"+
"source_location_id INTEGER,"+
"source_person_id INTEGER,"+
"evidence_type VARCHAR(20),"+
"CONSTRAINT evidence__location_source FOREIGN KEY(source_location_id) REFERENCES location_source,"+
"CONSTRAINT evidence_person_source FOREIGN KEY(source_person_id) REFERENCES person_source,"+
"CONSTARINT evidence_evidence_type FOREIGN KEY(evidence_type) REFERENCES evidence_types)");
}