Fehler in mysql.persist und mapdb.persist
Verfasst: 20. Mär 2026 14:26
Hallo zusammen,
ich bekomme bei meinen Persistences die folgenden Fehler:
Könnt ihr mir helfen woran das liegt?
Bisher hat das immer einwandfrei funktioniert. Nach irgendeinem Update ging das nicht mehr.
Hier die Config:
ich bekomme bei meinen Persistences die folgenden Fehler:
Code: Alles auswählen
2026-03-20 14:23:10.422 [WARN ] [el.core.internal.ModelRepositoryImpl] - DSL model 'mysql.persist' has errors, therefore ignoring it: [10,5]: no viable alternative at input 'default'
2026-03-20 14:23:10.430 [WARN ] [el.core.internal.ModelRepositoryImpl] - DSL model 'mapdb.persist' has errors, therefore ignoring it: [2,9]: no viable alternative at input 'default'
Bisher hat das immer einwandfrei funktioniert. Nach irgendeinem Update ging das nicht mehr.
Hier die Config:
Code: Alles auswählen
/************************************************** MySQL Persistence ********************************************/
// persistence strategies have a name and a definition and are referred to in the "Items" section
Strategies {
// if no strategy is specified for an item entry below, the default list will be used
everyMinute : "0 * * * * ?"
every5Minutes : "0 */5 * * * ?"
everyHour : "0 0 * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
}
Items {
// persist all items once a day and on every change and restore them from the db at startup
*: strategy = everyChange, restoreOnStartup
}
Code: Alles auswählen
Strategies {
default = everyChange
}
Items {
// persist all items once a day and on every change and restore them from the db at startup
*: strategy = everyChange, restoreOnStartup
}