Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » missing builders and cant deploy to tomcat (Eclipse Indigo)(missing builders and cant deploy to tomcat (Eclipse Indigo))
icon8.gif  missing builders and cant deploy to tomcat (Eclipse Indigo) [message #825879] Wed, 21 March 2012 11:25 Go to next message
F L is currently offline F LFriend
Messages: 2
Registered: March 2012
Junior Member
Hi, I just installed Eclipse Indigo and Apache Tomcat 7.0.
If I right-click on my project -> Builders it shows missing builders:

com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder

In addition, if I right-click on Tomcat (in the Servers view) -> Add and remove... -> put my project under Configured box, and nothing happens, Eclipse does not Publish (deploy) my project to tomcat's webapps directory.

So, how can I get these missing builders, and there is any relation between missing builders and that I can deploy my project?
And if there is no relation, how can I deploy?

Thank you!
Re: missing builders and cant deploy to tomcat (Eclipse Indigo) [message #825931 is a reply to message #825879] Wed, 21 March 2012 12:36 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.03.21 5:25, F L wrote:
> Hi, I just installed Eclipse Indigo and Apache Tomcat 7.0.
> If I right-click on my project -> Builders it shows missing builders:
>
> com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
> com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
> com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
> com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder
>
> In addition, if I right-click on Tomcat (in the Servers view) -> Add and
> remove... -> put my project under Configured box, and nothing happens,
> Eclipse does not Publish (deploy) my project to tomcat's webapps directory.
>
> So, how can I get these missing builders, and there is any relation
> between missing builders and that I can deploy my project?
> And if there is no relation, how can I deploy?
>
> Thank you!

This is a question for the Eclipse web tools forum.

Eclipse doesn't deploy your application to Tomcat in the way you think.
Instead, it deploys it to a mock Tomcat filesystem in the workspace, on
the path <workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmpN
where N is a digit corresponding to respective Tomcat runtimes (minus 1)
you have associated with Eclipse (usually one, therefore tmp0).

As for the missing builders, as I say, ask in the other forum.

Best of luck.
Re: missing builders and cant deploy to tomcat (Eclipse Indigo) [message #826271 is a reply to message #825931] Wed, 21 March 2012 22:04 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 3/21/2012 8:36 AM, Russell Bateman wrote:
> On 2012.03.21 5:25, F L wrote:
>> Hi, I just installed Eclipse Indigo and Apache Tomcat 7.0.
>> If I right-click on my project -> Builders it shows missing builders:
>>
>> com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator
>> com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder
>> com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator
>> com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder
...
> This is a question for the Eclipse web tools forum.

Actually, it's for Genuitec/MyEclipse's support. It does not use our
server deployment, and the missing builders are theirs as well.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: missing builders and cant deploy to tomcat (Eclipse Indigo) [message #826522 is a reply to message #826271] Thu, 22 March 2012 07:03 Go to previous messageGo to next message
F L is currently offline F LFriend
Messages: 2
Registered: March 2012
Junior Member
Dear Russell Bateman and Nitin Dahyabhai!

Thank you for your answers good to know that.

However, this did not resolve the problem that I can not use the system.

I get this error during starting tomcat:

java.lang.IllegalArgumentException: Document base C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Work\eclipse-jee-indigo-SR2-win32\apache-tomcat-7.0.25\webapps\myproject\WEB-INF does not exist or is not a readable directory

and when I try to reach the app from a browser I get 404. (Tomcat is running)

I played with these settings:

1)
In the server.xml file:
<Host appBase="C:\Work\eclipse-jee-indigo-SR2-win32\apache-tomcat-7.0.25\webapps" autoDeploy="true" name="localhost" unpackWARs="true">
<Context docBase="C:\Work\eclipse-jee-indigo-SR2-win32\apache-tomcat-7.0.25\webapps\myproject\WEB-INF" path="/" reloadable="true" source="org.eclipse.jst.jee.server:myproject"/></Host>

2)
Resource:
Path: /myproject
Type: Project
Location: C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\myproject\webapp\myproject

3)
Java build path -> Source:
Allow output folders for source folders : checked
Default output folder : myproject/war/WEB-INF/classes

4)
Server: Tomcat v7.0 at localhost

5)
Project Facets:
Dynamic Web Module 3.0, Java, Javascript
Runtimes: Tomcat v7.0
Runtime composition: Apache Tomcat v7.0, Java Runtime Environment v1.7

6)
I see that the project is compiled to:
C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\myproject\webapp\myproject\war\WEB-INF\classes

Can you tell me what are the correct settings or what is missing?

THANK YOU!
Re: missing builders and cant deploy to tomcat (Eclipse Indigo) [message #826718 is a reply to message #826522] Thu, 22 March 2012 12:19 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2012.03.22 1:03, F L wrote:
> Dear Russell Bateman and Nitin Dahyabhai!
>
> Thank you for your answers good to know that.
>
> However, this did not resolve the problem that I can not use the system.
>
> I get this error during starting tomcat:
>
> java.lang.IllegalArgumentException: Document base
> C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Work\eclipse-jee-indigo-SR2-win32\apache-tomcat-7.0.25\webapps\myproject\WEB-INF
> does not exist or is not a readable directory
>
> and when I try to reach the app from a browser I get 404. (Tomcat is
> running)
>
> I played with these settings:
>
> 1)
> In the server.xml file:
> <Host
> appBase="C:\Work\eclipse-jee-indigo-SR2-win32\apache-tomcat-7.0.25\webapps"
> autoDeploy="true" name="localhost" unpackWARs="true">
> <Context
> docBase="C:\Work\eclipse-jee-indigo-SR2-win32\apache-tomcat-7.0.25\webapps\myproject\WEB-INF"
> path="/" reloadable="true"
> source="org.eclipse.jst.jee.server:myproject"/></Host>
>
> 2)
> Resource:
> Path: /myproject
> Type: Project
> Location:
> C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\myproject\webapp\myproject
>
>
> 3)
> Java build path -> Source:
> Allow output folders for source folders : checked
> Default output folder : myproject/war/WEB-INF/classes
>
> 4)
> Server: Tomcat v7.0 at localhost
>
> 5)
> Project Facets:
> Dynamic Web Module 3.0, Java, Javascript
> Runtimes: Tomcat v7.0
> Runtime composition: Apache Tomcat v7.0, Java Runtime Environment v1.7
>
> 6)
> I see that the project is compiled to:
> C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\myproject\webapp\myproject\war\WEB-INF\classes
>
>
> Can you tell me what are the correct settings or what is missing?
>
> THANK YOU!

Again, --what Nitin said. I had forgotten that Genuitec was MyEclipse.
You'll do much better asking questions in their forum, not here. I only
used it a long time ago for a short time, but I remember their forum as
being quite responsive and helpful.
Previous Topic:Get composite control from point (org.eclipse.swt.widgets.*)
Next Topic:Integration of Eclipse BIRT with SAP Database
Goto Forum:
  


Current Time: Wed Apr 24 16:36:20 GMT 2024

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

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

Back to the top