战争在本地和服务器测试中运行良好。 但是当在新的服务器应用程序上部署战争时,我收到以下错误:
GRAVE: Servlet.service() for servlet [default] in context with path [/App] threw exception [java.lang.StackOverflowError] with root cause
java.lang.StackOverflowError
at com.mysema.query.types.Templates.getTemplate(Templates.java:228)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:218)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
at com.mysema.query.types.expr.BooleanOperation.accept(BooleanOperation.java:44)
at com.mysema.query.support.SerializerBase.handle(SerializerBase.java:83)
at com.mysema.query.support.SerializerBase.visitOperation(SerializerBase.java:244)
at com.mysema.query.sql.SQLSerializer.visitOperation(SQLSerializer.java:559)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:199)
at com.mysema.query.support.SerializerBase.visit(SerializerBase.java:26)
使用的querydsl版本是:2.2.2。 没有与我的代码相关的异常被提出!