gorm-mongodb
gorm-mongodb copied to clipboard
Unable to resolve class
With grails 2.4.4 when i try to use the plugin and compile the project, the plugin fails to import all these classes
import com.google.code.morphia.annotations.Transient import com.google.code.morphia.annotations.Embedded; import com.google.code.morphia.annotations.Id; import com.google.code.morphia.annotations.Version; import org.bson.types.ObjectId import com.google.code.morphia.annotations.Entity
finally throwing
Error executing plugin mongodb-morphia-0.8.2 script: target/work/plugins/mongodb-morphia-0.8.2/scripts/_Install.groovy
This plugin is no longer maintained. Please try the official MongoDB plugin: https://grails.org/plugin/mongodb
If you still want to use Morphia, i suggest to checkout this project and update the import packages according to the new structure (org.mongodb.morphia). Maybe you will need to update to new Grails apis but overall it should not give a lot of hassle