开发者社区> 问答> 正文

jfinal运行出错 400 请求报错 

@JFinal 你好,想跟你请教个问题:
 Starting JFinal 2.0 Starting scanner at interval of 5 seconds. Starting web server on port: 8087

2015-11-16 11:34:01 [WARN]-[Thread: main]-[org.eclipse.jetty.webapp.WebAppContext.doStart()]: Failed startup of context o.e.j.w.WebAppContext{/,file:/D:/Workspaces/weixinManager/WebRoot/} java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121) at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142) at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179) at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162) at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100) at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82) at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:277) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.jfinal.server.JettyServer.doStart(JettyServer.java:121) at com.jfinal.server.JettyServer.start(JettyServer.java:64) at com.jfinal.core.JFinal.start(JFinal.java:137) at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

2015-11-16 11:34:01 [WARN]-[Thread: main]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED o.e.j.w.WebAppContext{/,file:/D:/Workspaces/weixinManager/WebRoot/}: java.lang.IllegalArgumentException: MALFORMED java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121) at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142) at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179) at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162) at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100) at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82) at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:277) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.jfinal.server.JettyServer.doStart(JettyServer.java:121) at com.jfinal.server.JettyServer.start(JettyServer.java:64) at com.jfinal.core.JFinal.start(JFinal.java:137) at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

2015-11-16 11:34:01 [WARN]-[Thread: main]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED org.eclipse.jetty.server.Server@49336bd: java.lang.IllegalArgumentException: MALFORMED java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121) at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142) at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179) at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162) at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100) at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82) at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:277) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.jfinal.server.JettyServer.doStart(JettyServer.java:121) at com.jfinal.server.JettyServer.start(JettyServer.java:64) at com.jfinal.core.JFinal.start(JFinal.java:137) at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104) java.lang.IllegalArgumentException: MALFORMED at java.util.zip.ZipCoder.toString(ZipCoder.java:58) at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121) at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142) at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179) at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162) at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100) at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82) at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84) at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84) at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:277) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at com.jfinal.server.JettyServer.doStart(JettyServer.java:121) at com.jfinal.server.JettyServer.start(JettyServer.java:64) at com.jfinal.core.JFinal.start(JFinal.java:137) at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

 

运行出错是怎么回事

最后把那个jfinal-weixin包删除就可以了!但是我想集成进去

展开
收起
kun坤 2020-05-30 22:07:21 686 0
1 条回答
写回答
取消 提交回答
  • Starting JFinal 2.0

    Starting scanner at interval of 5 seconds.

    Starting web server on port: 8087

    2015-11-16 11:34:01

    [WARN]-[Thread: main]-[org.eclipse.jetty.webapp.WebAppContext.doStart()]: Failed startup of context o.e.j.w.WebAppContext{/,file:/D:/Workspaces/weixinManager/WebRoot/}

    java.lang.IllegalArgumentException: MALFORMED

    at java.util.zip.ZipCoder.toString(ZipCoder.java:58)

    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297)

    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)

    at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)

    at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)

    at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)

    at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)

    at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)

    at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)

    at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)

    at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455)

    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)

    at org.eclipse.jetty.server.Server.doStart(Server.java:277)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at com.jfinal.server.JettyServer.doStart(JettyServer.java:121)

    at com.jfinal.server.JettyServer.start(JettyServer.java:64)

    at com.jfinal.core.JFinal.start(JFinal.java:137)

    at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

    2015-11-16 11:34:01

    [WARN]-[Thread: main]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED o.e.j.w.WebAppContext{/,file:/D:/Workspaces/weixinManager/WebRoot/}: java.lang.IllegalArgumentException: MALFORMED

    java.lang.IllegalArgumentException: MALFORMED

    at java.util.zip.ZipCoder.toString(ZipCoder.java:58)

    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297)

    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)

    at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)

    at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)

    at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)

    at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)

    at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)

    at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)

    at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)

    at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455)

    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)

    at org.eclipse.jetty.server.Server.doStart(Server.java:277)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at com.jfinal.server.JettyServer.doStart(JettyServer.java:121)

    at com.jfinal.server.JettyServer.start(JettyServer.java:64)

    at com.jfinal.core.JFinal.start(JFinal.java:137)

    at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

    2015-11-16 11:34:01

    [WARN]-[Thread: main]-[org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed()]: FAILED org.eclipse.jetty.server.Server@49336bd: java.lang.IllegalArgumentException: MALFORMED

    java.lang.IllegalArgumentException: MALFORMED

    at java.util.zip.ZipCoder.toString(ZipCoder.java:58)

    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297)

    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)

    at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)

    at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)

    at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)

    at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)

    at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)

    at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)

    at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)

    at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455)

    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)

    at org.eclipse.jetty.server.Server.doStart(Server.java:277)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at com.jfinal.server.JettyServer.doStart(JettyServer.java:121)

    at com.jfinal.server.JettyServer.start(JettyServer.java:64)

    at com.jfinal.core.JFinal.start(JFinal.java:137)

    at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

    java.lang.IllegalArgumentException: MALFORMED

    at java.util.zip.ZipCoder.toString(ZipCoder.java:58)

    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:297)

    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121)

    at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142)

    at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179)

    at org.eclipse.jetty.webapp.JarScanner.matched(JarScanner.java:162)

    at org.eclipse.jetty.util.PatternMatcher.matchPatterns(PatternMatcher.java:100)

    at org.eclipse.jetty.util.PatternMatcher.match(PatternMatcher.java:82)

    at org.eclipse.jetty.webapp.JarScanner.scan(JarScanner.java:84)

    at org.eclipse.jetty.webapp.MetaInfConfiguration.preConfigure(MetaInfConfiguration.java:84)

    at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:455)

    at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:491)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)

    at org.eclipse.jetty.server.Server.doStart(Server.java:277)

    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)

    at com.jfinal.server.JettyServer.doStart(JettyServer.java:121)

    at com.jfinal.server.JettyServer.start(JettyServer.java:64)

    at com.jfinal.core.JFinal.start(JFinal.java:137)

    at com.weixinManager.common.config.DefaultConfig.main(DefaultConfig.java:104)

    使用JFinal-weixin了么:http://www.oschina.net/news/67980/jfinal-weixin-1-5-released?p=7#comments 我看这个异常和你的很像,这个异常应该就是有jar有问题导致的! ######谢谢!已经把jar包替换了。
    2020-05-30 22:07:33
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载