Common errors and solutions

As errors and solutions are encountered this list is updated to help developers working with Molecule.

Compile time


☝︎ Cannot resolve overloaded method ‘inputMolecule’

When forgetting to explicitly calling m on an input molecule

val inputMolecule =
inputMolecule("Ben") // will not compile and likely be inferred as an error in your IDE

Input molecule needs to be declared explicitly with the m method

val inputMolecule = m(
// Now we can apply value to input molecule

☝︎ JdbcSQLException: Connection is broken: “ Connection refused

Datomic transactor is not running - start it.