jmix-framework / jmix

Jmix framework
https://www.jmix.io
Apache License 2.0
560 stars 122 forks source link

Can't start a JMIX project : Broken Dependency #657

Closed DREIZ3R closed 2 years ago

DREIZ3R commented 2 years ago

image `Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'. Could not find org.webjars.npm:mime-db:1.52.0. Searched in the following locations:

gorbunkov commented 2 years ago

Clean Jmix projects works fine. The problem seems to be caused by the new version of mime-types - it uses the mime-db 1.52.0 but its webjar is not in maven central yet. This dependency is used, for example, by GrapesJS and EmailTemplates add-ons

DREIZ3R commented 2 years ago

My project has GrapeJS and EmailTemplates. After removing EmailTemplates everything worked. Thank you.

knstvk commented 2 years ago

It was a temporary problem with webjar artifacts in Maven central. Now the required version is available, so everything should work.