首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从richfaces 3.3.2迁移到richfaces 4.0.0最终

从richfaces 3.3.2迁移到richfaces 4.0.0最终
EN

Stack Overflow用户
提问于 2012-09-13 16:46:54
回答 2查看 1.4K关注 0票数 1

我正在尝试将web应用程序从richfaces 3.3.2迁移到4.0.0,因此我在web.xml文件中更改了必要的内容(servlet映射".xhtml“并删除了Ajax4jsf过滤器)。我也将richfaces 3 jars改成了第四版,但现在我遇到了一些错误,不知道如何解决它们:

代码语言:javascript
复制
The import org.ajax4jsf cannot be resolved
The import org.ajax4jsf cannot be resolved
The import org.ajax4jsf cannot be resolved
The import org.richfaces cannot be resolved
The import org.richfaces cannot be resolved
The import org.richfaces cannot be resolved
Incompatible conditional operand types UIComponent and UICalendar
UICalendar cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
Incompatible conditional operand types UIViewRoot and AjaxViewRoot
AjaxViewRoot cannot be resolved to a type
AjaxViewRoot cannot be resolved to a type
org.ajax4jsf cannot be resolved to a type
EventsQueue cannot be resolved to a type
HtmlAjaxSupport cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
Incompatible conditional operand types UIComponent and HtmlCalendar
HtmlCalendar cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
HtmlToolTip cannot be resolved to a type
HtmlToolTip cannot be resolved to a type

有人能帮帮我吗?

EN

回答 2

Stack Overflow用户

发布于 2012-09-14 19:50:41

缺少richfaces-core-impl库

Javadoc AjaxViewRoot v4

票数 0
EN

Stack Overflow用户

发布于 2014-01-14 14:48:52

删除web.xml文件中的RichFaces 3.3 Ajax过滤器

代码语言:javascript
复制
         <filter>
                <display-name>RichFaces Filter</display-name>
                <filter-name>richfaces</filter-name>
                <filter-class>org.ajax4jsf.Filter</filter-class>
          </filter>

            <filter-mapping>
                <filter-name>richfaces</filter-name>
                <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>
                <dispatcher>INCLUDE</dispatcher>
            </filter-mapping>

RichFaces 4.0.0最终打开webmvc-config.xml文件添加以下内容

代码语言:javascript
复制
       <bean id="flowController" class="org.springframework.webflow.mvc.servlet.FlowController">
            <property name="flowExecutor" ref="flowExecutor" />
            <property name="ajaxHandler">
                <bean class="org.springframework.faces.webflow.JsfAjaxHandler" />
            </property>
        </bean>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12402588

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档