Exposed: Unresolved reference: datetime

Created on 9 Jan 2020  路  4Comments  路  Source: JetBrains/Exposed

I have upgraded from version 0.18.1 to 0.20.1 and now i have the "Unresolved reference: datetime" error.
In have also imported "org.jetbrains.exposed.sql.datetime".

Most helpful comment

Have you installed datetime related modules? https://github.com/JetBrains/Exposed/wiki/LibDocumentation#exposed-0181-and-higher

All 4 comments

Have you installed datetime related modules? https://github.com/JetBrains/Exposed/wiki/LibDocumentation#exposed-0181-and-higher

Yes, i installed exposed-jodatime module.

Dependencies caching issue then?

Edit:
Import should be:

import org.jetbrains.exposed.sql.jodatime.datetime

Thanks, definitely a cache issue. I invalidated the Intellij cache and it recommended the new import.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hannesstruss picture hannesstruss  路  5Comments

mgmeiner picture mgmeiner  路  3Comments

gcscaglia picture gcscaglia  路  3Comments

vasily-kirichenko picture vasily-kirichenko  路  4Comments

barry-m picture barry-m  路  3Comments