jkuehn / gorm-mongodb

Grails GORM implementation for the MongoDB document oriented database
http://www.grails.org/plugin/mongodb-morphia
Apache License 2.0
21 stars 14 forks source link

Unable to resolve class #19

Open martofeld opened 8 years ago

martofeld commented 8 years ago

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

jkuehn commented 8 years ago

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