/** * Created by leo on 16/4/30. */ public interface GanchaiService { @GET("digest?t={type}&p={page}&size={count}") Call<List<GanChaiEntry>> ListGanchaiEntry(@Path("type") int type , @Path("count") int cou…
在学习struts 2时,为了方便,直接从下载的struts的apps目录下的struts2-blank.war压缩包下的WEB-INF\复制的web.xml,当我启动Tomcat时,发生 java.lang.IllegalArgumentException: <session-config> element is limited to 1 occurrence at org.apache.tomcat.util.descriptor.web.SetSessionConfig.begin(We…
因为zip文件名为中文,或者压缩内容有中文 解决方法: 错误详情: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.Exc…
用eclipse部署tomcat时出现异常:java.lang.IllegalArgumentException: Invalid 'log4jConfigLocation' parameter: class path resource [*/*/*/log4j.properties] cannot be resolved to URL because it does not exist 查看tomcat项目下,没有生成class文件及配置文件(class文件夹也不存在). 确定tomcat 部…
最近一个项目要用到FTP做上传下载,我访问ftp的url中有中文名称,结果每次都报如下错: 1 Exception in thread "main" java.lang.IllegalArgumentException 2 at sun.net.www.ParseUtil.decode(Unknown Source) 3 at sun.net.www.protocol.ftp.FtpURLConnection.decodePath(Unknown Source) 4 at sun.ne…