本文介绍了“模块名称无效”将现有eclipse项目导出到war文件时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将现有的Eclipse项目导出到一个war文件。但是无论在WAR导出对话框页面中输入什么,系统总是返回模块名称无效。我不知道如何解决这个问题。感谢您的帮助。

I am trying to export an existing Eclipse project to a war file. But whatever I typed in the "WAR Export" dialog page, the system always returned "Module name is invalid". I do not know how to fix this issue. Thanks for the help.

推荐答案

您必须确保您的项目是一个Web项目,如果它不是Web项目检查此链接:

you must be sure your project is a Web Project, if it's not a Web Project check this link: http://eclipse.dzone.com/tips/converting-java-project-dynami

这篇关于“模块名称无效”将现有eclipse项目导出到war文件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-25 11:17