GWT 2.7编译与现有项目2.6.1失败

时间:2017-08-13 07:50:00

标签: java eclipse gwt

您好我已将Eclipse Kepler更新为Oxygen,使用此link.将GWT 2.6.1更新为GWT 2.7,将Java 7更新为java 8

现在我正在编译我的项目然后我的项目得到编译失败我编译日志作为调试然后我收到消息

 Finding entry point classes
      Tracing compile failure path for type 'com.slicktechnologies.client.Slick_Erp'
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/client/Slick_Erp.java'
            [ERROR] com.slicktechnologies.client.reusabledata.ConditionDialogBox cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/client/reusabledata/ConditionDialogBox.java'
            [ERROR] com.google.gwt.user.client.ui.AbsolutePanel cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/client/services/LogoutServiceAsync.java'
            [ERROR] com.slicktechnologies.shared.common.helperlayer.User cannot be resolved to a type
         [ERROR] Errors in 'file:/usr/local/google/home/dankurka/gwt/user/src/com/google/gwt/user/client/ui/AbsolutePanel.java'
            [ERROR] com.google.gwt.user.client.ui.ComplexPanel cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/shared/common/helperlayer/User.java'
            [ERROR] com.slicktechnologies.shared.common.role.UserRole cannot be resolved to a type
         [ERROR] Errors in 'com/google/gwt/user/client/ui/ComplexPanel.java'
            [ERROR] com.google.gwt.user.client.ui.AttachDetachException.Command cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/shared/common/role/UserRole.java'
            [ERROR] com.slicktechnologies.client.utility.Screen cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/client/utility/Screen.java'
            [ERROR] com.simplesoftwares.client.library.appskeleton.AppMemory cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/simplesoftwares/client/library/appskeleton/AppMemory.java'
            [ERROR] com.simplesoftwares.client.library.appstructure.ViewContainer cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/simplesoftwares/client/library/appstructure/ViewContainer.java'
            [ERROR] com.google.gwt.user.client.ui.FlowPanel cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/simplesoftwares/client/library/appskeleton/AppSkeleton.java'
            [ERROR] com.google.gwt.user.client.ui.FlowPanel cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/simplesoftwares/client/library/appskeleton/AppContainer.java'
            [ERROR] com.google.gwt.user.client.ui.DockLayoutPanel cannot be resolved to a type
         [ERROR] Errors in 'file:/usr/local/google/home/dankurka/gwt/user/src/com/google/gwt/user/client/ui/FlowPanel.java'
            [ERROR] com.google.gwt.user.client.ui.ComplexPanel cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/simplesoftwares/client/library/libservice/LoginServiceAsync.java'
            [ERROR] com.slicktechnologies.shared.common.helperlayer.User cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/client/userprofile/changepassword/ChangePasswordPopupForm.java'
            [ERROR] com.google.gwt.user.client.ui.AbsolutePanel cannot be resolved to a type
         [ERROR] Errors in 'file:/C:/Vijay/2017/RND%2013%20aug%202017/Slick%20Erp/src/com/slicktechnologies/client/userprofile/UserLoginInfoPopupForm.java'
            [ERROR] com.google.gwt.user.client.ui.AbsolutePanel cannot be resolved to a type
         [ERROR] Errors in 'file:/usr/local/google/home/dankurka/gwt/user/src/com/google/gwt/user/client/ui/DockLayoutPanel.java'
            [ERROR] com.google.gwt.user.client.ui.ComplexPanel cannot be resolved to a type
         Checked 17 dependencies for errors.
Shutting down PersistentUnitCache thread

任何帮助

1 个答案:

答案 0 :(得分:1)

IIRC,当GWT 2.7尝试使用GWT 2.6的持久性单元缓存时,会发生这种情况。您需要从GWT 2.6清除/删除持久性单元缓存。寻找" .gwt-unitCache"你" war"旁边的文件夹(或类似的东西) DIR。