在工程目录下的.settings文件夹里,有个名为org.eclipse.wst.common.component的文件。这个文件里的deploy-name,一定要跟工程名一样,否则就会报错。
--------------------------------------------------------------------------------
This may be related to:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=154833
See Comment #3. Still on my to-do list is to file the enhancement request. Doing something about this will have to occur post WTP 2.0 due to the scope of the changes that will likely be required.
The current handling of project modules is such that the project name must match the deploy-name in the .settings/org.eclipse.wst.common.component for "everything" to work correctly. If they don't match, I believe the symptom you are experiencing is one of the "things" that goes wrong.
Cheers,
Larry
Ken Murphy wrote:
Hi,
I've configured a dynamic web project and checked it into CVS. when selecting "run as > run on server" from either the JSP editor, or from the package explorer, it successfully executes the selected JSP file on the local tomcat server. however when others check out the shared project (or i check it out as a seperate project), any attempt to "run on server" for the same JSP results in the error:
"The selection is not within a valid module"
It would appear that some crucial piece of project configuration information is not being shared via CVS.
I'm using:
Eclipse: 3.3.RC2
WTP-5-2.0RC2
Tomcat 6.0.13
JDK 1.5.12
please advise... thanks!
Ken
分享到:
相关推荐
在发布项目时,可能会出现“Project facet Dynamic Web Module version3.0 is not supported”的错误信息。这是因为 Eclipse 工作目录下的项目文件中,org.eclipse.wst.common.project.facet.core.xml 文件中的 jst....
标题 "Drools报错: The Eclipse JDT Core jar is not in the classpath" 提示了一个常见的编程问题,即在使用Drools规则引擎时,由于缺少Eclipse JDT(Java Development Tools)核心库,导致运行错误。这个问题涉及...
解决SVN上传提示Empty directoriesis not supported 解决SVN上传提示Empty directoriesis not supported
此资源分为16个部分,全部下载完放一起解压后,是一个完整的eclipse!
标题中的问题“Target runtime Apache Tomcat 6.0 is not defined”是Eclipse IDE中一个常见的错误提示,意味着用户在尝试运行或部署基于Apache Tomcat 6.0的应用时,Eclipse无法找到对应的运行时环境。这个错误通常...
**Eclipse插件JSEclipse详解** Eclipse是一款广受欢迎的开源集成开发环境(IDE),尤其在Java开发者中享有盛誉。然而,Eclipse并不仅仅局限于Java开发,它支持多种语言,包括JavaScript。JSEclipse是一款专为...
The workspaceState.ser file is located within the workspace directory in $workspacedir/.metadata/.plugins/org.maven.ide.eclipse/workspaceState.ser. If you remove this file, m2eclipse 0.10.0 will ...
JD-Eclipse is a plug-in for the Eclipse platform. It allows you to display all the Java sources during your debugging process, even if you do not have them all. Installation Download JD-Eclipse ZIP ...
在JBOSS EAP 6.2中集成EclipseLink的module,首先需要确保EclipseLink库被添加到应用服务器的类路径中。这通常通过将EclipseLink的JAR文件放入JBOSS EAP的`modules`目录下的相应模块路径来完成。例如,创建一个新的...
ADM12008C The product "DB2 Enterprise Server Edition" does not have a valid license key installed and the evaluation period has expired. Functions specific to this product are not enabled. If you ...
eclipse 65535 方法数超限问题解决方法数超限问题解决
在使用Eclipse或Spring Tool Suite (STS)进行Java开发时,可能会遇到一个常见的问题:“The Maven Integration requires that Eclipse be running in a JDK”。这通常发生在Eclipse没有正确识别到系统中的Java ...
Eclipse Rich Ajax Platform is the first book on the new Eclipse RAP, and it introduces the required RCP and OSG/i concepts used by Eclipse RAP. This firstPress title demonstrates the functionality ...
Is this supposed to be a file within the project? It is also not clear when changing this option should take effect - instantly or on restart? In the end I injected in an up-to-date version of the ...
IBM Redbooks - Eclipse Development using the Graphical Editing Framework and the Eclipse Modeling Framework .chm
标题 "Eclipse is running in a JRE, but a JDK is required" 提到的问题是许多Java开发者在使用Eclipse集成开发环境时可能遇到的一个常见错误。这个错误表明Eclipse正在使用Java运行时环境(JRE)运行,而实际上它...
具体报错如下: Cannot complete the install because one or more required items could not be found. Software being installed: Activiti Eclipse BPMN 2.0 Designer 5.18.0.201508100929 (org.activiti....
A Java 7 JRE/JDK is required for most of the Luna package downloads based on Eclipse 4.4. Eclipse 4.3 (Kepler) Eclipse 4.3 (Kepler) was released in June 2013. A Java 6 JRE/JDK is recommended for ...
A plugin for the Eclipse IDE to add content assist features for the Thymeleaf standard dialect processors and expression utility objects, using the Eclipse Web Tools Platform HTML source editor. ...
标题 "Eclipse is running in a JRE, but a JDK is required" 提示的是一个常见的Eclipse启动问题,意味着你的Eclipse集成开发环境正在使用Java运行时环境(JRE)而不是Java开发工具包(JDK)。这通常是由于配置不...