NutzCN Logo
问答 构建nutzcloud 环境 报错
发布于 2281天前 作者 Rekoe 1718 次浏览 复制 上一个帖子 下一个帖子
标签:
mvn clean eclipse:eclipse
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.nutz.cloud:loach-client:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10
[FATAL] Non-resolvable parent POM for org.nutz.cloud:literpc:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.nutz.cloud:loach-client:[unknown-version] (/Users/kouxian/Desktop/nutzcloud/loach-client/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.nutz.cloud:loach-client:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.nutz.cloud:literpc:[unknown-version] (/Users/kouxian/Desktop/nutzcloud/literpc/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.nutz.cloud:literpc:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
12 回复

先在顶层install看看?

 mvn install
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.nutz.cloud:loach-client:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10
[FATAL] Non-resolvable parent POM for org.nutz.cloud:literpc:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10
 @
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR]   The project org.nutz.cloud:loach-client:[unknown-version] (/Users/kouxian/Desktop/nutzcloud/loach-client/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.nutz.cloud:loach-client:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR]   The project org.nutz.cloud:literpc:[unknown-version] (/Users/kouxian/Desktop/nutzcloud/literpc/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.nutz.cloud:literpc:[unknown-version]: Could not find artifact org.nutz:nutzcloud-parent:pom:2.2-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

晚上我看看

另外,eclipse支持直接导入的,不需要生成eclipse项目文件

@wendal 还是存在版本号的 问题

Missing artifact org.nutz:nutzboot-starter-tio:jar:2.3-SNAPSHOT

@Rekoe 这个版本号和starteir名字没问题呀

还是有问题

[DEBUG] 19:20:10.889 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class io.nutz.cloud.demo.module.UserModule without AOP
[WARN ] 19:20:10.902 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/user/apitest :
java.lang.reflect.UndeclaredThrowableException
	at com.sun.proxy.$Proxy19.list(Unknown Source)
	at io.nutz.cloud.demo.module.UserModule.apitest(UserModule.java:62)
	at io.nutz.cloud.demo.module.UserModule$FM$apitest$d06e99f7994289cf1a7cb5c6420187d1.invoke(UserModule.java)
	at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:38)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
	at org.nutz.mvc.WhaleFilter.doFilter(WhaleFilter.java:171)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1634)
	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:215)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.Server.handle(Server.java:531)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at org.nutz.boot.starter.literpc.impl.endpoint.tcp.TcpRpcEndpoint$RpcSocketFactory.makeObject(TcpRpcEndpoint.java:159)
	at org.nutz.boot.starter.literpc.impl.endpoint.tcp.TcpRpcEndpoint$RpcSocketFactory.makeObject(TcpRpcEndpoint.java:1)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.create(GenericKeyedObjectPool.java:1064)
	at org.apache.commons.pool2.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:358)
	at org.nutz.boot.starter.literpc.impl.endpoint.tcp.TcpRpcEndpoint.send(TcpRpcEndpoint.java:93)
	at org.nutz.boot.starter.literpc.impl.proxy.DefaultRpcInjectProxy.invoke(DefaultRpcInjectProxy.java:40)
	... 47 more

服务端没启动?

添加回复
请先登陆
回到顶部