Debugging java file compiling (using gwt)
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
I How should I debugg it ? (I reallly know nothing about gwt, eclipse and I am totally new to JAVA)
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!