error

IntelliJ IDEA 编译项目报错-JDOMParseException

|▌冷眼眸甩不掉的悲伤 提交于 2020-03-01 21:43:14
昨天使用IDEA 13进行项目跟新后,进行项目编译,编译过程中IDEA开始报错: Error:Internal error: (org.jdom.input.JDOMParseException) Error on line 3012: XML document structures must start and end within the same entity. org.jdom.input.JDOMParseException: Error on line 3012: XML document structures must start and end within the same entity. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:533) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:946) at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:364) at com.intellij.openapi.util.JDOMUtil.loadDocument(JDOMUtil.java:342) at org.jetbrains.jps.model.serialization

ASP.Net部署遇到的问题及解决方案地址。

≡放荡痞女 提交于 2020-03-01 03:48:52
今天部署一个ASP.Net的网站,第一次弄,遇到了异常,看到了两个总结的很好的博文,索性弄过来,方便以后查看。 1.HTTP 错误 500.19 - Internal Server Error 的解决方法 配置错误详情为:“不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的 (overrideModeDefault="Deny"),或者是通过包含 overrideMode="Deny" 或旧有的 allowOverride="false" 的位置标记明确设置的。 解决办法地址:http://www.cnblogs.com/imjustice/archive/2011/04/04/2198116.html 2.HTTP 错误 500.21 - Internal Server Error 处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“ManagedPipelineHandler”。 解决办法地址:http://blog.csdn.net/yuzhiyuxia/article/details/6285157 来源: oschina 链接: https://my.oschina.net/u/731762/blog/92881

Eclipse Error

旧巷老猫 提交于 2020-02-29 18:47:12
用 Eclipse 时经常出现错误提示: Error notifying a preference change listener. Check the log for details. Widget is disposed 最简单解决方法: 关闭 Breadcrumb bar,在需要的时候重新打开。根本原因没有详查,不清楚 Eclipse Version: Version: Indigo Service Release 2 Build id: 20120216-1857 来源: oschina 链接: https://my.oschina.net/u/143354/blog/382888

datatable 局部刷新之单元

▼魔方 西西 提交于 2020-02-29 13:42:21
需求:   1.对某一列进行动态更新。 2.不能对表格状态更改,如选中状态、当前页数、筛选等。 这样我们使用 draw 、ajax.reload 等都不能满足第二个需求。幸好发现一个api cell().data() 可以实现上面的需求。对此进行了封装来满足需求。 解决: $.fn.dataTable.Api.register( 'partUpdate', function (col) { var api = this; var Sdata = api.data().data() $.ajax({ url: api.ajax.url(), data: api.ajax.params(), contentType: "application/json; charset=utf-8", dataType: "json", type: 'post', success: function (resp) { var data = resp.data; var error = resp.error; if (error!=null || error!=undefined){ alert(error) return false; } var field = table.column(col).dataSrc() $.each(Sdata, function(index, Sitem){ $

Module build failed: Error: Cannot find module 'node-sass'报错问题

微笑、不失礼 提交于 2020-02-29 09:45:24
由于重新装了一个系统,很多环境配置要重新配置。在想run 一个项目时,出现下面的错误: error in ./src/page/Index.vue Module build failed: Error: Cannot find module 'node-sass' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15) at Function.Module._load (internal/modules/cjs/loader.js:507:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.sassLoader (E:\trip_user_ui\node_modules\sass-loader\lib\loader.js:46:72) @ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":false}!./node_modules/vue-loader/lib/style-compiler?{"vue"

MySQL: The server quit without updating PID file

流过昼夜 提交于 2020-02-29 01:42:18
1. 查看日志 151101 17:07:02 InnoDB: Completed initialization of buffer pool 151101 17:07:02 InnoDB: Fatal error: cannot allocate memory for the buffer pool 151101 17:07:02 [ERROR] Plugin 'InnoDB' init function returned error. 151101 17:07:02 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 151101 17:07:02 [ERROR] Unknown/unsupported storage engine: InnoDB 151101 17:07:02 [ERROR] Aborting 151101 17:07:02 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete 发现错误 2. 清理内存 free -m echo 1 > /proc/sys/vm/drop_caches 3. 修改配置 vi /etc/my.cnf innodb_buffer_pool_size = 16M -- 小于可用内存 4.

AVF 3 - 音频录制

守給你的承諾、 提交于 2020-02-28 17:55:42
AVF 3 - 音频录制 文章目录 AVF 3 - 音频录制 需要调用到麦克风方法,别忘记添加 Privacy - Microphone Usage Description @interface AudioRecorder ()<AVAudioRecorderDelegate> @property (strong, nonatomic) AVAudioRecorder *recorder; @end @implementation AudioRecorder - (void)setup{ NSString *tmpDir = NSTemporaryDirectory(); NSString *filePath = [tmpDir stringByAppendingPathComponent:@"memo.caf"]; NSURL *fileURL = [NSURL fileURLWithPath:filePath]; NSLog(@"fileURL : %@",fileURL); NSDictionary *settings = @{ AVFormatIDKey : @(kAudioFormatAppleIMA4), AVSampleRateKey : @44100.0f, AVNumberOfChannelsKey : @1, AVEncoderBitDepthHintKey :

Nginx配置WebService、MySQL、SQL Server、ORACLE等代理

余生长醉 提交于 2020-02-27 04:05:46
nginx配置webservice #user nobody; worker_processes 4; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; #access_log logs/access.log main; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; upstream esbServer { server 127.0.0.1:8083 weight=1 max_fails=2