Results 1 to 2 of 2
  1. #1
    newben is offline Member
    Join Date
    Jul 2012
    Posts
    2
    Rep Power
    0

    Default Debugging java file compiling (using gwt)

    Hi

    Here's the fact : I know nothing about GWT and I am totally new to Java. Following the docs, I tried to compile Java files from a web project that had been precedently developed using GWT. So, to test and understand how all this work, I took the java folder (that had been precedently compiled with an appropriate tool) into src folder of a web app project in my ide Eclipse

    When running the compiler using the command GWT Compile, I had this message error :

    Compiling module java.org.primagora Validating newly compiled units Ignored 5 units with compilation errors in first pass. Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors. Finding entry point classes [ERROR] Unable to find type 'org.client.primagoraEntryPoint' [ERROR] Hint: Check that the type name 'org.client.primagoraEntryPoint' is really what you meant [ERROR] Hint: Check that your classpath includes all required source roots

    When I look at the error on the file, for example java.org.client.primagoraEntryPoint, I find an error when it is declared "package org.client" at the very beginning of the file. There seem to be an error path. I thought the java folder I took would be correctly implemented in Eclipse.

    When I follow the error message, I change to "package org.client" to "package Java.src.java.org.client", the error seems to disappear.

    But there are still a lot of errors like : in front of "import com.google.gwt.core.client.EntryPoint;". The message error tells " The import org.client cannot be
    resolved"

    I How should I debugg it ? (I reallly know nothing about gwt, eclipse and I am totally new to JAVA)

    Best, Newben

  2. #2
    newben is offline Member
    Join Date
    Jul 2012
    Posts
    2
    Rep Power
    0

    Default Re: Debugging java file compiling (using gwt)

    Okay, I found the error : there was a problem of path that prevented the compiler from finding the EntryPoint!

    Best,
    Newben

Similar Threads

  1. Replies: 0
    Last Post: 09-09-2011, 11:04 AM
  2. Compiling Java File using JSP/HTML
    By grave in forum New To Java
    Replies: 1
    Last Post: 10-11-2010, 09:29 AM
  3. Need help debugging this file parsing program I am writing
    By The_Sponzy_Paradox in forum Advanced Java
    Replies: 14
    Last Post: 07-07-2010, 12:49 PM
  4. Poblem in Compiling a c++ file from a java program...
    By Amit Kr. Mishra in forum New To Java
    Replies: 0
    Last Post: 11-06-2007, 10:41 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
  •