• 关于 handle 的搜索结果

问题

用PHP访问云oss图片服务器时,提示找不到这个常量。常量要定义成什么?

wy_szrjk 2019-12-01 21:03:49 5019 浏览量 回答数 2

回答

我也遇到跟你一样的问题,订阅主题,但是我检查N遍这个topic都是正确的,但就是订阅的时候错误,错误码跟你一样[dbg] iotx_mc_cycle(1876): SUBACK[dbg] iotx_mc_handle_recv_SUBACK(1488): Return Value : 1[dbg] iotx_mc_handle_recv_SUBACK(1489): Packet ID : 8[dbg] iotx_mc_handle_recv_SUBACK(1490): Count : 1[dbg] iotx_mc_handle_recv_SUBACK(1492): Granted QoS[00] : -128[err] iotx_mc_handle_recv_SUBACK(1530): MQTT SUBSCRIBE failed, ack code is 0x80[dbg] _iotx_mqtt_event_handle_sub(3019): packet_id = 8, event_type=5event_handle|077 :: subscribe nack, packet-id=8

ieasysmart 2019-12-02 01:53:39 0 浏览量 回答数 0

问题

继承自python的'File'类并定义自定义行为 - python2和3

一码平川MACHEL 2019-12-01 19:32:05 419 浏览量 回答数 1

新手开公司,教你化繁为简

开公司到底有没有那么难,传统的手续繁琐,线下跑断腿,场地搞不定等问题,通过阿里云”云上公司注册“解决你的烦恼。

问题

php语言:文件存在且可写,但为什么fopen无法打开文件?

落地花开啦 2019-12-01 20:03:21 913 浏览量 回答数 1

问题

使用libcurl为什么无法获取到数据?

a123456678 2019-12-01 19:46:08 960 浏览量 回答数 1

回答

$handle=fopen($filename,”w”); $handle=fopen($filename,”a”); 错误使用了中文的引号,我测了下,改为英文就好了。 $handle=fopen($filename,"w"); $handle=fopen($filename,"a");

落地花开啦 2019-12-02 02:51:40 0 浏览量 回答数 0

回答

是指针的问题, 如果你想在函数中改变指针的值需要在传入指向指针的指针. 帮你改了下. 有点强迫症, 顺便改了改了你的code style. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <curl/curl.h> size_t memory_callback(void *data, size_t size, size_t nmemb, void *content) { size_t realsize = size * nmemb; char *p = *(char **)content; size_t len = p ? strlen(p) : 0; *(char **)content = realloc(p, len + realsize + 1); p = *(char **)content; if (NULL == p) { fprintf(stderr,"not enouth memory"); return -1; } memcpy(p + len, data, realsize); p[len + realsize] = '\0'; return realsize; } size_t get_content(char *url, char **content) { CURL *curl_handle; CURLcode res; curl_global_init(CURL_GLOBAL_ALL); curl_handle = curl_easy_init(); curl_easy_setopt(curl_handle, CURLOPT_URL, url); curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2)"); curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 0L); curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, memory_callback); curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)content); res = curl_easy_perform(curl_handle); curl_easy_cleanup(curl_handle); curl_global_cleanup(); return res; } int main(int argc, char *argv[]) { char *content = NULL; get_content("http://www.baidu.com", &content); printf("%s\n", content); if (content) free(content); return 0; }

a123456678 2019-12-02 02:37:15 0 浏览量 回答数 0

回答

<item name="textSelectHandleLeft">@drawable/text_select_handle_left</item> <item name="textSelectHandleRight">@drawable/text_select_handle_right</item> 在 TextView源码中 有一个 mTextSelectHandleLeftRes,通过这个 可以找到 在themes.xml 中 有 @drawable/text_select_handle_left@drawable/text_select_handle_right 这个是直接修改样式的

爵霸 2019-12-02 01:56:33 0 浏览量 回答数 0

问题

SSH PrintWriter out = response.getWrite?报错

爱吃鱼的程序员 2020-06-22 13:54:14 0 浏览量 回答数 1

回答

#include <TlHelp32.h> #include <pdh.h> #pragma comment(lib,"pdh.lib") #include <PSAPI.H> #pragma comment(lib,"psapi.lib") // 返回指定进程的句柄数 BOOL EnableDebugPrivilege(BOOL fEnable) { BOOL fOK = FALSE; HANDLE hToken = NULL; if(OpenProcessToken(GetCurrentProcess(),TOKEN_ADJUST_PRIVILEGES,&hToken)){ TOKEN_PRIVILEGES tp; tp.PrivilegeCount =1; LookupPrivilegeValue(NULL,SE_DEBUG_NAME,&tp.Privileges[0].Luid); tp.Privileges[0].Attributes = fEnable ? SE_PRIVILEGE_ENABLED : 0; AdjustTokenPrivileges(hToken,FALSE,&tp,sizeof(tp),NULL,NULL); fOK = (GetLastError()==ERROR_SUCCESS); CloseHandle(hToken); } return fOK; } DWORD GetProcHandleCount(HANDLE hProcess) { if(!EnableDebugPrivilege(TRUE)) { return 0; } HANDLE hQuery=NULL; PdhOpenQuery(NULL,0,&hQuery); if(NULL==hQuery) { return 0; } HANDLE hCounter=NULL; char szProcessName[MAX_PATH] = "unknown"; HMODULE hMod=NULL; GetModuleBaseName( hProcess, hMod, szProcessName, sizeof(szProcessName) ); char szName[MAX_PATH]=""; _tsplitpath(szProcessName,NULL,NULL,szName,NULL); char szCounterPath[MAX_PATH]=""; sprintf(szCounterPath,"\\Process(%s)\\Handle Count",szName); PdhAddCounter(hQuery,szCounterPath,0,&hCounter); if(NULL==hCounter || INVALID_HANDLE_VALUE==hCounter) { PdhCloseQuery(hQuery); return 0; } DWORD nHandles=0; if(ERROR_SUCCESS==PdhCollectQueryData(hQuery)) { PDH_FMT_COUNTERVALUE pdhfmtHandles; if(ERROR_SUCCESS==PdhGetFormattedCounterValue(hCounter, PDH_FMT_LONG, NULL, &pdhfmtHandles)) nHandles = DWORD(pdhfmtHandles.longValue); } if(NULL!=hCounter && INVALID_HANDLE_VALUE!=hCounter) PdhRemoveCounter(hCounter); if(NULL!=hQuery && INVALID_HANDLE_VALUE!=hQuery) PdhCloseQuery(hQuery); EnableDebugPrivilege(FALSE); return nHandles; }

a123456678 2019-12-02 02:17:34 0 浏览量 回答数 0

问题

JFinal中使用druid监控的问题? 400 报错

爱吃鱼的程序员 2020-06-03 14:38:57 2 浏览量 回答数 1

问题

如何修改散点图图例以显示相同类型手柄的不同格式?

is大龙 2020-03-24 22:24:09 0 浏览量 回答数 1

回答

objectiveC头文件中这个属性不是修饰 UI_APPEARANCE_SELECTOR的。最初的MonoTouch `Appearance`具体用法根据文档说明来用,不过逐渐增加了更多的例子。但是apple应用支持许多官方说明没提到的用法,如果苹果修改后希望还能继续支持。因此你可以试试像这样的用法:IntPtr handle = UINavigationBar.Appearance.Handle; var appearance = new UINavigationBar (handle); appearance.BarStyle = UIBarStyle.BlackOpaque;

爵霸 2019-12-02 02:22:06 0 浏览量 回答数 0

问题

Jetty8 开启SSL 刷新报错?报错

爱吃鱼的程序员 2020-06-14 18:27:31 0 浏览量 回答数 1

回答

添加一个计数,ajax请求完成后计数+1,并在每次请求完成后都判断计数是否为所有ajax的数量,满足就清除loading(function () { var count = 0; var result = {}; $.get('http://data1_source', function (data) { result.data1 = data; count++; handle(); }); $.get('http://data2_source', function (data) { result.data2 = data; count++; handle(); }); $.get('http://data3_source', function (data) { result.data3 = data; count++; handle(); }); function handle() { if (count === 3) { var html = fuck(result.data1, result.data2, result.data3); render(html); } }

小旋风柴进 2019-12-02 02:28:29 0 浏览量 回答数 0

回答

添加一个计数,ajax请求完成后计数+1,并在每次请求完成后都判断计数是否为所有ajax的数量,满足就清除loading(function () { var count = 0; var result = {}; $.get('http://data1_source', function (data) { result.data1 = data; count++; handle(); }); $.get('http://data2_source', function (data) { result.data2 = data; count++; handle(); }); $.get('http://data3_source', function (data) { result.data3 = data; count++; handle(); }); function handle() { if (count === 3) { var html = fuck(result.data1, result.data2, result.data3); render(html); } } })();

a123456678 2019-12-02 02:05:16 0 浏览量 回答数 0

问题

otl连接数据库时,取number类型数据时,需要to_char,为何??报错

爱吃鱼的程序员 2020-06-22 15:06:06 0 浏览量 回答数 1

问题

FEDORA18内核升级后HOSTAPD报错无法启动了?报错

爱吃鱼的程序员 2020-06-22 17:14:45 0 浏览量 回答数 1

问题

python 打印序列时出错? 400 报错

爱吃鱼的程序员 2020-05-29 20:07:32 0 浏览量 回答数 1

问题

关于NullPointerException的问题?报错

爱吃鱼的程序员 2020-06-22 19:16:50 0 浏览量 回答数 1

问题

执行addELResolver报错问题?报错

爱吃鱼的程序员 2020-06-14 19:02:31 0 浏览量 回答数 1

问题

在jfinal之前放置servlet会报java.lang.IllegalSta?报错

爱吃鱼的程序员 2020-06-22 15:43:10 0 浏览量 回答数 1

回答

这个是VS下的,感觉只能查找出来以后比较文件名字然后排除掉abc.txt在linux操作系统下,编译器用findfirst(),而不是_findfirst().linux操作系统下的查找文件的操作,需要包含dirent.h头文件 #include <stdio.h> #include<iostream> #include<io.h> using namespace std; int main() { long Handle; struct _finddata_t FileInfo; if((Handle=_findfirst("F:\\*.txt",&FileInfo))==-1L) printf("没有找到匹配的项目\n"); else { if(strcmp(FileInfo.name, "ab.txt") == 0) { printf("%s\n", FileInfo.name); } while(_findnext(Handle,&FileInfo)==0)//成功返回0,失败返回-1 { if(strcmp(FileInfo.name, "ab.txt") == 0) { printf("%s\n", FileInfo.name); } } _findclose(Handle); } system("pause"); return 0; }

a123456678 2019-12-02 02:01:39 0 浏览量 回答数 0

回答

Reossphp上传2m以上的文件都报错了求解 我用的是官网最新的,然后我去用老一点版本的就没有出现这个问题,例如这个:bbs.aliyun.com/read/227466.html?spm=5176.7189909.0.0.oxmzHP ------------------------- 回2楼西秦的帖子 你好,我修改文件:requestcore.class.php  第614和615行 原来是 curl_setopt($curl_handle, CURLOPT_TIMEOUT, 50); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 50); 修改成: curl_setopt($curl_handle, CURLOPT_TIMEOUT, 5184000); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 120); 就可以了,不过我想使用分块,不知道你有那个文章能推介一下吗?谢谢 ------------------------- 回4楼西秦的帖子 谢谢了啊 ------------------------- 回4楼西秦的帖子 没找到啊

问@问 2019-12-02 03:12:40 0 浏览量 回答数 0

回答

示例代码:/* @purpose: 使用curl并行处理url @return: array 每个url获取的数据 @param: $urls array url列表 @param: $callback string 需要进行内容处理的回调函数。示例:func(array)*/ function curl($urls = array(), $callback = ''){ $response = array(); if (empty($urls)) { return $response; } $chs = curl_multi_init(); $map = array(); foreach($urls as $url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_TIMEOUT, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_NOSIGNAL, true); curl_multi_add_handle($chs, $ch); $map[strval($ch)] = $url; } do{ if (($status = curl_multi_exec($chs, $active)) != CURLM_CALL_MULTI_PERFORM) { if ($status != CURLM_OK) { break; } //如果没有准备就绪,就再次调用curl_multi_exec while ($done = curl_multi_info_read($chs)) { $info = curl_getinfo($done["handle"]); $error = curl_error($done["handle"]); $result = curl_multi_getcontent($done["handle"]); $url = $map[strval($done["handle"])]; $rtn = compact('info', 'error', 'result', 'url'); if (trim($callback)) { $callback($rtn); } $response[$url] = $rtn; curl_multi_remove_handle($chs, $done['handle']); curl_close($done['handle']); //如果仍然有未处理完毕的句柄,那么就select if ($active > 0) { curl_multi_select($chs, 0.5); //此处会导致阻塞大概0.5秒。 } } } } while($active > 0); //还有句柄处理还在进行中 curl_multi_close($chs); return $response; } //使用方法function deal($data){ if ($data["error"] == '') { echo $data["url"]." -- ".$data["info"]["http_code"]."\n"; } else { echo $data["url"]." -- ".$data["error"]."\n"; } }$urls = array();for ($i = 0; $i < 10; $i++) { $urls[] = 'http://www.baidu.com/s?wd=etao_'.$i; $urls[] = 'http://www.so.com/s?q=etao_'.$i; $urls[] = 'http://www.soso.com/q?w=etao_'.$i; }curl($urls, "deal"); 参考资料 php实现并发处理之curl篇

exinnet 2019-12-02 01:32:22 0 浏览量 回答数 0

问题

anylog不能连接tomcat错误?报错

爱吃鱼的程序员 2020-06-12 10:46:36 0 浏览量 回答数 1

问题

mysql5.7如何调用写好的存储过程?报错

爱吃鱼的程序员 2020-06-06 20:16:02 0 浏览量 回答数 1

回答

请参看这个ueditor+七牛云的  UeditorController.java 或者你就用现在的后面加个renderNull();试试 renderjson就行了,代码如下 renderJson("{'original':'"+up.getOriginalName()+"','url':'"+up.getUrl()+"','fileType':'"+up.getType()+"','title':'"+up.getTitle()+"','state':'"+up.getState()+"'}"); 回复 @超级大富:谢谢,是用的httl模板的问题。另外我用的umeditor或是setAttr,最后renderjson() 目测楼主想返回json 数据,使用renderJson(result)就行,或者在本贴子的最后面加上一句renderNull()也可以 回复 @JFinal:应该是httlRender写的不完善报的错。能帮忙改下httlRender么,楼下有代码。回复 @vviqq:代码已经writer.wirte(...)过了,值在此时已经返回了,加个renderNull()是为了防止jfinal后续会调用默认render,避免抛出异常用的是httl模板renderNull()就不返回值了,用renderJson()就报错,renderJson是writer=response.getWriter();writer.write(jsonText);writer.flush();这种write.print是ueditor示例里面这样写的 /***HttlRender.(Integration,Prototype,ThreadSafe)**@authordafei(myaniuATgmailDOTcom)*/publicclassHttlRenderextendsRender{privatestaticfinallongserialVersionUID=-7218493570717379375L;publicHttlRender(Stringview){this.view=view;}@Overridepublicvoidrender(){try{WebEngine.setRequestAndResponse(request,response);WebEngine.getEngine().getTemplate(this.view,request.getLocale()).render(response);}catch(Exceptione){thrownewRenderException(e.getMessage(),e);}}} 这是httl扩展的render ,httl:1.0.11,jvm:1.6.0_10-rc2,os:WindowsVista6.1x86java.lang.IllegalStateException:Compilationinprogressatcom.sun.tools.javac.api.JavacTool.beginContext(JavacTool.java:148)atcom.sun.tools.javac.api.JavacTaskImpl.beginContext(JavacTaskImpl.java:173)atcom.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:113)athttl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:185)athttl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:161)athttl.spi.compilers.AbstractCompiler.compile(AbstractCompiler.java:161)athttl.spi.compilers.AdaptiveCompiler.compile(AdaptiveCompiler.java:96)athttl.spi.translators.templates.CompiledVisitor.compile(CompiledVisitor.java:780)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:752)athttl.ast.AstVisitor.visit(AstVisitor.java:88)athttl.ast.AstVisitor.visit(AstVisitor.java:63)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:335)athttl.ast.AstVisitor.visit(AstVisitor.java:41)athttl.ast.BlockDirective.accept(BlockDirective.java:45)athttl.ast.BlockDirective.accept(BlockDirective.java:48)athttl.spi.translators.CompiledTranslator.parseClass(CompiledTranslator.java:497)athttl.spi.translators.CompiledTranslator.translate(CompiledTranslator.java:412)athttl.spi.translators.MixedTranslator.translate(MixedTranslator.java:59)athttl.spi.engines.DefaultEngine.parseTemplate(DefaultEngine.java:255)athttl.spi.engines.DefaultEngine.getTemplate(DefaultEngine.java:233)athttl.Engine.getTemplate(Engine.java:361)athttl.web.jfinal.HttlRender.render(HttlRender.java:40)atcom.jfinal.core.ActionHandler.handle(ActionHandler.java:92)atcom.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:58)atcom.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47)atcom.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)atorg.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)atorg.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)atorg.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)atorg.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)atorg.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)atorg.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)atorg.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)atorg.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)atorg.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)atorg.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)atorg.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)atorg.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)atorg.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)atorg.eclipse.jetty.server.Server.handle(Server.java:365)atorg.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)atorg.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)atorg.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)atorg.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)atorg.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)atorg.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)atorg.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)atorg.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)atjava.lang.Thread.run(UnknownSource)2014-05-0917:02:01[ERROR]-[Thread:qtp27196165-37]-[com.jfinal.core.ActionHandler.handle()]:/meeting/indexcom.jfinal.render.RenderException:Failedtocompileclass,cause:Compilationinprogress,class:httl.spi.translators.templates.Template__meeting_index_html_main__WEB_INF_httl_UTF_8_1395650186009_stream,stack:java.lang.IllegalStateException:Compilationinprogressjava.lang.IllegalStateException:Compilationinprogressatcom.sun.tools.javac.api.JavacTool.beginContext(JavacTool.java:148)atcom.sun.tools.javac.api.JavacTaskImpl.beginContext(JavacTaskImpl.java:173)atcom.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:113)athttl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:185)athttl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:161)athttl.spi.compilers.AbstractCompiler.compile(AbstractCompiler.java:161)athttl.spi.compilers.AdaptiveCompiler.compile(AdaptiveCompiler.java:96)athttl.spi.translators.templates.CompiledVisitor.compile(CompiledVisitor.java:780)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:752)athttl.ast.AstVisitor.visit(AstVisitor.java:88)athttl.ast.AstVisitor.visit(AstVisitor.java:63)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:335)athttl.ast.AstVisitor.visit(AstVisitor.java:41)athttl.ast.BlockDirective.accept(BlockDirective.java:45)athttl.ast.BlockDirective.accept(BlockDirective.java:48)athttl.spi.translators.CompiledTranslator.parseClass(CompiledTranslator.java:497)athttl.spi.translators.CompiledTranslator.translate(CompiledTranslator.java:412)athttl.spi.translators.MixedTranslator.translate(MixedTranslator.java:59)athttl.spi.engines.DefaultEngine.parseTemplate(DefaultEngine.java:255)athttl.spi.engines.DefaultEngine.getTemplate(DefaultEngine.java:233)athttl.Engine.getTemplate(Engine.java:361)athttl.web.jfinal.HttlRender.render(HttlRender.java:40)atcom.jfinal.core.ActionHandler.handle(ActionHandler.java:92)atcom.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:58)atcom.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47)atcom.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)atorg.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)atorg.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)atorg.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)atorg.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)atorg.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)atorg.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)atorg.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)atorg.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)atorg.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)atorg.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)atorg.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)atorg.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)atorg.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)atorg.eclipse.jetty.server.Server.handle(Server.java:365)atorg.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)atorg.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)atorg.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)atorg.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)atorg.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)atorg.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)atorg.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)atorg.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)atjava.lang.Thread.run(UnknownSource)athttl.web.jfinal.HttlRender.render(HttlRender.java:42)atcom.jfinal.core.ActionHandler.handle(ActionHandler.java:92)atcom.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:58)atcom.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47)atcom.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)atorg.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)atorg.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)atorg.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)atorg.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)atorg.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)atorg.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)atorg.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)atorg.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)atorg.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)atorg.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)atorg.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)atorg.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)atorg.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)atorg.eclipse.jetty.server.Server.handle(Server.java:365)atorg.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)atorg.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)atorg.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)atorg.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)atorg.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)atorg.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)atorg.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)atorg.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)atjava.lang.Thread.run(UnknownSource)Causedby:java.text.ParseException:Failedtocompileclass,cause:Compilationinprogress,class:httl.spi.translators.templates.Template__meeting_index_html_main__WEB_INF_httl_UTF_8_1395650186009_stream,stack:java.lang.IllegalStateException:Compilationinprogressjava.lang.IllegalStateException:Compilationinprogressatcom.sun.tools.javac.api.JavacTool.beginContext(JavacTool.java:148)atcom.sun.tools.javac.api.JavacTaskImpl.beginContext(JavacTaskImpl.java:173)atcom.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:113)athttl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:185)athttl.spi.compilers.JdkCompiler.doCompile(JdkCompiler.java:161)athttl.spi.compilers.AbstractCompiler.compile(AbstractCompiler.java:161)athttl.spi.compilers.AdaptiveCompiler.compile(AdaptiveCompiler.java:96)athttl.spi.translators.templates.CompiledVisitor.compile(CompiledVisitor.java:780)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:752)athttl.ast.AstVisitor.visit(AstVisitor.java:88)athttl.ast.AstVisitor.visit(AstVisitor.java:63)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:335)athttl.ast.AstVisitor.visit(AstVisitor.java:41)athttl.ast.BlockDirective.accept(BlockDirective.java:45)athttl.ast.BlockDirective.accept(BlockDirective.java:48)athttl.spi.translators.CompiledTranslator.parseClass(CompiledTranslator.java:497)athttl.spi.translators.CompiledTranslator.translate(CompiledTranslator.java:412)athttl.spi.translators.MixedTranslator.translate(MixedTranslator.java:59)athttl.spi.engines.DefaultEngine.parseTemplate(DefaultEngine.java:255)athttl.spi.engines.DefaultEngine.getTemplate(DefaultEngine.java:233)athttl.Engine.getTemplate(Engine.java:361)athttl.web.jfinal.HttlRender.render(HttlRender.java:40)atcom.jfinal.core.ActionHandler.handle(ActionHandler.java:92)atcom.jfinal.plugin.druid.DruidStatViewHandler.handle(DruidStatViewHandler.java:58)atcom.jfinal.ext.handler.ContextPathHandler.handle(ContextPathHandler.java:47)atcom.jfinal.core.JFinalFilter.doFilter(JFinalFilter.java:72)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)atorg.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)atorg.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)atorg.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)atorg.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)atorg.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)atorg.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)atorg.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)atorg.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)atorg.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)atorg.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)atorg.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)atorg.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)atorg.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)atorg.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)atorg.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)atorg.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)atorg.eclipse.jetty.server.Server.handle(Server.java:365)atorg.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)atorg.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)atorg.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)atorg.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)atorg.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)atorg.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)atorg.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)atorg.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)atorg.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)atjava.lang.Thread.run(UnknownSource)athttl.spi.compilers.AbstractCompiler.compile(AbstractCompiler.java:175)athttl.spi.compilers.AdaptiveCompiler.compile(AdaptiveCompiler.java:96)athttl.spi.translators.templates.CompiledVisitor.compile(CompiledVisitor.java:780)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:752)athttl.ast.AstVisitor.visit(AstVisitor.java:88)athttl.ast.AstVisitor.visit(AstVisitor.java:63)athttl.spi.translators.templates.CompiledVisitor.visit(CompiledVisitor.java:335)athttl.ast.AstVisitor.visit(AstVisitor.java:41)athttl.ast.BlockDirective.accept(BlockDirective.java:45)athttl.ast.BlockDirective.accept(BlockDirective.java:48)athttl.spi.translators.CompiledTranslator.parseClass(CompiledTranslator.java:497)athttl.spi.translators.CompiledTranslator.translate(CompiledTranslator.java:412)athttl.spi.translators.MixedTranslator.translate(MixedTranslator.java:59)athttl.spi.engines.DefaultEngine.parseTemplate(DefaultEngine.java:255)athttl.spi.engines.DefaultEngine.getTemplate(DefaultEngine.java:233)athttl.Engine.getTemplate(Engine.java:361)athttl.web.jfinal.HttlRender.render(HttlRender.java:40)...35more这个貌似是你的httl模版的问题

爱吃鱼的程序员 2020-06-20 19:16:34 0 浏览量 回答数 0

问题

JSON文件stream api反序列化出错?报错

爱吃鱼的程序员 2020-06-22 16:48:01 0 浏览量 回答数 1

问题

JFinal renderFile() 下载pdf类型文件jetty会报错?报错

爱吃鱼的程序员 2020-06-22 14:53:38 0 浏览量 回答数 1
阿里云大学 云服务器ECS com域名 网站域名whois查询 开发者平台 小程序定制 小程序开发 国内短信套餐包 开发者技术与产品 云数据库 图像识别 开发者问答 阿里云建站 阿里云备案 云市场 万网 阿里云帮助文档 免费套餐 开发者工具 云栖号物联网 小程序开发制作 视频内容分析 企业网站制作 视频集锦 代理记账服务 2020阿里巴巴研发效能峰会 企业建站模板 云效成长地图 高端建站 云栖号弹性计算 阿里云云栖号 云栖号案例 云栖号直播