Skip to main content



      Home
Home » Newcomers » Newcomers » Unable to locate .metadata folder in Eclipse.(Unable to locate .metadata folder in Eclipse to install Tomcat 7 in Eclipse Indigo.)
Unable to locate .metadata folder in Eclipse. [message #848491] Wed, 18 April 2012 05:19 Go to next message
Eclipse UserFriend
Good day to fellow community members,

I have been trying out the tutorial found in Tutorial: Installing Tomcat 7 and Using it with Eclipse. I have problem in following the following step outlined in the Section : Copy the ROOT (Default) Web App into Eclipse. The step requires me to the Go to the wtpwebapps folder, R-click, and paste ROOT (say "yes" if asked if you want to merge/replace folders/files). This is need in order for me to see the Tomcat welcome page after I start it up. However when I go to the workspace of Eclipse I do not find such folders.

My eclipse is installed in
C:\Documents and Settings\TM31031\My Documents\HOME\ECLIPSE\eclipse

The version of eclipse : eclipse-jee-indigo-SR2-win32

The installation directory of Tomcat :

C:\apache-tomcat-7.0.27



The excerpt of the Tutorial.
Quote:
Copy the ROOT (Default) Web App into Eclipse.

Eclipse forgets to copy the default apps (ROOT, examples, etc.) when it creates a Tomcat folder inside the Eclipse workspace. Go to C:\apache-tomcat-7.0.8\webapps, R-click on the ROOT folder and copy it. Then go to your Eclipse workspace, go to the .metadata folder, and search for "wtpwebapps". You should find something like your-eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps (or .../tmp1/wtpwebapps if you already had another server registered in Eclipse). Go to the wtpwebapps folder, R-click, and paste ROOT (say "yes" if asked if you want to merge/replace folders/files). Then reload to see the Tomcat welcome page.



Thank you.

ROBINSON
Re: Unable to locate .metadata folder in Eclipse. [message #848664 is a reply to message #848491] Wed, 18 April 2012 09:18 Go to previous messageGo to next message
Eclipse UserFriend
As your quote mentions, it's under your workspace directory, not the Eclipse installation directory.
Re: Unable to locate .metadata folder in Eclipse. [message #848684 is a reply to message #848491] Wed, 18 April 2012 09:31 Go to previous message
Eclipse UserFriend
On 2012.04.18 3:19, ROBINSON Mising name wrote:
> Good day to fellow community members,
>
> I have been trying out the tutorial found in Tutorial: Installing Tomcat
> 7 and Using it with Eclipse. I have problem in following the following
> step outlined in the Section : Copy the ROOT (Default) Web App into
> Eclipse. The step requires me to the Go to the wtpwebapps folder,
> R-click, and paste ROOT (say "yes" if asked if you want to merge/replace
> folders/files). This is need in order for me to see the Tomcat welcome
> page after I start it up. However when I go to the workspace of Eclipse
> I do not find such folders.
>
> My eclipse is installed in
> C:\Documents and Settings\TM31031\My Documents\HOME\ECLIPSE\eclipse
>
> The version of eclipse : eclipse-jee-indigo-SR2-win32
>
> The installation directory of Tomcat :
>
> C:\apache-tomcat-7.0.27
>
>
>
> The excerpt of the Tutorial.
> Quote:
>> Copy the ROOT (Default) Web App into Eclipse.
>>
>> Eclipse forgets to copy the default apps (ROOT, examples, etc.) when
>> it creates a Tomcat folder inside the Eclipse workspace. Go to
>> C:\apache-tomcat-7.0.8\webapps, R-click on the ROOT folder and copy
>> it. Then go to your Eclipse workspace, go to the .metadata folder, and
>> search for "wtpwebapps". You should find something like
>> your-eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
>> (or .../tmp1/wtpwebapps if you already had another server registered
>> in Eclipse). Go to the wtpwebapps folder, R-click, and paste ROOT (say
>> "yes" if asked if you want to merge/replace folders/files). Then
>> reload to see the Tomcat welcome page.
>
>
>
> Thank you.
>
> ROBINSON

This question would be more appropriate in the Eclipse web tools forum.

The .metadata subdirectory is in your workspace.

You can have as many server containers including multiple Tomcats
associated with an Eclipse workspace as you wish. You don't need to
uninstall any older one or trick out its set-up. Adding a new one only
means that your path to wtpwebapps will include tmp1 or tmp2, etc.
instead of tmp0.

I've used Tomcat 7 and I didn't have to do anything different, and
certainly not all this you're mentioning. All you should have to do is
launch Eclipse on the workspace you intend to use, then add Tomcat 7:

Make sure you're running Eclipse IDE for Java EE Developers.

Window -> Preferences -> Server -> Runtime Environment -> Add...

Pick Apache -> Apache Tomcat v7.0 -> Next -> Browse

Then, navigate to the root of your downloaded Tomcat 7
(C:\apache-tomcat-7.0.8), accept it, then Finish your installation.

As late as a year ago, there was a bug in the interaction between Tomcat
7 and Eclipse. I haven't redone my installation. See the following link
(though I'm not sure it's a problem any more or even if it ever was in
Indigo):

http://www.eclipse.org/forums/index.php?t=tree&th=203188&S=2b25c60512211f17a3e1ba690d3ab14b#page_top

Best of luck.
Previous Topic:Servlet problem
Next Topic:Program terminated without execution
Goto Forum:
  


Current Time: Sat Nov 08 22:06:06 EST 2025

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

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

Back to the top