I'm using Eclipse 3.5, Maven 2, m2eclipse and Tomcat 6. So i create Maven project for archetype webapp.
This is pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<...
I'm developing a servlet that receives a multipart request with content of multiple files, and I'm using apache commons file upload libraries.
When I call parseRequest(request); method servlet throws following exception:
GRAVE: Servlet.service() for servlet DiffOntology threw exception
java.lang.NoClassDefFoundError: javax/servlet/http...
I always thought that varibales are mapped to stack locations once your Java source is compiled; additionally, they may include the info about the variable names and their scope in classfiles, but that's optional AFAIK.
The question is - how do my Eclipse/IDEA IDEs allow me to set a watch expression containing the local variable name? T...
How do I convert a local variable in a method to a method parameter using eclipse refactor?
...
Hi,
I've created a new Google App Engine project within Eclipse. I copied several JARs that I need for my application into the WEB-INF/lib directory, and add them to the build path. I make some random calls to these JARs from within the handler, deploy, and everything works fine.
However, if I then change one of the JARs outside the pr...
When I launch our application in Eclipse on Windows I receive the following error:
Exception occured executing command line.
Cannot run program .. : CreateProcess error=87, The parameter is incorrect
I've solved this in the past by shortening the CLASSPATH.
I've now come to a point where I can no longer shorten the CLASSPAT...
I'm a C# guy trying to learn Java. I understand the syntax and the basic architecture of the Java platform, and have no problem doing smaller projects myself, but I'd really like to be able to download some open source projects to learn from the work of others. However, I'm running into a stumbling block that I can't seem to find any inf...
when i go to windows preferences, there is no Tomcat6 !!!
how can i add tomcat6 new server runtime environment in eclipse 3.5
...
How can I set the color for a button field in Blackberry using Java? Thanks.
...
hi all,
pls let me know the cade for getting the current location of images that is captured and sending to the selected persons
thank's in advance
...
Hi,
I have an ant build file that contains JUnit test suite that I would like to execute.
Currently I just right click and run the build file from Eclipse.
I want to write a java code that can execute the ant build file automatically.
So I just run the code and ant will be executed.
Second is I want to capture the test result. Current...
Hello, I am trying to connect to google code giving http://birdeye.googlecode.com/svn/trunk/ as the URL. it is not connecting and gives the following error.
"The VCC property was not found on the resource"
Any ideas or thoughts how to fix this ?
...
Hi,
I have installed eclipse with CDT. I have GNU compiler tool chain installed on my PC. But I need to replace the GNU compiler tool chain with our own Tool chain, how can I do this
...
I'm writing an RCP application plug-in. I want to make a set of objects the global selection from a IHandler but this can be triggered from other views out of my control - it is possible that these do not have an ISelectionProvider.
Is it possible to publish a selection to the eclipse selection service without going through some view si...
Configuring Eclipse to look exactly how you want is a tough job I've found, therefore I'm not going to attempt to do this myself.
I'd like to 'zoom out' of the Package Explorer side bar? You see, I like only having my code on the screen with a small section for the files in the project - however I can never see the full path of the file...
Hi,
I use Eclipse. When I have an application like this:
write 20 times 'Hello World\n' to stdout
write 'ERROR\n' to stderr
write 5 times 'Hello World\n' to stdout
The output looks many times like this:
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
...
Hello World
Hello World
Hello World
ERROR
Is there a...
Inside eclipse I'm launching an html page with a swf embedded from ANT using the following Macrodef:
<macrodef name="runhtml">
<attribute name="url" />
<attribute name="browser" default="${app.browser.firefox}" />
<sequential>
<exec
executable="open"
vmlauncher="true"
spawn="false"
fail...
I'm developing a plugin for Eclipse.
I'd like it to suggest the user to save unsaved resources before running.
This is in a similar behavior to how eclipse suggest you to save unsaved files before debugging.
In essence, I would like to open the following dialog:
Any help will be greatly appreciate.
...
I am running Eclipse Galileo on Ubuntu 10.04 LTS.
Ubuntu crashed on me today, and after rebooting, I found that Eclipse has completely lost the Java Perspective (it's like the perspective and all associated views never existed) and the .metadata dir in my workspace is empty except for version.ini.
What's up with that?
Why did it happen?...
I have an Eclipse project, that uses JMF, I found out I could skip the JMF installation process and still to use the CaptureDeviceManager of the JMF, and to receive the list of devices if I could point my project to the native lib of the JMF.
I've managed to add the native lib to the IDE run/debug, but once I export the application to a...