首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

myeclipse 中如何打开struts-config.xml文件

2012-01-02 
myeclipse 中怎么打开struts-config.xml文件下载了一个DLOG4j的源码,想用eclipse打开,可惜myclipse不认str

myeclipse 中怎么打开struts-config.xml文件
下载了一个DLOG4j的源码,想用eclipse打开,可惜myclipse不认struts-config.xml   ,错误如下:
由于发生内部错误而无法创建此部件。产生该故障的原因是:Project   'dlog '   is   not   configured   as   a   MyEclipse   Web-Struts   Project.   Therefore   the   MyEclipse   Struts   Editor   may   not   be   used   with   struts-config.xml.     The   default   XML   Editor   has   been   used   to   open   the   file   instead.

      我想struts版本不对,把源码中的struts.jar加入,还是不行,使用右键菜单Myeclipse-> add   struts   capabilities   也会抱错  
      不知道应该怎么做呢?请大家给给办法

[解决办法]
因为你的WEB PROJECT没有配置成STRUTS,你点击项目右健选择MYECLIPSE-> ADD STRUTS
再将它导入
[解决办法]
新建工程 web项目
右击 myeclipse-> add struts...
大概就是这几个菜单,一看就知道

热点排行