GWT/ Eclipse: ClassNotFoundException com/google/gwt/dev/Compiler

前端 未结 8 701
醉话见心
醉话见心 2021-01-05 14:27

i recently updated from GWT 2.0.4 to 2.1.0. Since then I cannot compile my GWT application anymore. When I click on the GWT compile button of the GWT eclipse plugin I get th

相关标签:
8条回答
  • 2021-01-05 15:07

    Go to your Project Properties / Build Path there move the "GWT library" to the top of the BuildPath.

    Now try to recompile again.

    0 讨论(0)
  • 2021-01-05 15:11

    I fix that problem doing this:

    • remove GWT lib from your project
    • update gwt plugins for eclipse
    • put the lib back in your project
    • Done
    0 讨论(0)
  • 2021-01-05 15:13

    I just, remove and include again gwt-dev.jar and start to work.

    0 讨论(0)
  • 2021-01-05 15:14

    I had the same problem not being able to create a new GWT-project in Eclipse. Removing the Classpath variable from my windows environment variables (appearently interfering with the settings in Eclipse) solved the problem for me.

    0 讨论(0)
  • 2021-01-05 15:17

    I had the same problem, some java program had been installed declaring a "ClassPath" environment variable, and invalidating the gwt plugin for ANY version of eclipse, from 3.6 (helios) to 4.2 (juno). Note that environment variables are case-insensitive in Windows OSs. Solution: eliminate the system/user variable declaration and declare the variable in a/the launch script for the concerned program.

    0 讨论(0)
  • 2021-01-05 15:24

    In my case the jar (gwt-dev-2.1.0.jar) downloaded from the google maven repo was corrupt! I replace the jar in my repo with a one containing the classes and mvn gwt:run worked!

    hope this helps.

    0 讨论(0)
提交回复
热议问题