eclipse-wtp

Decreasing log level in Eclipse WTP with Tomcat 7

删除回忆录丶 提交于 2019-12-21 11:30:09
问题 I am running Tomcat 7 from within Eclipse WTP (Juno) and I cannot seem to tune down the logging level. It logs everything from debug which is too verbose to be of any use (I want it log from INFO). The logging.properties file is as follows: handlers = java.util.logging.ConsoleHandler .handlers = java.util.logging.ConsoleHandler .level=INFO ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. #########

Autocomplete von available CSS classes in HTML JavaScript jQuery in Eclipse

本秂侑毒 提交于 2019-12-21 09:33:13
问题 I am using the latest Eclipse version. Right now I am coding with Javascript, jQuery, HTML, and CSS. How do I get autocomplete (show all available classes defined in CSS) for classes, which I have defined in CSS, displayed in HTML? I have a class called "display" in my CSS file. file.css: .display { background:green; } How to get the display class suggested with autocompletion ? HTML: What kind of plug-in/addon would I need? 回答1: The default WTP plugin bundled with the Eclipse installation

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

泄露秘密 提交于 2019-12-21 04:01:34
问题 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. 回答1: Use the Kepler site. The URL you're

How to set JVM arguments in tomcat that work both in eclipse and using the startup.bat

匆匆过客 提交于 2019-12-18 14:04:29
问题 I have an installation of Tomcat 7 on windows to which I am deploying my app. I have a couple of JVM args that I need set for the applications running on the server. In searching around on the web I find two (three if you count the windows service) camps: For those using eclipse: Double click on the server > Open launch configuration > arguments tab For those using tomcat's startup script: Create a setenv.bat (or setenv.sh for Linux) and set either CATALINA_OPTS or JAVA_OPTS However, they

How to set JVM arguments in tomcat that work both in eclipse and using the startup.bat

早过忘川 提交于 2019-12-18 14:04:13
问题 I have an installation of Tomcat 7 on windows to which I am deploying my app. I have a couple of JVM args that I need set for the applications running on the server. In searching around on the web I find two (three if you count the windows service) camps: For those using eclipse: Double click on the server > Open launch configuration > arguments tab For those using tomcat's startup script: Create a setenv.bat (or setenv.sh for Linux) and set either CATALINA_OPTS or JAVA_OPTS However, they

Technical details of serve modules without publishing in Eclipse WTP and Tomcat?

早过忘川 提交于 2019-12-18 12:37:56
问题 Eclipse's Web Tools Platform (WTP) allows you to configure Tomcat to "Server modules without publishing": Web content will be served directly from the "WebContent" folder of the Dynamic Web Project. A customized context is used to make the project's dependencies available in the Web application's classloader. In a 5 step process (just joking, you pick the # of steps), what happens technically and where are the files that Eclipse generates? I did notice that Eclipse generated a org.eclipse.jst

Eclipse WTP: How do I enable SSL on Tomcat?

不打扰是莪最后的温柔 提交于 2019-12-18 10:13:39
问题 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 to configure some aspects of the server.xml file. How do I configure a new connection to allow SSL connections on port 8443. Everytime I edit the server.xml file manually, eclipse overwrites my changes with the settings it has stored in the server

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

↘锁芯ラ 提交于 2019-12-17 02:52:48
问题 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 replaced the .classpath file with one from a project that was OK and the Tomcat deploy was complete. Just out of curiosity and to know at what to look in the future if something is wrong, what is inside the .classpath and .project files. What can I

Web service code created by CXF is not legal because of XMLGregorianCalendar?

青春壹個敷衍的年華 提交于 2019-12-14 04:18:15
问题 I have a WSDL and created a web service from it using CXF in Eclipse. The execution went fine: no output in the console, I don't know if there is a log somewhere but I could not find one. But in the service interface created, everywhere an XMLGregorianCalendar is used (as either parameter or return value), I get this error from Eclipse: Abstract class javax.xml.datatype.XMLGregorianCalendar cannot be used as a runtime class because it is not extended by a non abstract class which is suitable

Is there way to make the Eclipse WTP JSP editor treat the body of a custom TagLib as JavaScript?

风流意气都作罢 提交于 2019-12-13 04:07:53
问题 I've written a simple taglib (called Script ) that takes its body's content, wraps it in an HTML <script> element and inserts it at the bottom of an outer taglib (called Body ). This is to automate the initialization of Zurb's Foundation 4. This means this JSP: <r:page> <r:head title='Test Site'/> <r:body> <div id='thing'></div> <r:script> $(function() { $('#thing').html('DOM is ready'); }); </r:script> </r:body> </r:page> Is rendered as this HTML: <!DOCTYPE html> <!--[if IE 8]><html class=