When starting my grails 2.5.3 app with the command "grails run-app" it starts with no issues. But when starting it on WebSphere 7 I am getting the following error:
context.GrailsContextLoaderListener - Error initializing the application: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.codehaus.groovy.grails.exceptions.GrailsDomainException: Identity property not found, but required in domain class [org.codehaus.groovy.grails.plugins.codecs.SHA1BytesCodec]
The mentioned class obviously isn't a domain class but for some reason grails thinks it is.
Usually restarting the app would work but not anymore. All I got this time was making it complain about a different class (also not a domain one, but a service one).
Fixed at Grails 3.1.x and Grails 2.5.x.