Wednesday, September 8, 2010

Re: Problems with gwt plugin and eclipse

There are four items on the Order and Export Tab and only the first
two are marked for export:
contacts/src
contacts/test
GWT SDK GWT - 2.0.4
JRE SYSTEM Library jre6

On Sep 8, 1:07 pm, Rajeev Dayal <rda...@google.com> wrote:
> Thanks for the information. Are you able to look at your build classpath?
> Can you list out all of the entries on your build classpath for the
> problematic project?
>
>
>
> On Tue, Sep 7, 2010 at 4:59 PM, TBirch <tjfbi...@bellsouth.net> wrote:
> > Hi Rajeev,
>
> > I have the same error using either eclipse or Springsource Sts with
> > Roo. I am not sure if any of what follows helps but these two sections
> > are from my error log.
> > Thanks, Terry
>
> > java.lang.ClassCastException: org.eclipse.jdt.internal.core.JavaModel
> > cannot be cast to org.eclipse.jdt.core.IJavaProject
> >         at
>
> > org.eclipse.jdt.internal.launching.RuntimeClasspathEntry.getLocation(Runtim eClasspathEntry.java:
> > 428)
> >        at
>
> > org.eclipse.jdt.launching.JavaRuntime.computeDefaultRuntimeClassPath(JavaRu ntime.java:
> > 1375)
> >        at com.google.gwt.eclipse.core.runtime.GWTRuntime
> > $ProjectBoundSdk.createClassLoader(GWTRuntime.java:88)
> >        at
> > com.google.gwt.eclipse.core.runtime.GWTRuntime.containsSCL(GWTRuntime.java:
> > 484)
> >        at
>
> > com.google.gwt.eclipse.core.validators.GWTProjectValidator.build(GWTProject Validator.java:
> > 89)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:629)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 172)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 203)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:255)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 258)
> >        at
>
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava:
> > 311)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 343)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > 144)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > 242)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> > --------------------------------------------------------------------------- ------------------
>
> > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute goal org.apache.maven.plugins:maven-resources-plugin:
> > 2.4.2:resources (default-resources) on project gwtroo: Execution
> > default-resources of goal org.apache.maven.plugins:maven-resources-
> > plugin:2.4.2:resources failed: Unable to load the mojo 'resources' in
> > the plugin 'org.apache.maven.plugins:maven-resources-plugin:2.4.2'. A
> > required class is missing: org/apache/maven/shared/filtering/
> > MavenFilteringException
> > -----------------------------------------------------
> > realm =    plugin>org.apache.maven.plugins:maven-resources-plugin:
> > 2.4.2
> > strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > urls[0] = file:/C:/Users/terry/.m2/repository/org/apache/maven/plugins/
> > maven-resources-plugin/2.4.2/maven-resources-plugin-2.4.2.jar
> > urls[1] = file:/C:/Users/terry/.m2/repository/org/codehaus/plexus/
> > plexus-utils/1.5.15/plexus-utils-1.5.15.jar
> > urls[2] = file:/C:/Users/terry/.m2/repository/junit/junit/3.8.1/
> > junit-3.8.1.jar
> > urls[3] = file:/C:/Users/terry/.m2/repository/org/apache/maven/shared/
> > maven-filtering/1.0-beta-4/maven-filtering-1.0-beta-4.jar
> > urls[4] = file:/C:/Users/terry/.m2/repository/org/codehaus/plexus/
> > plexus-interpolation/1.13/plexus-interpolation-1.13.jar
> > Number of foreign imports: 4
> > import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer
> > from realm ClassRealm[plexus.core, parent: null]]
> > import: Entry[import
> > org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm
> > ClassRealm[plexus.core, parent: null]]
> > import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser
> > from realm ClassRealm[plexus.core, parent: null]]
> > import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm
> > ClassRealm[plexus.core, parent: null]]
> > Number of parent imports: 20
> > import: Entry[import org.codehaus.plexus.personality from realm null]
> > import: Entry[import org.codehaus.plexus.logging from realm null]
> > import: Entry[import org.codehaus.plexus.lifecycle from realm null]
> > import: Entry[import org.codehaus.plexus.context from realm null]
> > import: Entry[import org.codehaus.plexus.container from realm null]
> > import: Entry[import org.codehaus.plexus.configuration from realm
> > null]
> > import: Entry[import org.codehaus.plexus.component from realm null]
> > import: Entry[import org.codehaus.plexus.classworlds from realm null]
> > import: Entry[import org.codehaus.plexus.PlexusContainerException from
> > realm null]
> > import: Entry[import org.codehaus.plexus.PlexusContainer from realm
> > null]
> > import: Entry[import org.codehaus.plexus.PlexusConstants from realm
> > null]
> > import: Entry[import org.codehaus.plexus.MutablePlexusContainer from
> > realm null]
> > import: Entry[import
> > org.codehaus.plexus.DuplicateChildContainerException from realm null]
> > import: Entry[import org.codehaus.plexus.DefaultPlexusContainer from
> > realm null]
> > import: Entry[import org.codehaus.plexus.DefaultContainerConfiguration
> > from realm null]
> > import: Entry[import org.codehaus.plexus.DefaultComponentRegistry from
> > realm null]
> > import: Entry[import org.codehaus.plexus.ContainerConfiguration from
> > realm null]
> > import: Entry[import org.codehaus.plexus.ComponentRegistry from realm
> > null]
> > import: Entry[import org.codehaus.classworlds from realm null]
> > import: Entry[import org.apache.maven from realm null]
>
> > realm =    plexus.core
> > strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > Number of foreign imports: 0
>
> > -----------------------------------------------------
>
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl eExecutor.java:
> > 593)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl eExecutor.java:
> > 324)
> >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
> >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
> >        at
> > org.maven.ide.eclipse.internal.embedder.MavenImpl.execute(MavenImpl.java:
> > 233)
> >        at
>
> > org.maven.ide.eclipse.internal.project.GenericBuildParticipant.executePostB uild(GenericBuildParticipant.java:
> > 139)
> >        at
>
> > org.maven.ide.eclipse.internal.project.GenericBuildParticipant.build(Generi cBuildParticipant.java:
> > 78)
> >        at
>
> > org.maven.ide.eclipse.internal.builder.MavenBuilder.build(MavenBuilder.java :
> > 153)
> >        at org.eclipse.core.internal.events.BuildManager
> > $2.run(BuildManager.java:629)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 172)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 203)
> >        at org.eclipse.core.internal.events.BuildManager
> > $1.run(BuildManager.java:255)
> >        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >        at
> > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
> > 258)
> >        at
>
> > org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.j ava:
> > 311)
> >        at
> > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
> > 343)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
> > 144)
> >        at
> > org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
> > 242)
> >        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution
> > default-resources of goal org.apache.maven.plugins:maven-resources-
> > plugin:2.4.2:resources failed: Unable to load the mojo 'resources' in
> > the plugin 'org.apache.maven.plugins:maven-resources-plugin:2.4.2'. A
> > required class is missing: org/apache/maven/shared/filtering/
> > MavenFilteringException
> > -----------------------------------------------------
> > realm =    plugin>org.apache.maven.plugins:maven-resources-plugin:
> > 2.4.2
> > strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > urls[0] = file:/C:/Users/terry/.m2/repository/org/apache/maven/plugins/
> > maven-resources-plugin/2.4.2/maven-resources-plugin-2.4.2.jar
> > urls[1] = file:/C:/Users/terry/.m2/repository/org/codehaus/plexus/
> > plexus-utils/1.5.15/plexus-utils-1.5.15.jar
> > urls[2] = file:/C:/Users/terry/.m2/repository/junit/junit/3.8.1/
> > junit-3.8.1.jar
> > urls[3] = file:/C:/Users/terry/.m2/repository/org/apache/maven/shared/
> > maven-filtering/1.0-beta-4/maven-filtering-1.0-beta-4.jar
> > urls[4] = file:/C:/Users/terry/.m2/repository/org/codehaus/plexus/
> > plexus-interpolation/1.13/plexus-interpolation-1.13.jar
> > Number of foreign imports: 4
> > import: Entry[import org.codehaus.plexus.util.xml.pull.XmlSerializer
> > from realm ClassRealm[plexus.core, parent: null]]
> > import: Entry[import
> > org.codehaus.plexus.util.xml.pull.XmlPullParserException from realm
> > ClassRealm[plexus.core, parent: null]]
> > import: Entry[import org.codehaus.plexus.util.xml.pull.XmlPullParser
> > from realm ClassRealm[plexus.core, parent: null]]
> > import: Entry[import org.codehaus.plexus.util.xml.Xpp3Dom from realm
> > ClassRealm[plexus.core, parent: null]]
> > Number of parent imports: 20
> > import: Entry[import org.codehaus.plexus.personality from realm null]
> > import: Entry[import org.codehaus.plexus.logging from realm null]
> > import: Entry[import org.codehaus.plexus.lifecycle from realm null]
> > import: Entry[import org.codehaus.plexus.context from realm null]
> > import: Entry[import org.codehaus.plexus.container from realm null]
> > import: Entry[import org.codehaus.plexus.configuration from realm
> > null]
> > import: Entry[import org.codehaus.plexus.component from realm null]...
>
> read more »

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment