【发布时间】:2014-11-09 05:41:59
【问题描述】:
我已按照本指南进行操作
http://www.gwtproject.org/articles/using_gwt_with_hibernate.html
但是我在Tomcat下编译时出现这个错误:
[ERROR] Errors in 'file:/C:/source/../src/ProjectName/src/main/java/../../projectname/client/TestDTO.java'
[ERROR] No source code is available for type org.hibernate.Session; did you forget to inherit a required module?
[ERROR] No source code is available for type _._.projectname.server.HibernateUtil; did you forget to inherit a required module?
[ERROR] Unable to find type '_._.projectname.client.TestService'
[ERROR] Hint: Previous compiler errors may have made this type unavailable
[ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
[ERROR] Errors in '../../projectname/client/JavaClass.java'
[ERROR] Failed to resolve '_._.projectname.client.TestService' via deferred binding
我正在使用 DTO 将 bean 从服务器端映射到客户端,JavaClass.java 是调用异步服务的类,有什么想法吗?
提前致谢。
【问题讨论】:
标签: java hibernate gwt postgresql-9.3