eclipse-wtp

How to add Web Tools Platform(WTP) in Eclipse Kepler

大憨熊 提交于 2019-12-03 12:16:42
I installed Eclipse Kepler in my system. so far I developed J2SE Applications. Now I want to develop J2EE Application.So I need to add WTP in my eclipse. I tried to add WTP in already existing eclipse.For this I open Install Dialog in the following way.and mention Name and Location values Help-->Install New Software-->Add after that, I click on Ok-->Select All-->Next-->Next--> I got error like this. Why I am getting error?How can I fix this? Thanks. Use the Kepler site. The URL you're using is not supposed to be used any more (the timestamps you see are very old). http://wiki.eclipse.org/WTP

Eclipse debug-time classpath problem: How do you include a dependent project's output into a web project's runtime classpath?

亡梦爱人 提交于 2019-12-03 11:55:44
So I started with a web services project (just a dynamic web project) that builds and debugs correctly from eclipse. We've pulled a chunk of common code out that we want to put into a shared library so now those classes are going into a separate jar project that the web project references. On the web project, I did Project->Properties->Java Build Path->Projects->Add and added the jar project. And this correctly solved all the compile-time classpath problems and everything builds fine. But at runtime, when the tomcat server fires up, spring attempts to inject some of the classes contained in

Eclipse Juno + WTP +EGit dead slow

吃可爱长大的小学妹 提交于 2019-12-03 05:59:57
I'm trying to use Eclipse Juno (Version: 4.2.0 Build id: I20120608-1400) with WTP for JavaScript/Node.js development on MacOSX Lion, on my 4GB RAM MacBook Pro. Sometimes it gets dead slow, and unusable. I've tried tweaking both through preferences (disabled all validators) and initialization variables, and also upgraded to 1.7 VM as recommended. Here's the contents of my eclipse.ini file: -startup ../../../plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar --launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.200.v20120522-1813 -showsplash org

Why does the WTP plugin deploy one Maven dependency as a folder, instead of a jar?

我只是一个虾纸丫 提交于 2019-12-03 05:59:08
I have a very strange problem with Maven and the Eclipse WTP. I have a multi-module project, let's call it project . It consists of two modules project-base and project-web . I have the workspace resolution enabled (and it works fine with several other very similar Maven projects). project-base is a dependency of project-web and it's normally deployed as a jar file. But for several days, it keeps being deployed as a class folder in my local Tomcat, as you can see here: Therefore, my Tomcat does not recognize any of my class files in there, because it expects them to be jars, not folder. The

Eclipse WTP not publishing Maven dependencies

点点圈 提交于 2019-12-03 04:19:15
问题 I'm trying to set up a basic hello world project using Eclipse Indigo and a Tomcat server. I created a dynamic project with a simple servlet. Tested the servlet and that worked fine. Then I enabled Maven support and added logback to my pom. I put a logging statement in the servlet's doGet method. When running the servlet, it complains it cannot find any bindings because the logback jars are not being copied into the Eclipse tomcat instance. I expected to find the jars published somewhere in

How to format html files in Eclipse?

和自甴很熟 提交于 2019-12-03 02:57:06
问题 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 with HTML formatting preferences but had no luck. Note that the same document, if it is saved as xml will format perfectly. I am using eclipse 3.6 with WTP plugin. 回答1: go to Window --> preferences --> Web --> HTML files --> Editor . In the Inline

Eclipse Maven web application - can not run on server anymore

拜拜、爱过 提交于 2019-12-03 02:03:35
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 its trying to deploy the application. Apr 14, 2010 3:58:54 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:

Unable to “Run on Server” a webapp from Eclipse

ε祈祈猫儿з 提交于 2019-12-03 01:43:18
问题 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 this java.lang.NullPointerException at org.eclipse.wst.common.componentcore.internal.util.VirtualReferenceUtilities.getDefaultProjectArchiveName(VirtualReferenceUtilities.java:81) at org.eclipse.jst.j2ee.componentcore.J2EEModuleVirtualComponent.getJavaClasspathReferences

Debugging a tomcat project in Eclipse 3.4.2

社会主义新天地 提交于 2019-12-03 01:38:43
I downloaded eclipse 3.4.2 and tried installing tomcat plugin (version 3.2.1)for eclipse from sysdeo ( http://www.eclipsetotale.com/tomcatPlugin.html ) I have followed installation instructions but when is start tomcat from eclipse toolbar i got the following error java.lang.NoClassDefFoundError: org/apache/tomcat/util/log/SystemLogHandler at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance

How to set a Java project facet to 12?

点点圈 提交于 2019-12-02 17:46:46
问题 I'm trying to set up a JavaEE project with Java 12 in Eclipse 2019-03 (4.11). I installed support for Java 12 and the following web tools: If I set the compiler and jdk to 12, I get an error that it does not match the facet number which is 11. I don't have a way to choose 12: I installed JBoss Tools too which support Java 12: Why can't I choose java facet 12? 回答1: Just like you had to patch JDT support for 12 onto 2019-03, a Java 12 Facet doesn't exist yet. We're looking into having one for