Questions tagged [eclipse-wtp]

Use this tag if you have a specific question about Eclipse Web Tools Platform (WTP) features and functionality. Do not use this tag on questions just because code was written or designed with Eclipse Web Tools.

The Eclipse Web Tools Platform (WTP) project extends the Eclipse platform with tools for developing Web and Java EE applications. It includes source and graphical editors for a variety of languages, wizards and built-in applications to simplify development, and tools and APIs to support deploying, running, and testing apps.

406 questions
413
votes
15 answers

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

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?
user810430
  • 11,181
  • 15
  • 38
  • 43
167
votes
3 answers

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

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…
totalEclipse
  • 1,671
  • 2
  • 11
  • 3
116
votes
11 answers

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

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…
Craig Angus
  • 22,784
  • 18
  • 55
  • 63
103
votes
2 answers

Eclipse WTP vs sydeo, " serves modules without publishing "

I have the problem to find the performances of the plugin sysdeo by using the integrated plugin WTP of eclipse. To make the migration and thus the comparison, I installed both on separate projects within eclipse. I noticed a difference of…
Vsplit
  • 1,988
  • 3
  • 15
  • 18
67
votes
1 answer

Method must have signature "String method() ...[etc]..." but has signature "void method()"

I have a datatable with a button in each row: In the backing bean there's this…
hugri
  • 1,416
  • 3
  • 18
  • 32
62
votes
8 answers

How can I disable the eclipse server startup timeout?

By default when using a webapp server in Eclipse Web Tools, the server startup will fail after a timeout of 45 seconds. I can increase this timeout in the server instance properties, but I don't see a way to disable the timeout entirely (useful…
Seth Weiner
  • 2,999
  • 5
  • 26
  • 14
59
votes
5 answers

How to format html files in Eclipse?

The XML formatting works perfect but not the html formatting. In fact if I use "cmd-shift-F" for a html file, it just left aligns almost everything. I've attached the before and after pictures. Does anyone know how to fix this? I played around…
user308808
56
votes
10 answers

Eclipse error: This project needs to migrate WTP metadata

We started a Web Project in Eclipse 3.2 a ways back and we've since upgraded to Eclipse 3.4 but now the Project has the error: "This project needs to migrate WTP metadata" We've tried right-clicking and doing the "quick-fix" which is in fact to…
larf311
  • 1,845
  • 3
  • 20
  • 24
54
votes
11 answers

Eclipse webtools project (WTP) and its performance / quality

Our company is using eclipse since several years now (we are using WTP since release 0.7) I am currently evaluating eclipse 3.6.2 with WTP 3.2.3 which should replace eclipse 3.4.2 with WTP 3.0.4 as being our main IDE. And I have to say that once…
MRalwasser
  • 15,605
  • 15
  • 101
  • 147
45
votes
4 answers

Eclipse WTP: How do I enable SSL on Tomcat?

Eclipse WTP creates its own server.xml file which it places in some folder which configures the tomcat instance you are running for your web project. If you double click on the server in the servers list you get a nice screen which makes it simple…
Peter D
  • 4,851
  • 2
  • 30
  • 30
45
votes
5 answers

Eclipse WTP plugin no Apache Tomcat adapter

I am using Galileo Eclipse, I downloaded WTP plugin, but no Apache Tomcat plugin when I try to add Tomcat server... any quick idea?
d-man
  • 57,473
  • 85
  • 212
  • 296
36
votes
14 answers

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

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…
Jonas
  • 121,568
  • 97
  • 310
  • 388
31
votes
5 answers

How to add HTML Editor to Eclipse?

I just upgraded to Eclipse Kepler, the non-J2EE version. The HTML Editor is missing. I read elsewhere that I could install the "Web Page Editor", which I did, but the system now generates all kinds of errors when building my project. Apparently it…
ccleve
  • 15,239
  • 27
  • 91
  • 157
30
votes
2 answers

Where does Eclipse deploy web applications using WTP?

I have a web application (WAR file). When I deploy it through Eclipse 3.5 using the WTP tools, I am able to start the Tomcat server from within Eclipse and view all the pages of the application. However I don't see my WAR file inside the webapps…
Thunderhashy
  • 5,291
  • 13
  • 43
  • 47
27
votes
15 answers

Unable to "Run on Server" a webapp from Eclipse

When running my WebApp project from Eclipse most of times it run correctly. But if by mistake to stop server, I kill it in "Console" view on instead of "Stop" Server from "Servers" View. While running clean project I get…
Ram
  • 2,237
  • 4
  • 23
  • 27
1
2 3
27 28