Grails アプリケーションを実行しようとしていますが、以下の例外が発生します
SEVERE: クラス org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener のリスナー インスタンスにコンテキスト初期化イベントを送信する例外
**org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplication' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.VerifyError: (class: xls/Recruitment, method: initErrors signature: ()V) Unable to pop operand off an empty stack**
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
**Caused by: java.lang.VerifyError: (class: xls/Recruitment, method: initErrors signature: ()V) Unable to pop operand off an empty stack**
at java.lang.Class.forName(Class.java:247)
... 5 more
私はgrails 2.0を使用しており、例外に記載されている募集クラスはドメインクラスです。
package xls
class Recruitment implements Serializable {
String id
String position
String candidateName
String noticePeriod
String hrAgencyName
String cellPhone
String profileSourcingData
String totalWorkExperience
String emailAddress
String currentCTC
String expectedCTC
String currentPosition
String currentOrganisationName
String communication
String bankingOrFinancialDomainKnowledge
String clientManagementExperience
String reasonForChange
String firstInterviewBy
String secondInterviewBy
String interviewStatus
String offerDate
String expectedDateOfJoining
String joiningTeamName
static constraints = {
position(blank:true, nullable:true)
candidateName(blank:true, nullable:true)
noticePeriod(blank:true, nullable:true)
hrAgencyName(blank:true, nullable:true)
cellPhone(blank:true, nullable:true)
profileSourcingData(blank:true, nullable:true)
emailAddress(blank:true, nullable:true)
totalWorkExperience(blank:true, nullable:true)
currentCTC(blank:true, nullable:true)
expectedCTC(blank:true, nullable:true)
currentPosition(blank:true, nullable:true)
currentOrganisationName(blank:true, nullable:true)
communication(blank:true, nullable:true)
bankingOrFinancialDomainKnowledge(blank:true, nullable:true)
clientManagementExperience(blank:true, nullable:true)
reasonForChange(blank:true, nullable:true)
firstInterviewBy(blank:true, nullable:true)
secondInterviewBy(blank:true, nullable:true)
interviewStatus(blank:true, nullable:true)
offerDate(blank:true, nullable:true)
expectedDateOfJoining(blank:true, nullable:true)
joiningTeamName(blank:true, nullable:true)
}
static mapping = {
id generator:'assigned'
}
}