读书人

myeclipse 中如何打开struts-config.x

发布时间: 2012-01-02 22:40:04 作者: rapoo

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...
大概就是这几个菜单,一看就知道

读书人网 >Eclipse开发

热点推荐