eclipse-wtp

Where does Eclipse deploy web applications using WTP?

巧了我就是萌 提交于 2019-11-27 17:43:25
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 folder of Tomcat home directory (or for that matter its exploded format). I was under the impression that Tomcat reads all web applications under its webapps folder. How does Tomcat read my application in this case? I am using Tomcat 5.5.17 as my application server. It's just all definied in the context.xml which Eclipse has given to Tomcat. If you

Tomcat and Eclipse Zero Turnaround Deployment

懵懂的女人 提交于 2019-11-27 12:36:07
问题 I want to be able to deploy code changes to Tomcat (near instantly), while I'm developing in Eclipse. So far, I have my output from Eclipse placing the built classes in the WEB-INF/classes folder of my web application. I also have a reloadable context, with the web.xml as a watched resource. Any edit / save to this file does reload my web app, taking just over one second - much quicker than building a new war file and deploying it in full. However, what I'd like to do is trigger the redeploy

Why is Eclipse not attaching 3rd party libs source files to a WTP-faceted Gradle project?

喜夏-厌秋 提交于 2019-11-27 11:15:18
问题 The sources are downloaded in the Gradle cache and the classpath-entries for the source files looks ok, but Eclipse does not show the source files for 3rd party libs. <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="output" path="bin/main"/> <classpathentry kind="src" path="src/main/java"/> <classpathentry kind="src" path="src/main/resources"/> <classpathentry output="bin/test" kind="src" path="src/test/java"/> <classpathentry output="bin/test" kind="src" path="src

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

馋奶兔 提交于 2019-11-27 09:56: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? Marco 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 eclipse:eclipse has been probably been run on the project. When m2e encounters a "var" .classpath

Maven/Tomcat Projects In Eclipse Indigo/3.7

巧了我就是萌 提交于 2019-11-27 03:28:05
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 Developers" version. I then added the latest M2E milestone from here . This enabled me to get up and running,

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

送分小仙女□ 提交于 2019-11-27 03:20:44
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:\Program Files (x86)\Java\jdk1.7.0_01 and I use Jetty 8.0.4 on Windows 7. Servlets is working fine with the

m2eclipse and Eclipse WTP

北战南征 提交于 2019-11-27 02:54:25
问题 I have a very large workspace with about 30 projects all together. I am using Eclipse 3.5 with m2eclipse. I check out of my subversion repository using the defaults in order to import the projects into my workspace. I create a Tomcat server instance, and publish my web project to the tomcat server. Sounds easy enough. The problem is that it does not appear as though the transitive dependencies for my other projects are being automatically added to the container, so when the container starts

Error opening zip file or JAR manifest missing : C:\Program

可紊 提交于 2019-11-27 01:08:48
问题 I'm on step "Running project on the Server" from https://developers.google.com/appengine/docs/java/webtoolsplatform#dynamic_web_project and I ran into a problem: Error occurred during initialization of VM agent library failed to init: instrument Error opening zip file or JAR manifest missing : C:\Program Another person reported a similar problem here: Error opening zip file or JAR manifest missing : C:/Program. But the solution was for a different set of technologies. I'm using Eclipse, Web

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

…衆ロ難τιáo~ 提交于 2019-11-26 19:42:59
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), String method(String, String), String method(String, String, String), String method(String, String, String, String

Where does Eclipse deploy web applications using WTP?

白昼怎懂夜的黑 提交于 2019-11-26 19:09:36
问题 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 folder of Tomcat home directory (or for that matter its exploded format). I was under the impression that Tomcat reads all web applications under its webapps folder. How does Tomcat read my application in this case? I am using Tomcat 5.5.17 as my