wtp

Eclipse problem: project references itself

I have small project consisting of one maven project and two maven modules. One of the modules is a webapp, and I'm using WTP to run all my web applications. Everything has been fine, until today when when the webapp started refusing to compile, citing: Project 'sdx.client' cannot reference itself If I remove the following line from t...

Eclipse/Flex WTP Project Stops Working within Eclipse

I have a Flex/WTP project within Eclipse that was running within Eclipse for a short time but then all of a sudden stopped working. Specifically, it was complaining about not being able to find a Java class on the server-side. I have not made any configuration or path changes to the project. The specific error is: [FaultEvent fault...

Different kind of Java EE projects

What is the different between different kind of Java EE projects in Eclipse WTP? There are: Application Client Project Connector Project Enterprise Application Project Utility Project ...

Eclipse WTP - "No tab group defined for launch configuration type org.eclipse.jst.server.tomcat.core.launchConfigurationType" ...?

When I double-click on my tomcat server on eclipse's "Servers" tab I get taken to the propeties page. This page has only one tab, "Overview" and has a red square as its icon. When I click on the "Open launch configuration" link on the "Overview" tab I get two popup messages: Exception occurred creating launch configuration tabs Rea...

Web service client code generation problem (with Axis 2 )

Hello I need to generate a Java Client. I tried wsdl2java from Apache CXF Project, it returns "a Null pointer exception" when I give it an http link to a wsdl file. I also tried the Axis2 Codegen plugin for eclipse. It cannot generate a client stub and prints an error that it cannot resolve a relative path to an .xsd file. The provider ...

How 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 folder of tomcat home directory (or for that matter its exploded format). I was under the imp...

Is there a way to make WTP + M2Eclipse work together with a "war:inplace like" configuration ?

I try to work with M2Eclipse, WTP and a Tomcat 5.5 server configuration. Publication of classes + web resources in wtp.deploy directory seams very time consuming if your webapp contains many files. Furthermore publishing operation can be prone to error as I have many maven modules as dependencies. I try to find a biaised-but-faster way t...

Installing eclipse Web Tools Platform (WTP) - update site does not work?

I'm trying to install the WTP (web platform tools) to my Eclipse installation so I can get the XSL transformations working. The base Eclipse they installed for me here was the plain Java IDE (the splash screen says "Ganymede" if that means anything). Looking at this site, the URL to get the download should be here: http://download.eclips...

Export the Eclipse XML Formatting Rules?

Is there a way to export the settings defined in Window > Preferences Dialog under XML > XML Files > Editor in Eclipse 3.5 Galileo (JEE Package)? And where do Eclipse stores these settings? Now i got an eclipse_xml_format.epf with the following content /instance/org.eclipse.wst.xml.core/lineWidth=120 /instance/org.eclipse.wst.xml.core/...

Any way of working with Eclipse WTP that does not mean redeploying the _WHOLE_ application when a JSP page is changed.

I have migrated a Web Application from MyEclipse to Eclipse WTP, and I am now in the middle of the first major upgrade to the code base and web pages after the migration, and it is frankly driving me mad that saving a JSP page causes a redeployment of the WHOLE application, as it takes time and that my backend connection does not survive...

Eclipse Dynamic Web Project fails to load under WTP

When trying to run an Eclipse Dynamic Web Project under a Tomcat setup using WTP, it fails with the attached stacktrace. Checklist At the project properties, under "Java EE Module Dependencies" I have checked the "Maven Dependencies" At the wtp deploy directory, under lib indeed all dependencies are present (esp. struts-taglib-1.3.10....

m2eclipse and WTP and adding local project source

Hi, I have a spring mvc project in eclipse, and its setup to use maven. I can resolve all my external dependencies, but now I want to include another local project in my workspace. Normally, I would do this through the java build path, and add a project reference. But if I do that manually, m2eclipse just removes those references from m...

Eclipse Maven web application - can not run on server anymore

I have an maven eclipse webapp project that I was able to right click and 'Run on server' and it would deploy on tomcat. I recently did a 'maven -> Update project conifgurations' and I now can NOT deploy and run the project as a webapp. Has anyone seen this before? The only output from tomcat is as follows - it doesnt even look like it...

StandardServletContainer for Runtime Target in Eclipse

For a generic project its possible to add a JRE_CONTAINER to classpath, is something like this possible for the Web Container Server Runtime? <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> ...

Maven webapp with maven-eclipse-plugin doesn't generates <dependent-module>

I use the eclipse:eclipse goal to generate an Eclipse Project environment. The deployment works fine. The goal creates the var classpath entries for all needed dependencies. With m2eclipse there was the Maven Container which defines an export folder which was WEB-INF/lib for me. But i don't want to rely on m2eclipse so i don't use it an...

Publish WTP project in Eclipse from Ant

Is there any way to have an Ant script running in Eclipse publish a WTP project? I want my ant script to perform some tasks, then kick off the publish as if I had done it from the UI, and then do some more things. ...

Maven webapp with Eclipse and WTP plugin deploy files in stranges ways in Tomcat

Hi, I use Eclipse J2EE 3.5 with Maven and tomcat. To deploy my maven webapp with WTP I added a Dynamic Web Module facet and changed the "org.eclipse.wst.common.component" file of the project because the webapp is not in a WebContent directory, here is the content of the file: <?xml version="1.0" encoding="UTF-8"?> <project-modules id="...

Building the WAR with m2eclipse in combination with WTP (handling webResources)

I have a situation where I have a web application that is built using maven (i.e., maven-war-plugin). For each code modification, we have had to manually launch maven and restart the application server. Now, to reduce build cycle overhead, I want to use WTP to publish the webapp. Now, we have resource processing with Maven, and there ar...

IvyDE + WTP: How to workaround that ivy library is ignored by WTP?

I have found IvyDE which allows me to solve an outstanding problem of having a frozen core version of a web application, which needs to be able to pull in extra code from an update library so it is on the classpath of the web application. For development speed I've found that the "Resolve in Workspace" facility allows Eclipse to put the...

Eclipse WTP does not publish project dependencies in WebContent

Hi, I am currently working on a Java EE project. I have successfully developed a web service and deployed it under the build-in Apache server of Eclipse, for test purpose. I have now split my project into 2 projects : A master one and a dependency one (let's say "Utils"). When developing, eclipse doesn't complain about compilation prob...