Results 1 to 4 of 4
  1. #1
    fenyoapa is offline Member
    Join Date
    Mar 2012
    Rep Power

    Exclamation missing builders in eclipse indigo and cant deploy to tomcat

    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.J2EEProjectValida tor
    com.genuitec.eclipse.j2eedt.core.WebClasspathBuild er
    com.genuitec.eclipse.j2eedt.core.DeploymentDescrip torValidator
    com.genuitec.eclipse.ast.deploy.core.DeploymentBui lder

    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!

  2. #2
    spduncan is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default Re: missing builders in eclipse indigo and cant deploy to tomcat


    It would appear your project was originally developed in MyEclipse - those builders in your part of MyEclipse and won't work in Eclipse, you should remove them.

    As for your problem deploying your project on Tomcat, there could be a few issues:

    1. You haven't published your applications (right-click on server in servers window, select publish. Alternatively, ctrl-alt-p)
    2. The default server location for a new Tomcat runtime in Eclipse indigo is to use workspace metadata (double click on the server in the servers view). I've had more success with the 'Use Tomcat Installation'

  3. #3
    fenyoapa is offline Member
    Join Date
    Mar 2012
    Rep Power

    Default Re: missing builders in eclipse indigo and cant deploy to tomcat

    Dear spduncan,

    thank you for your reply!

    I have disabled the MyEclipse builders as you said (yes, it was a MyEclipse project originally).

    When I doube click on the Server, I can not change any settings under 'Server Locations', all is disabled.
    Do you know why? Here is an image:
    missing builders in eclipse indigo and cant deploy to tomcat-disabledserverlocations.jpg

    In addition,

    I get this error during starting tomcat:

    java.lang.IllegalArgumentException: Document base C:\Work\eclipse-jee-indigo-SR2-win32\eclipse\workspace\.metadata\.plugins\org.ecl ipse.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

    (strange path...)

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

    I played with these settings:

    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>

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

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

    Server: Tomcat v7.0 at localhost

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

    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?


  4. #4
    spduncan is offline Member
    Join Date
    Apr 2012
    Rep Power

    Default Re: missing builders in eclipse indigo and cant deploy to tomcat


    Sorry for the long delay in replying. You've no doubt figured all of this out by now, but just in case:

    Server locations:

    You can't change any settings on your tomcat configuration whilst you have an application deployed. Right-click on the server and remove any deployed applications and you should be able to edit everything.

    Tomcat deploy/running problems:

    The out of the box config for the wtp is pretty poor. It tries to deploy all applications to wtpwebapps which just doesn't work for a vanilla Tomcat installation. You should be able to edit your project's settings so that it deploys to the <tomcat install>\webapps folder instead.

    Another weird issue I've found is that wtp likes to edit your server.xml file, adding a context entry to the Host element.

    e.g. <Context docBase="example" path="/example" reloadable="true" source="org.eclipse.jst.jee.server:example"/>

    If this entry doesn't match your web applications deployed path, Tomcat won't find your application.

    If you're still having issues, let me know and I'll try and respond in more timely fashion.


Similar Threads

  1. Maven 3.2 with eclipse indigo
    By shgvs in forum Apache Maven
    Replies: 1
    Last Post: 06-03-2013, 07:00 AM
  2. Replies: 0
    Last Post: 10-20-2011, 10:10 AM
  3. how to use databse in eclipse indigo ?
    By naved in forum Eclipse
    Replies: 1
    Last Post: 08-10-2011, 10:44 AM
  4. Replies: 0
    Last Post: 07-22-2010, 02:02 PM
  5. Tomcat In Eclipse - Sysdeo Tomcat Plug-in
    By JavaForums in forum Eclipse
    Replies: 1
    Last Post: 02-13-2008, 10:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts