我的WaveMaker项目是否已损坏?

时间:2014-03-30 18:26:26

标签: wavemaker

我无法再测试运行或部署我的WaveMaker应用。我尝试删除并重新导入数据模型,我尝试导出到新项目,我尝试手动删除可疑文件以查看它们是否重新生成。什么都行不通。这一切似乎都发生在我试图摆弄User Management template之后,这可能是一个巨大的错误。

这是我看到的日志:

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

2 个答案:

答案 0 :(得分:1)

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

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

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

答案 1 :(得分:0)

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

在IE上使用W​​avemaker 6.60版本(由于某种原因,Chrome无法正常工作)。