Skip to main content



      Home
Home » Newcomers » Newcomers » Can Eclipse on Windows work with tomcat/web project installed on Linux?
Can Eclipse on Windows work with tomcat/web project installed on Linux? [message #633368] Sat, 16 October 2010 22:38 Go to next message
Eclipse UserFriend
I am going to develop web project for Linux server by Eclipse 3.6 installed on Windows XP. There is no problem for me to select workspace and install tomcat on Linux through New Project Wizard. But when I created a test servlet and tried to run it, Eclipse can't find tomcat installed on Linux by Eclipse itself.

My 1st question is: in order to develop web project, does it require Eclipse and tomcat installed on the same system? What is best solution to develop web project for Linux by Eclipse installed on Windows?

2nd question: I created a web project on Linux and deleted it. When I tried to create another project on the same folder, it prompts "A project already exists on the file system at this location: ..." Actually I already deleted it from Eclipse IDE. What's wrong?
Re: Can Eclipse on Windows work with tomcat/web project installed on Linux? [message #633371 is a reply to message #633368] Sun, 17 October 2010 00:08 Go to previous messageGo to next message
Eclipse UserFriend
On 2010.10.16 20:38, Jim wrote:
> I am going to develop web project for Linux server by Eclipse 3.6
> installed on Windows XP. There is no problem for me to select workspace
> and install tomcat on Linux through New Project Wizard. But when I
> created a test servlet and tried to run it, Eclipse can't find tomcat
> installed on Linux by Eclipse itself.
> My 1st question is: in order to develop web project, does it require
> Eclipse and tomcat installed on the same system? What is best solution
> to develop web project for Linux by Eclipse installed on Windows?
>
> 2nd question: I created a web project on Linux and deleted it. When I
> tried to create another project on the same folder, it prompts "A
> project already exists on the file system at this location: ..."
> Actually I already deleted it from Eclipse IDE. What's wrong?

1) Yes, you need to download Tomcat. Consider perusing the first few
articles under "Eclipse-oriented" at http://www.javahotchocolate.com to
learn how.

2) Yes, this is a frequent problem. There is a way to fix it, but I
suggest just using a different name.

If you deleted the project from the filesystem, it wasn't deleted from
Eclipse. If you deleted it from Eclipse, you may have failed to check
the box that deletes it from the filesystem.

You may need to bounce Eclipse, log in, log out (to make certain the
filesystem is not in use). Relaunch Eclipse with the -clean option. Etc.

I fixed this just the other day, but I didn't write down what I did so
that I could communicate it to anyone. It doesn't happen very often.
Re: Can Eclipse on Windows work with tomcat/web project installed on Linux? [message #633398 is a reply to message #633371] Sun, 17 October 2010 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Thank you, Russell. I checked your web site, which is very knowledgeable. Good job!

Now a new question comes up: if Eclipse on Windows runs tomcat installed on Linux, should this be configured by called "Remote Java Application"?

Thanks.

[Updated on: Sun, 17 October 2010 11:23] by Moderator

Re: Can Eclipse on Windows work with tomcat/web project installed on Linux? [message #633686 is a reply to message #633368] Mon, 18 October 2010 17:08 Go to previous message
Eclipse UserFriend
On 10/16/10 10:38 PM, Jim wrote:
> 2nd question: I created a web project on Linux and deleted it. When I
> tried to create another project on the same folder, it prompts "A
> project already exists on the file system at this location: ..."
> Actually I already deleted it from Eclipse IDE. What's wrong?

When you delete a project in Eclipse, it asks you if you want to also
delete the files on the filesystem. If you did not select that option,
it left those files in place. So now that you're trying to create a
project in the same place (same project name under your workspace
directory), Eclipse is telling you.
The simplest thing to do is go to your file system and delete the
project directory manually. Alternatively, if you wanted to "resurrect"
the project that you deleted from Eclipse, you could just do File >
Import > Existing project...

The lesson to take away is that we are too conditioned to ignore what
dialog boxes are telling us and just click OK.

Hope this helps,
Eric
Previous Topic:How to configure Eclipse windows tabs?
Next Topic:Eclipse do not run after JDeveloper installation.
Goto Forum:
  


Current Time: Fri Sep 26 12:57:05 EDT 2025

Powered by FUDForum. Page generated in 0.07860 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top