2017-01-12 4 views
0

"grails run-app"コマンドを使用してmy2.5.3アプリケーションを起動すると問題なしで起動します。 WebSphere 7上で起動するときしかし、私は次のエラーを取得しています:"GrailsDomainException:IDプロパティが見つかりませんでしたが、ドメインクラスで必須" WebSphere 7のみ

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] 

言及したクラスは、明らかに、ドメインクラスではありませんが、いくつかの理由のGrailsのためにそれがあると考えています。

通常、アプリを再起動すると機能しますが、もう動作しません。私が今回入手したのは、別のクラス(ドメインクラスではなく、サービスクラス)について不平を言っていたことです。

+0

私は、あなたのサイトと新しいサイトの両方のapplicationContext.xmlファイルを比較して、diffが何であるかを確認するために、新しいテストアプリケーションとデプロイメントを開始します:アプリケーションの初期化エラー:エラーの作成ServletContextリソース[/WEB-INF/applicationContext.xml]で定義された 'pluginManager'という名前のBean。より多くのアイデアの手がかりを与えるかもしれない – Vahid

答えて

関連する問題