java.lang.IllegalArgumentException: MALFORMED 问题解决
来源:互联网 发布:java 日期相差天数 编辑:程序博客网 时间:2024/06/05 00:39
eclipse跑的时候没有任何问题,打成war放到jetty下启动报错:
查找各种原因
http://blog.csdn.net/zhangdaiscott/article/details/43792811
后发现引用了My97DatePicker 在下面有个中文命名的:开发包;
应该是启动war包是因为中文路径的问题导致无法进行解压,报错,删掉这层目录,其他引用的位置修改即可。
08-23 20:18:19.074 [main] WARN org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:514) - Failed startup of context o.e.j.w.WebAppContext@3e84448c{/,file:/app/jetty/server/ESG_CCMP_CORE_CNSZ22_JETTY_APP_CORE_01/work/jetty-10.202.21.145-8080-ccmp-core-V1.2.war-_-any-/webapp/,null}{/ccmp-core-V1.2.war}
java.lang.IllegalArgumentException: MALFORMEDat java.util.zip.ZipCoder.toString(ZipCoder.java:58) ~[na:1.8.0_25]
at java.util.zip.ZipFile.getZipEntry(ZipFile.java:567) ~[na:1.8.0_25]
at java.util.zip.ZipFile.access$900(ZipFile.java:61) ~[na:1.8.0_25]
at java.util.zip.ZipFile$ZipEntryIterator.next(ZipFile.java:525) ~[na:1.8.0_25]
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:500) ~[na:1.8.0_25]
at java.util.zip.ZipFile$ZipEntryIterator.nextElement(ZipFile.java:481) ~[na:1.8.0_25]
at java.util.jar.JarFile$JarEntryIterator.next(JarFile.java:257) ~[na:1.8.0_25]
at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:266) ~[na:1.8.0_25]
at java.util.jar.JarFile$JarEntryIterator.nextElement(JarFile.java:247) ~[na:1.8.0_25]
at org.eclipse.jetty.util.resource.JarFileResource.exists(JarFileResource.java:190) ~[jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.webapp.MetaInfConfiguration.scanForFragment(MetaInfConfiguration.java:242) ~[jetty-webapp-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.webapp.MetaInfConfiguration.scanJars(MetaInfConfiguration.java:134) ~[jetty-webapp-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:86) ~[jetty-webapp-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468) ~[jetty-webapp-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504) ~[jetty-webapp-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:461) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235) [jetty-deploy-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.server.Server.start(Server.java:387) [jetty-server-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61) [jetty-server-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.server.Server.doStart(Server.java:354) [jetty-server-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) [jetty-util-9.2.7.v20150116.jar:9.2.7.v20150116]
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255) [jetty-xml-9.2.7.v20150116.jar:9.2.7.v20150116]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_25]
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174) [jetty-xml-9.2.7.v20150116.jar:9.2.7.v20150116]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_25]
at org.eclipse.jetty.start.Main.invokeMain(Main.java:321) [start.jar:9.2.7.v20150116]
at org.eclipse.jetty.start.Main.start(Main.java:817) [start.jar:9.2.7.v20150116]
at org.eclipse.jetty.start.Main.main(Main.java:112) [start.jar:9.2.7.v20150116]
08-23 20:18:19.102 [main] INFO org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:266) - Started
0 0
- java.lang.IllegalArgumentException: MALFORMED 问题解决
- java.lang.IllegalArgumentException:MALFORMED
- 【Android】aar打包出现java.lang.IllegalArgumentException: MALFORMED 问题解决
- jbpm部署出现java.lang.IllegalArgumentException: MALFORMED
- java.lang.IllegalArgumentException: Malformed \uxxxx encoding.解决方法
- java.lang.IllegalArgumentException: Malformed /uxxxx encoding
- java.lang.IllegalArgumentException: Malformed \uxxxx encoding
- java 解压zip java.lang.IllegalArgumentException: MALFORMED 错误
- java 解压zip java.lang.IllegalArgumentException: MALFORMED 错误
- java.lang.IllegalArgumentException: Malformed \uxxxx encoding异常解析
- java.lang.IllegalArgumentException: Malformed \uxxxx encoding异常解析
- 压缩/解压 zip 时遇到 java.lang.IllegalArgumentException: MALFORMED
- java.lang.IllegalArgumentException: MALFORMED jar解析中文报错问题
- ant打包war时报错:java.lang.IllegalArgumentException: MALFORMED
- java.lang.IllegalArgumentException: MALFORMED jar解析中文报错问题
- java.lang.IllegalArgumentException: MALFORMED jar解析中文报错问题
- 解压中文名的zip时报错java.lang.IllegalArgumentException: MALFORMED
- spring 国际化 java.lang.IllegalArgumentException: Malformed \uxxxx encoding
- Android开发中的小技巧
- Find the Duplicate Number--重复数字问题
- 哈佛结构/冯诺依曼结构详细分析
- iOS异常捕获
- Unity Mesh合并插件MeshBaker使用心得(一)
- java.lang.IllegalArgumentException: MALFORMED 问题解决
- JavaScript对象之正则表达式-RegExp
- 观光旅游(floyed最小环)
- Android使用HttpClient请求服务器代码优化版
- Android沉浸式状态栏
- 编写类String的构造函数、析构函数和赋值函数
- LeetCode 349. Intersection of Two Arrays
- JMS入门(三)--Queue的使用
- win10下安装centos7双系统之开机系统引导问题