Spatial

茫茫宇宙,寻觅星辰

Tomcat 8.x部分版本参数传递异常

Tomcat 某些版本在参数传递中特殊字符不能处理的问题 java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986 方法1: 更换低版本的Tomcat来规避这种问题。 ...

RabbitMQ 配置 exchange后 发送消息显示 I/O错误

问题 RabbitMQ 配置 exchange后 发送消息显示 I/O错误 ### 解决方案 ### 自己动手添加 exchange

RabbitMQ 安装及JSP运行 helloworld遇到的问题

RabbitMQ RabbitMQ Server 安装环境 windows8(64位),安装的版本 3.7.2。 它依赖于Erlang,我下载的版本是20.1(otp_win64_20.1.exe),官网下载很慢。 安装很顺利,直接下一步即可。 开发语言使用的Java,所以下载了对应的Client API,由于5.x版本使用的是JDK8,我的计算机上安装的是JDK7,因此下载了4.x(...

PostgreSQL Excel包含中文字符的数据导入方法

1.excel文件处理 删除掉标题行,另存为 以逗号分隔符的CSV文件 2.文件格式处理Notepad ++ 1).文件转换为UNIX格式 2).格式转换为UTF8无BOM 摘自:yiyi

Maven 导入本地自定义包

问题 Maven 如何导入本地自定义包 ### 解决方案 ### D:>mvn install:install-file -Dfile=D:\project\DataDis.Tile2.jar -DgroupId=com.gvcloud -DartifactId=DataDis.Tile2 -Dversion=0.0.1-SNAPSHOT -Dpackaging=jar

MXNET官方教程使用中出现的错误的处理方案

1、 使用 jupyter os.system(‘python %s 无法正常运行 os.system(‘python %s/tools/im2rec.py –list=1 –recursive=1 –shuffle=1 –test-ratio=0.2 data/caltech data/101_ObjectCategories’%MXNET_HOME) %s无法识别,直接替换为绝...

Linux(Centos 7) 如何将 jar 发布为系统服务

1、在/etc/systemd/system路径下创建文件 javaservice.service 内容如下: [Unit] Description=Java Service [Service] User=nobody # The configuration file application.properties should be here: WorkingDirectory=/data...

Kettle 使用Get data from XML 中如何使用目录下的文件作为输入的变量

解决方案 You should give the directory structure in the file/direcory and in the regex give .*txt instead of *.txt then add and use Get Filenames to see whther you are getting all the files . 这个不符合逻辑,但...

Kettle No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType

问题 Kettle在执行CSV转换为XML时出现 No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType ### 解决方案 ### 原因没有选择输出字段作为xml哪部分输出,需要指定输出的是 attribute 还是element. 引自CSDN,MichaelJY1991

Java调用Kettle时,报Can't run transformation due to plugin missing错误,但使用spoon执行没有问题

问题 Java调用Kettle时,报Can't run transformation due to plugin missing错误,但使用spoon执行没有问题 ### 解决方案 ### 原因:需要增加kettle的插件 地址 StepPluginType.getInstance().getPluginFolders().add(new PluginFolder(“C:\Progr...