0 Replies Latest reply: Feb 8, 2011 10:28 AM by Sandy Noa RSS

Problems with Eclipse & Errai projects

Sandy Noa Newbie

On June 18, 2009, one user (svanhook) of Google Groups wrote:

I converted my eclipse GWT project to a maven built project.

Eclipse is now giving me three errors:

"TestProject does not have any App Engine SDK's on its build path"

"TestProject does not have any GWT SDK's on its build path"

"The output directory for the project should be set to /TestProject/

war/WEB-INF/classes"

How can I have maven pull in these sdk's into the .classpath file and

how can I resolve the output directory issue.

Thanks

but he doesn't received a good response, now I have a similar situation with my Eclipse (Helios 3.6.1, with Maven and GWT plugins) when I load the project generated by maven:

mvn archetype:generate -DarchetypeArtifactId=jboss-javaee6-webapp -DarchetypeGroupId=org.jboss.weld.archetypes -DarchetypeVersion=1.0.1.Beta1

But I get 2 problems , one with GWT and the other with Maven:

  • GWT Problem: The project gwt-webapp does not have any GWT SDKs on its build path.
  • Maven Problem: Could not calculate build plan: error in opening zip file.

and this is the content of my .classpath file:

<?xml version="1.0" encoding="UTF-8"?>

<classpath>

    <classpathentry including="**/*.java" kind="src" output="war/WEB-INF/classes" path="src/main/java"/>

    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>

    <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>

    <classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>

    <classpathentry kind="output" path="war/WEB-INF/classes"/>

</classpath>

Somebody know waht I'm missing ???