我不能再测试运行或部署我的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
不,不是损坏,只是编译失败。特别是导入/生成的db服务RestaurantData无法编译。
检查正在使用的JDK。"注释处理被禁用,因为它需要1.6兼容的JVM"消息表明您没有使用1.6兼容的Java。
Java版本作为启动studio服务器的一部分在wm.log中报告。
对于其他有此问题的人,我发现从http://uni-smr.ac.ru/archive/dev/java/SDKs/sun/j2se/6/安装相关的jdk-6u45包修复了我在开始时遇到的大多数奇怪的java问题。我用x86版本比用win7的64位版本运气好。HTH .
在IE上使用Wavemaker 6.60版本(Chrome由于某些原因无法工作)