NutzCN Logo
问答 通过maven构建nutzwk项目为何报如下错误:
发布于 2777天前 作者 JGeek 2154 次浏览 复制 上一个帖子 下一个帖子
标签:

Archive for required library: 'D:/Web/repository/cn/apiclub/tool/simplecaptcha/1.2.2/simplecaptcha-1.2.2.jar' in project 'nutzwk' cannot be read or is not a valid ZIP file nutzwk Build path Build Path Problem
请大神速速来救!!!

20 回复

定义了一个本地仓库???

@wendal 嗯,更改了maven的conf/settings.xml中的仓库位置,这个问题应该不大吧,而且我到那个目录去看过,确实有那个jar包的
直接把那个工程下载下来后,导入(选择的是Existing Maven Projects),然后就等待他的构建,过了一会儿就是这个错了
工具版本如下:
jdk:1.8.0_74
maven:3.3.9
eclipse:Java EE IDE for Web Developers Neon Release (4.6.0)
请问是什么原因呢?

@wendal 下载地址为:https://github.com/Wizzercn/NutzWk

@wendal 又从新试了一次还是那个错误

把它删了. 整个配置干掉.

@wendal 等会再试吧,头疼了,下班先回家……

@wendal
把jar解决后,就有出现了这个错,这是你们页面上的啊,这么多我真心不想去看了

Description	Resource	Path	Location	Type
Expected value at 1:0	code.json	/nutzwk/src/main/resources/code	line 1	JSON Problem
Expected value at 1:0	dao.json	/nutzwk/src/main/resources/config/ioc	line 1	JSON Problem
Expected value at 1:0	ehcache.json	/nutzwk/src/main/resources/config/ioc	line 1	JSON Problem
Expected value at 1:0	mail.json	/nutzwk/src/main/resources/config/ioc	line 1	JSON Problem
Expected value at 1:0	nutzwk-mvc-chain.json	/nutzwk/src/main/resources/config/chain	line 1	JSON Problem
Expected value at 1:0	redis.json	/nutzwk/src/main/resources/config/ioc	line 1	JSON Problem
Expected value at 1:0	upload.json	/nutzwk/src/main/resources/config/ioc	line 1	JSON Problem
org.codehaus.plexus.archiver.jar.Manifest.write(java.io.PrintWriter)	pom.xml	/nutzwk	line 1	Maven Configuration Problem
Start tag (<a>) not closed properly, expected '>'.	left.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys	line 7	HTML Problem
Start tag (<a>) not closed properly, expected '>'.	left.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys	line 23	HTML Problem
Start tag (<a>) not closed properly, expected '>'.	private.html	/nutzwk/src/main/webapp/WEB-INF/views/layouts	line 146	HTML Problem
Start tag (<a>) not closed properly, expected '>'.	private.html	/nutzwk/src/main/webapp/WEB-INF/views/layouts	line 154	HTML Problem
Start tag (<a>) not closed properly, expected '>'.	private.html	/nutzwk/src/main/webapp/WEB-INF/views/layouts	line 162	HTML Problem
Start tag (<a>) not closed properly, expected '>'.	private.html	/nutzwk/src/main/webapp/WEB-INF/views/layouts	line 254	HTML Problem
Start tag (<button>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/role	line 26	HTML Problem
Start tag (<div>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/menu	line 56	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	custom.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/user	line 28	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/article	line 77	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/channel	line 69	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/role	line 42	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/role	line 50	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/route	line 43	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/task	line 59	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/menu	line 35	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/menu	line 36	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/menu	line 37	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/menu	line 52	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/menu	line 53	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/reply/conf	line 59	HTML Problem
Start tag (<input>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/reply/conf	line 61	HTML Problem
Start tag (<li>) not closed properly, expected '>'.	left.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys	line 6	HTML Problem
Start tag (<li>) not closed properly, expected '>'.	left.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys	line 22	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	add.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 25	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/channel	line 42	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/channel	line 43	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/channel	line 60	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/channel	line 61	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 26	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 37	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 38	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 47	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 48	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/menu	line 34	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/menu	line 35	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/route	line 34	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	edit.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys/route	line 35	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/cms/link/link	line 16	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/menu	line 14	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/msg/mass	line 12	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/msg/user	line 12	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/reply/conf	line 14	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/tpl/id	line 16	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/tpl/list	line 11	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/tpl/log	line 11	HTML Problem
Start tag (<option>) not closed properly, expected '>'.	index.html	/nutzwk/src/main/webapp/WEB-INF/views/private/wx/user	line 12	HTML Problem
Start tag (<ul>) not closed properly, expected '>'.	left.html	/nutzwk/src/main/webapp/WEB-INF/views/private/sys	line 19	HTML Problem
The project was not built since its build path is incomplete. Cannot find the class file for org.nutz.dao.Dao. Fix the build path then try building this project	nutzwk		Unknown	Java Problem
The type org.nutz.dao.Dao cannot be resolved. It is indirectly referenced from required .class files	Globals.java	/nutzwk/src/main/java/cn/wizzer/common/base	line 1	Java Problem

这种问题还是交回给 nutzwk的作者 @Wizzercn

json与js, beetl标签与html标签, eclipse傻傻分不清.

@Wizzercn 正在下载……我还没用过这个工具,希望今晚能够调通……

那些提示是不影响运行的.

@wendal
已经把校验关闭,且其他的问题都已经解决了。
但是用tomcat运行的时候,启动不起来就会报启动失败,也没说明什么原因

@iconman 控制台没人任何日志吗

来自炫酷的 NutzCN

@wendal 报的有错,刚才说错了,sorry,等下贴出来

@wendal 报的有错,刚才说错了,sorry,等下贴出来

严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/nutzwk]]
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:911)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:890)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/nutzwk]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	... 6 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@411fc182]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4832)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4964)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 6 more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@6a82c25e]
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:113)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:705)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 9 more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid LOC header (bad signature)
	at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:139)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	... 12 more
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)
	at java.util.zip.ZipFile.read(Native Method)
	at java.util.zip.ZipFile.access$1400(ZipFile.java:60)
	at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)
	at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
	at sun.misc.IOUtils.readFully(IOUtils.java:65)
	at java.util.jar.JarFile.getBytes(JarFile.java:425)
	at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
	at java.util.jar.JarFile.getManifest(JarFile.java:180)
	at org.apache.catalina.webresources.JarResourceSet.initInternal(JarResourceSet.java:137)
	... 13 more

九月 19, 2016 9:56:07 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:911)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:791)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:920)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:890)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 6 more

九月 19, 2016 9:56:07 下午 org.apache.catalina.startup.Catalina start
严重: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:791)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:920)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	... 11 more

看上去有个jar文件挂了

@wendal 可能吧,在下载jar的源码时,发现druid 1.0.25.jar 源码下载不了

@wendal 这程序你们有跑好的么?要有的话可以给我一份呀,不想调了,主要要nutzwk对权限和角色的管理这一块

@iconman 给你个war?

来自炫酷的 NutzCN

http://any.nutz.cn/nutzwk.war

自然,里面带了所需的全部jar

PS: maven配置下hosts文件就很快啦

151.101.40.209 repo1.maven.org
151.101.40.209 repo.maven.apache.org
添加回复
请先登陆
回到顶部