|
版本: |
|
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
在平台的baas/justep/X5Action.java 中有如下代码:
String businessServer = "http://127.0.0.1:8080/BusinessServer";
String loginName = "system";
String password = "123456";
// 获得本地IP地址
String localIP = java.net.InetAddress.getLocalHost().getHostAddress();
// 初始化动作引擎
ActionEngine.init(businessServer);
// 登录
String bSessionID = ActionEngine.login(loginName, ActionUtils.md5(password), localIP, null);
// 返回bSessionID
return bSessionID;
第一,调用后台报错,错误信息如下:
com.justep.baas.action.ActionException: Action[justep/x5Action/toLogin]执行失败,com/justep/system/transform/TransformConstants
at com.justep.baas.action.Engine.execAction(Unknown Source)
at com.justep.baas.action.Engine.execAction(Unknown Source)
at com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
at com.justep.baas.servlet.BaasServlet.service(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
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:745)
Caused by: java.lang.reflect.InvocationTargetException
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:497)
... 16 more
Caused by: java.lang.NoClassDefFoundError: com/justep/system/transform/TransformConstants
at com.justep.biz.client.ActionUtils.transformSimple(Unknown Source)
at com.justep.biz.client.ActionUtils.objectToXML(Unknown Source)
at com.justep.biz.client.Action.asXML(Unknown Source)
at com.justep.biz.client.ActionEngine.login(Unknown Source)
at com.justep.biz.client.ActionEngine.login(Unknown Source)
at com.justep.biz.client.ActionEngine.login(Unknown Source)
at justep.X5Action.login(X5Action.java:27)
at justep.X5Action.startBorrowBook(X5Action.java:34)
at justep.X5Action.startLogin(X5Action.java:65)
at justep.X5Action__do.toLogin(X5Action__do.java:43)
... 20 more
|
|