eclipse-wtp

EL content assist in Eclipse Indigo 3.7?

余生颓废 提交于 2019-12-12 15:16:46
问题 I'm not able to use content assist (auto complete, etc.) for el in jsp files in eclipse indigo (wtp). I have create a new workspace and a new dynamic web project but no success. Any idea how to enable it if possible at all (without installing myeclipse or jboss Tools)? Thanks. 回答1: Make sure this isn't linked to bug 307240: Context Assistant for Expression Language does not work if no runtime is selected Steps to Reproduce: Open eclipse File > New > Dynamic Web Project Fill in everything, but

Strange behavior of Eclipse WTP deployment of dependencies in Tomcat server

我是研究僧i 提交于 2019-12-12 08:47:51
问题 I have a strange behavior in the Tomcat deployment process made by my Eclipse WTP. I am using Eclipse 3.7 (Indigo), WTP 3.3, no m2eclipse plugin, Java 1.6, Tomcat 5.5. My application is a web application that have some other projects as dependencies, as well as some third-parties dependencies. My project is managed by Maven, and everything works fine when we build the application using this tool. To work on my project using Eclipse, I run mvn eclipse:clean eclipse:eclipse and then, I import

deployment of an ejb maven project from eclipse

喜夏-厌秋 提交于 2019-12-11 19:51:43
问题 I'm facing a weird problem and was not able to find somebody out there having the same behaviour creating a maven ear-ejb project in eclipse. I have a parent pom that looks like this: <modules> <module>ear</module> <module>ejb</module> </modules> <build> <plugins> <plugin> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <wtpversion>2.0</wtpversion> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1

Integrating Tomcat7 and Eclipse Helios on Snow Leopard

你说的曾经没有我的故事 提交于 2019-12-11 14:17:03
问题 I am trying to write a "Hello World" web application using Tomcat and Eclipse, in order to familiarize myself with building Tomcat projects. So far I've gleaned from Google searches that I need to install Eclipse Web Tools Platform (WTP) to go ahead with it. But when I go to Help->Install New Software I can't find any software update site that is hosting WTP. My default "Available Software Sites" are Helios, Mylyn for Eclipse Helios, and the Eclipse Project Updates. Do I need to add a new

ClassNotFoundException when I try to deploy to Tomcat / tc Server in Eclipse / STS

可紊 提交于 2019-12-11 04:19:05
问题 I'm new to Eclipse/STS, and I am having deploying to Tomcat / tcServer. My project builds just fine and deploys to Tomcat fine both in Netbeans and directly to Tomcat, but it will not deploy to Tomcat or tc Server in Eclipse. I get a ClassNotFoundException for org.hibernate.HibernateException, which I know is on the included in the pom. Here's my log output if it helps. Also in the markers view, I see the following build path problem: Archive for required library: '~/.m2/repository/org

Stop Eclipse from closing and opening quotes on new line inside quotes

廉价感情. 提交于 2019-12-11 04:05:24
问题 I always have my multi-line variables defined like this: var query = "\ SELECT \ this AS that \ CASE something \ FROM table \ WHERE something \ " But in Eclipse , in the default JavaScript Editor in Eclipse 3.8.0 Web Tools Platform (WTP), everytime I press return, or paste a couple of lines, Eclipse will add quotes like this: var query = "\ SELECT \ this AS that \ CASE something \ FROM table \" + " JOIN pasted.line1 \" + " JOIN pasted.line2 \" + " JOIN pasted.line3 \" + " JOIN pasted.line4 \"

Can I hot-deploy to a remote install of Tomcat?

主宰稳场 提交于 2019-12-11 01:38:45
问题 Currently, the Tomcat server that I'm using to develop against is localhost - and I'm using Eclipse WTP to hotswap code onto the server. However, I'm starting to do some mobile development and I'd like to be able to work in the same model - when I change code, it appears on the device. The snag is, the tomcat instance I have access to via a mobile (i.e. external, 3G access rather than internal connectivity) does not sit on my machine, it sits on another server. Is there any way I can still do

Eclipse Kepler not generating web.xml automatically

对着背影说爱祢 提交于 2019-12-10 19:36:48
问题 I saw a tutorial according to which web.xml was being created automatically in the WEB-INF folder in a dynamic web project and it included all the servlets and all the JSP pages and HTML pages were being included automatically. However, I cannot find any such file in my project. The IDE is not showing any error in the jsp and servlets that I have created. When I added the web.xml file myself, the server stopped working. I am using Apache Tomcat 7. Am I missing something or have I not done the

Adding WTP nature to an Eclipse project

孤街浪徒 提交于 2019-12-10 17:17:01
问题 What is the best way to add a WTP nature to my existing project so that I can associate it with my server? 回答1: If I understand the question: Open the project's properties Select Project Facets Check Dynamic Web Module The Project Facets view may contain a message like this: This project is not configured to use project facets. Converting this project to faceted form will allow you to easily control the available technologies. Convert to faceted form... In this case, just click Convert to

How to fix -Djava.endorsed.dirs not supported, that emerged after installing WTP in Eclipse?

感情迁移 提交于 2019-12-10 14:48:26
问题 I used tomcat for projects before, but this problem came after installing the WTP, and occurs when I try to run the application on server. First comes a message, could not create Java Virtual Machine, then in the console occures this one: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 9.0\endorsed is not supported. Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. 回答1: To fix this bug, you need to install