|
楼主 |
发表于 2016-12-27 18:29:24
|
显示全部楼层
本帖最后由 tlkj 于 2016-12-27 18:49 编辑
您最好是帮忙给远程看下,绕来绕去咱们一天就这么过来了。有些地方也可能是不太好描述
按照你说的把/UI2/system/service/common/src/com/justep/cache/SystemCache.java设置为源码路径还是报如下的错误。 |
另附一张页面弹窗错误
十二月 27, 2016 6:25:41 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet main-servlet threw exception
com.justep.classloader.ClassLoaderException: 编码: JUSTEP060010; 提示: 编译模块"/UI2/portal/pc"中的类"PortalLogin"出错
警告: [options] 未与 -source 1.5 一起设置引导类路径
D:\_wyst\model\UI2\portal\pc\dsrc\PortalLogin.java:98: 错误: 对于put(String,JSONObject), 找不到合适的方法
SystemCache.cache.put(useName, context);
^
方法 ConcurrentHashMap.put(String,String)不适用
(无法通过方法调用转换将实际参数JSONObject转换为String)
方法 AbstractMap.put(String,String)不适用
(无法通过方法调用转换将实际参数JSONObject转换为String)
D:\_wyst\model\UI2\portal\pc\dsrc\PortalLogin.java:100: 错误: 不兼容的类型
context = SystemCache.cache.get(useName);
^
需要: JSONObject
找到: String
2 个错误
1 个警告
at com.justep.classloader.ClassLoaderException.create(Unknown Source)
at com.justep.classloader.Model$a.a(Unknown Source)
at com.justep.classloader.Model$a.a(Unknown Source)
at com.justep.classloader.Model.getModelClass(Unknown Source)
at com.justep.ui.JavaServer.runJava(Unknown Source)
at com.justep.ui.JavaServer.doJ(Unknown Source)
at com.justep.ui.JavaServer.service(Native Method)
at com.justep.ui.servlet.MainServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
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:745)
|
-
|