当前位置:编程学习 > 网站相关 >>

请大家看看weblogic报错是怎么回事,急呀!

 ERROR (QueryAction.java:127) - [exception]

javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/formJSP/FreedomFormBody.jsp
FreedomFormBody.jsp:34:3: This type name is ambiguous because it matches more than one '*'-import, including 'com.bestinfo.platform.form.component.*' and 'com.bestinfo.platform.sql.*'.
ResultData resultData = aForm.getResultData();
                ^--------^
FreedomFormBody.jsp:34:27: Inconvertible types. Found com.bestinfo.platform.sql.ResultData, required com.bestinfo.platform.form.component.ResultData.
ResultData resultData = aForm.getResultData();
                                        ^-------------------^

at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:247)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bestinfo.commons.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at jsp_servlet._jsp._formjsp.__freedomform._jspService(__freedomform.java:250)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bestinfo.commons.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:454)
at com.bestinfo.commons.util.WebUtils.include(WebUtils.java:289)
at com.bestinfo.platform.servlet.action.QueryAction.doActionImp(QueryAction.java:122)
at com.bestinfo.platform.servlet.action.FormEngineAction.doAction(FormEngineAction.java:156)
at com.bestinfo.platform.servlet.FormGenerateServlet.dispatchAction(FormGenerateServlet.java:61)
at com.bestinfo.platform.servlet.FormGenerateServlet.service(FormGenerateServlet.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.bestinfo.commons.web.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3393)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/formJSP/FreedomFormBody.jsp
FreedomFormBody.jsp:34:3: This type name is ambiguous because it matches more than one '*'-import, including 'com.bestinfo.platform.form.component.*' and 'com.bestinfo.platform.sql.*'.
ResultData resultData = aForm.getResultData();
                ^--------^
FreedomFormBody.jsp:34:27: Inconvertible types. Found com.bestinfo.platform.sql.ResultData, required com.bestinfo.platform.form.component.ResultData.
ResultData resultData = aForm.getResultData();
                                        ^-------------------^

at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:298)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:216)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:165)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
... 39 more
补充:企业软件 ,  中间件
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,