日期:2014-05-20  浏览次数:20626 次

各位高人,走过路过,不要错过,都看一看吧
我使用myeclipse来建立jsf工程,可是myeclipse自带的都是MyFaces   1.1.1support,我如何升级到MyFaces   1.2support呢,另外我import别人的一个工程时,总是报如下错误Unable   to   create   this   part   due   to   an   internal   error.   Reason   for   the   failure:   Project   'vote '   is   not   configured   as   a   MyEclipse   Web-JSF   Project.   Therefore   the   MyEclipse   JSF   Config   Editor   may   not   be   used   with   faces-config-bean.xml.     The   default   XML   Editor   has   been   used   to   open   the   file   instead.



------解决方案--------------------
我所能做的就是把你的错误翻译成中文。
Unable to create this part due to an internal error.
因为内部错误,无法创建这部分东西。
Reason for the failure
错误的原因是
Project 'vote ' is not configured as a MyEclipse Web-JSF Project.
项目 'vote ' 不是作为一个MyEclipse Web-JSF项目被创建的。
Therefore the MyEclipse JSF Config Editor may not be used with faces-config-bean.xml.
因此MyEclipse JSF Config Editor 不能同 faces-config-bean.xml一起被使用
The default XML Editor has been used to open the file instead.
默认的XML Editor 用来打开文件。
------解决方案--------------------
try eclipse--help menu--software updates
------解决方案--------------------
update eclipse~
------解决方案--------------------
MyEclipse 怎么样我不知道,我没用过,不过我觉得还是Eclipse好用
------解决方案--------------------
1.直接将1.2包导入到工程中就可以啊
2.你那个问题是,不能使用可视化的界面修改jsf的配置文件。不能用可视化的界面修改faces-config-bean.xml这个文件,就直接改代码了,那个可视化的界面也没有什么用的。
------解决方案--------------------
copy MyFaces 1.2support to plus-in