1

我无法再测试运行或部署我的 WaveMaker 应用程序。我尝试删除并重新导入数据模型,尝试导出到新项目,尝试手动删除可疑文件以查看它们是否重新生成。没有任何效果。这一切似乎都是在我尝试摆弄用户管理模板之后发生的,这可能是一个巨大的错误。

这是我看到的日志:

INFO: Manager: undeploy: Undeploying web application at '/RestaurantEntry'
FAIL - No context exists for path /RestaurantEntry
using / as a default project directory; please set projectRoot
checking service RestaurantData
checking service securityService
2014-03-30 11:07:06,616 ERROR [com.wavemaker.runtime.server.JSONRPCController] - <Compile failed with output:

Annotation processing got disabled, since it requires a 1.6 compliant JVM
----------
1. ERROR in /services/RestaurantData/src/com/restaurantdata/RestaurantData.java (at line 32)
return ((TypedServiceReturn) dsMgr.invoke(taskMgr.getReadTask(), rootType, o, propertyOptions, pagingOptions));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
----------
1 problem (1 error)> (session 1DD52764AA7A917240F4398AD06C06A2, thread 32) 
com.wavemaker.common.WMRuntimeException: Compile failed with output:

Annotation processing got disabled, since it requires a 1.6 compliant JVM
----------
1. ERROR in /services/RestaurantData/src/com/restaurantdata/RestaurantData.java (at line 32)
return ((TypedServiceReturn) dsMgr.invoke(taskMgr.getReadTask(), rootType, o, propertyOptions, pagingOptions));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
----------
1 problem (1 error)
at com.wavemaker.tools.compiler.ProjectCompiler.compile(ProjectCompiler.java:137)
at com.wavemaker.tools.project.StageDeploymentManager.build(StageDeploymentManager.java:216)
at com.wavemaker.tools.project.LocalDeploymentManager.testRunStart(LocalDeploymentManager.java:111)
at com.wavemaker.tools.project.LocalDeploymentManager.testRunStart(LocalDeploymentManager.java:224)
at com.wavemaker.studio.DeploymentService.testRunStart(DeploymentService.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.wavemaker.runtime.server.ServerUtils.invokeMethod(ServerUtils.java:347)
at com.wavemaker.runtime.service.reflect.ReflectServiceType.invokeMethod(ReflectServiceType.java:116)
at com.wavemaker.runtime.server.ServerUtils.invokeMethodWithEvents(ServerUtils.java:295)
at com.wavemaker.runtime.server.ControllerBase.invokeMethod(ControllerBase.java:263)
at com.wavemaker.runtime.server.JSONRPCController.executeRequest(JSONRPCController.java:109)
at com.wavemaker.runtime.server.ControllerBase.handleRequestInternal(ControllerBase.java:135)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:744)
INFO: Using default WaveMaker Home folder
4

2 回答 2

1

不,不是腐败,只是编译失败。特别是导入/生成的数据库服务 RestaurantData 无法编译。

检查用于编译的 JDK。“注释处理已被禁用,因为它需要兼容 1.6 的 JVM”消息表明您没有使用兼容 1.6 的 Java。

作为启动工作室服务器的一部分,在 wm.log 中报告了 Java 版本。

于 2014-03-30T19:14:15.827 回答
0

对于遇到此问题的任何其他人,我发现从http://uni-smr.ac.ru/archive/dev/java/SDKs/sun/j2se/6/安装相关的 jdk-6u45 包 修复了大部分奇怪的 java我一开始遇到的问题。x86 的运气比 Win 7 中的 64 位版本好。HTH。

在 IE 上使用 Wavemaker 6.60 版本(Chrome 由于某种原因无法工作)。

于 2015-03-09T23:35:57.767 回答