我正在尝试从本地 tomcat 的战争中部署 OpenXava 项目。它早些时候在不同的主机上工作,所以不要认为代码有任何问题。但是当我点击 URL 时,我收到了上面提到的错误。这是堆栈跟踪:
type Exception report
message org.openxava.util.XavaException: Seems that Feature is not an EJB3 Entity nor transient model class
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: org.openxava.util.XavaException: Seems that Feature is not an EJB3 Entity nor transient model class
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:549)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
org.openxava.util.XavaException: Seems that Feature is not an EJB3 Entity nor transient model class
org.openxava.annotations.parse.AnnotatedClassParser.getClassNameFor(AnnotatedClassParser.java:2485)
org.openxava.annotations.parse.AnnotatedClassParser.parse(AnnotatedClassParser.java:180)
org.openxava.component.ComponentParser.parseAnnotatedClass(ComponentParser.java:47)
org.openxava.component.ComponentParser.parse(ComponentParser.java:36)
org.openxava.component.MetaComponent.get(MetaComponent.java:60)
org.openxava.component.MetaComponent.exists(MetaComponent.java:75)
org.openxava.application.meta.MetaApplication.existsModel(MetaApplication.java:151)
org.openxava.application.meta.MetaApplication.getMetaModule(MetaApplication.java:140)
org.openxava.controller.ModuleManager.getMetaModule(ModuleManager.java:1022)
org.openxava.controller.ModuleManager.setupModuleControllers(ModuleManager.java:230)
org.openxava.controller.ModuleManager.setModuleName(ModuleManager.java:995)
org.apache.jsp.xava.module_jsp._jspService(module_jsp.java:173)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.openxava.web.servlets.ModuleServlet.doGet(ModuleServlet.java:24)
javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
项目和模块名称都使用正确的大小写。我想知道这个异常的可能原因是什么。