Java GWT项目没有';无法编译,无法解析同一包中的类
我们正在尝试运行一个小型web应用程序,但无法摆脱以下两个错误:Java GWT项目没有';无法编译,无法解析同一包中的类,java,git,gwt,Java,Git,Gwt,我们正在尝试运行一个小型web应用程序,但无法摆脱以下两个错误: Finding entry point classes Tracing compile failure path for type 'com.test4.project.client.Test4' [ERROR] Errors in 'file:/C:/Users/arik/OneDrive/workspaceHP/Test4/src/com/test4/project/client/Test4.ja
Finding entry point classes
Tracing compile failure path for type 'com.test4.project.client.Test4'
[ERROR] Errors in 'file:/C:/Users/arik/OneDrive/workspaceHP/Test4/src/com/test4/project/client/Test4.java'
[ERROR] com.test4.project.server.ImportHandler cannot be resolved to a type
[ERROR] Errors in 'file:/C:/Users/arik/OneDrive/workspaceHP/Test4/src/com/test4/project/server/ImportHandler.java'
[ERROR] Line 44: No source code is available for type java.text.SimpleDateFormat; did you forget to inherit a required module?
[WARN] Server class 'com.google.gwt.dev.shell.jetty.JDBCUnloader' could not be found in the web app, but was found on the system classpath
[WARN] Adding classpath entry 'file:/C:/Users/arik/.p2/pool/plugins/com.google.gwt.eclipse.sdkbundle_2.7.0/gwt-2.7.0/gwt-dev.jar' to the web app classpath for this session
For additional info see: file:/C:/Users/arik/.p2/pool/plugins/com.google.gwt.eclipse.sdkbundle_2.7.0/gwt-2.7.0/doc/helpInfo/webAppClassPath.html
以下是我们的git回购的链接:
新的进口商分公司是我们正在工作的,另一家刚刚开业,所以我们有东西要展示
我使用的是JDK1.8和SDK 2.7。我真的不知道它可能是什么,我们已经尝试了所有我们能在谷歌上找到的东西
谢谢你的帮助!
ArikGWT将客户端代码编译为javascript,这意味着如果客户端没有javascript“实现”,就不能在客户端运行任何java代码 SimpleDataFormat不能在客户端代码中使用,因为它没有任何编译为Javascript的方法,可以用于客户端日期格式化