eclipse-wtp

Eclipse “Server Locations” section disabled and need to change to use Tomcat installation

牧云@^-^@ 提交于 2019-11-26 18:15:36
I have set up a dynamic web project in Eclipse with a Tomcat 5.5 installation. I want to be to set the server to us the Tomcat installation instead of the workspace metadata location, but when Eclipse displays the "Overview" screen for the server the "Server Locations" section is disabled and therefore I am unable to change it. The overview screen is displayed when you have the servers view open and you then double click on the server. Is it possible to enable this part of the "Overview" screen or hack a config file to point at the Tomcat installation? Ok, sorry for my previous answer, I had

How to fix error “Updating Maven Project”. Unsupported IClasspathEntry kind=4?

假如想象 提交于 2019-11-26 17:54:01
问题 I have imported maven project in STS, when I run update update project I receive: "Updating Maven Project". Unsupported IClasspathEntry kind=4 Is there a workaround for this? 回答1: This issue has been fixed in m2e 1.5.0 which is available for Eclipse Kepler (4.3) and Luna (4.4) Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=374332#c14 The problem is caused by the fact that STS (the Spring IDE/Eclipse), as well Eclipse and other Eclipse based IDE's, use the m2e(clipse) plugin but that

Maven/Tomcat Projects In Eclipse Indigo/3.7

孤街醉人 提交于 2019-11-26 17:31:04
问题 I'm trying out the next version of Eclipse using the latest milestone build and I'm having an issue getting my Maven project deployed to Tomcat. Previously in Eclipse 3.6, my project was automatically enabled as a web project when checked out from SVN. I've checked out my project in 3.7 but get nothing indicating it's runnable as a web project (e.g. trying to run the project doesn't give me the usual "Run on Server" option). What I've installed is Indigo RC4 "Eclipse IDE for Java EE

What's in an Eclipse .classpath/.project file?

社会主义新天地 提交于 2019-11-26 14:53:58
We recently had an issue with an Eclipse project for one of our team members. Tomcat was not deploying JARs of the application. We eventually noticed the .classpath Eclipse file was not the same as for the team members where the project was OK. We replaced the .classpath file with one from a project that was OK and the Tomcat deploy was complete. Just out of curiosity and to know at what to look in the future if something is wrong, what is inside the .classpath and .project files. What can I add in there, what does it all mean? Eclipse is a runtime environment for plugins. Virtually everything

“PWC6345: There is an error in invoking javac.” error when using Jetty WTP plugin to deploy a JSP page on Jetty

泪湿孤枕 提交于 2019-11-26 10:29:06
问题 I\'m trying to deploy a JSP-page on Jetty, using the Jetty WTP plugin for Eclipse. But I get the error below. It looks like Jetty can\'t find javac . Is there any settings I have to do for the Jetty WTP plugin in Eclipse or how do I fix this? The JSP page works fine if I export my project as a .war -file to jetty\\webapps and then start Jetty manually using java -jar start.jar . But it doesn\'t work if I deploy using the Jetty WTP plugin for Eclipse as described. I have my JAVA_HOME set to C:

Method must have signature “String method() …[etc]…” but has signature “void method()”

霸气de小男生 提交于 2019-11-26 06:29:03
问题 I have a datatable with a button in each row: <ice:dataTable ... var=\"item\"> <ice:column> <h:commandButton value=\"Download\" action=\"#{mybean.downloadItem(item)}\" /> </ice:column> </ice:dataTable> In the backing bean there\'s this method: public void downloadItem(Item item) { // ... } Everything works fine (when clicked the method is executed), but Eclipse validation fails with this strange message: Method must have signature \"String method(), String method(), String method(String),

Eclipse “Server Locations” section disabled and need to change to use Tomcat installation

送分小仙女□ 提交于 2019-11-26 06:16:07
问题 I have set up a dynamic web project in Eclipse with a Tomcat 5.5 installation. I want to be to set the server to us the Tomcat installation instead of the workspace metadata location, but when Eclipse displays the \"Overview\" screen for the server the \"Server Locations\" section is disabled and therefore I am unable to change it. The overview screen is displayed when you have the servers view open and you then double click on the server. Is it possible to enable this part of the \"Overview\