看了外卖视频,部署微信公众号,编译baas,将WeX5_V3.7\runtime\BaasServer目录拷贝到 tomcat的apache-tomcat-7.0.55\webapps\目录下 并更名baas
tomcat映射外网 开的端口都是80
在微信公众号接口配置信息中的url:http://我的域名/baas/weixin/weixin/service不成功
在浏览器直接输入:http://我的域名/baas/weixin/weixin/service
有如下提示:
HTTP Status 500 - Servlet execution threw an exception
type Exception report
message Servlet execution threw an exception
description The server encountered an internal error that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
root cause
java.lang.UnsupportedClassVersionError: weixin/Weixin__do : Unsupported major.minor version 52.0 (unable to load class weixin.Weixin__do)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2961)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:190)
com.justep.baas.action.Engine.execAction(Unknown Source)
com.justep.baas.action.Engine.execAction(Unknown Source)
com.justep.baas.servlet.BaasServlet.execService(Unknown Source)
com.justep.baas.servlet.BaasServlet.service(Unknown Source)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.55 logs.