NutzCN Logo
问答 这个启动报错是什么原因,加了一个socket
发布于 1923天前 作者 passpart 1379 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
"C:\Program Files\Java\jdk1.8.0_191\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56470,suspend=y,server=n -Dnutz.profiles.active=prod -javaagent:D:\Users\13321\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\192.6262.58\plugins\java\lib\rt\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_191\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_191\jre\lib\rt.jar;E:\tools\IDEA\hangzhang\NutzWk\wk-app\wk-nb-web-api\target\classes;E:\tools\IDEA\hangzhang\NutzWk\wk-framework\target\classes;D:\Program Files\maven\repository\org\nutz\nutzboot-starter-nutz-dao\2.3-SNAPSHOT\nutzboot-starter-nutz-dao-2.3-20190108.025316-83.jar;D:\Program Files\maven\repository\org\nutz\nutz-plugins-daocache\1.r.67-SNAPSHOT\nutz-plugins-daocache-1.r.67-20181228.030638-40.jar;D:\Program Files\maven\repository\com\alibaba\druid\1.1.12\druid-1.1.12.jar;E:\tools\IDEA\hangzhang\NutzWk\wk-app\wk-model\target\classes;D:\Program Files\maven\repository\cn\wizzer\app\wk-code-generator-nb\5.0.6\wk-code-generator-nb-5.0.6.jar;D:\Program Files\maven\repository\org\atteo\evo-inflector\1.0.1\evo-inflector-1.0.1.jar;D:\Program Files\maven\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;D:\Program Files\maven\repository\org\apache\velocity\velocity\1.7\velocity-1.7.jar;D:\Program Files\maven\repository\commons-collections\commons-collections\3.2.1\commons-collections-3.2.1.jar;D:\Program Files\maven\repository\cn\jpush\api\jpush-client\3.3.13\jpush-client-3.3.13.jar;D:\Program Files\maven\repository\cn\jpush\api\jiguang-common\1.1.7\jiguang-common-1.1.7.jar;D:\Program Files\maven\repository\io\netty\netty-all\4.1.6.Final\netty-all-4.1.6.Final.jar;D:\Program Files\maven\repository\org\bouncycastle\bcpkix-jdk15on\1.60\bcpkix-jdk15on-1.60.jar;D:\Program Files\maven\repository\javax\mail\mail\1.5.0-b01\mail-1.5.0-b01.jar;E:\tools\IDEA\hangzhang\NutzWk\wk-app\wk-common\target\classes;D:\Program Files\maven\repository\com\alipay\sdk\alipay-sdk-java\3.1.0\alipay-sdk-java-3.1.0.jar;D:\Program Files\maven\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar;D:\Program Files\maven\repository\org\nutz\nutzboot-core\2.3-SNAPSHOT\nutzboot-core-2.3-20190108.025252-85.jar;D:\Program Files\maven\repository\org\nutz\nutz\1.r.67-SNAPSHOT\nutz-1.r.67-20190107.170458-66.jar;D:\Program Files\maven\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;D:\Program Files\maven\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;D:\Program Files\maven\repository\org\nutz\nutzboot-starter-dubbo\2.3-SNAPSHOT\nutzboot-starter-dubbo-2.3-20190108.025441-83.jar;D:\Program Files\maven\repository\org\nutz\nutz-integration-dubbo\1.r.67-SNAPSHOT\nutz-integration-dubbo-1.r.67-20181228.030531-40.jar;D:\Program Files\maven\repository\org\apache\curator\curator-framework\4.0.1\curator-framework-4.0.1.jar;D:\Program Files\maven\repository\org\apache\curator\curator-client\4.0.1\curator-client-4.0.1.jar;D:\Program Files\maven\repository\com\google\guava\guava\20.0\guava-20.0.jar;D:\Program Files\maven\repository\com\alibaba\dubbo\2.6.5\dubbo-2.6.5.jar;D:\Program Files\maven\repository\org\springframework\spring-context\4.3.21.RELEASE\spring-context-4.3.21.RELEASE.jar;D:\Program Files\maven\repository\org\springframework\spring-aop\4.3.21.RELEASE\spring-aop-4.3.21.RELEASE.jar;D:\Program Files\maven\repository\org\springframework\spring-beans\4.3.21.RELEASE\spring-beans-4.3.21.RELEASE.jar;D:\Program Files\maven\repository\org\springframework\spring-core\4.3.21.RELEASE\spring-core-4.3.21.RELEASE.jar;D:\Program Files\maven\repository\org\springframework\spring-expression\4.3.21.RELEASE\spring-expression-4.3.21.RELEASE.jar;D:\Program Files\maven\repository\org\javassist\javassist\3.24.0-GA\javassist-3.24.0-GA.jar;D:\Program Files\maven\repository\org\jboss\netty\netty\3.2.5.Final\netty-3.2.5.Final.jar;D:\Program Files\maven\repository\org\slf4j\jcl-over-slf4j\1.7.25\jcl-over-slf4j-1.7.25.jar;D:\Program Files\maven\repository\com\101tec\zkclient\0.10\zkclient-0.10.jar;D:\Program Files\maven\repository\org\apache\zookeeper\zookeeper\3.4.8\zookeeper-3.4.8.jar;D:\Program Files\maven\repository\jline\jline\0.9.94\jline-0.9.94.jar;D:\Program Files\maven\repository\io\netty\netty\3.7.0.Final\netty-3.7.0.Final.jar;D:\Program Files\maven\repository\org\nutz\nutzboot-starter-nutz-mvc\2.3-SNAPSHOT\nutzboot-starter-nutz-mvc-2.3-20190108.025434-83.jar;D:\Program Files\maven\repository\org\nutz\nutzboot-starter-jetty\2.3-SNAPSHOT\nutzboot-starter-jetty-2.3-20190108.025306-83.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-servlets\9.4.14.v20181114\jetty-servlets-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-continuation\9.4.14.v20181114\jetty-continuation-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-http\9.4.14.v20181114\jetty-http-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-util\9.4.14.v20181114\jetty-util-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-io\9.4.14.v20181114\jetty-io-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-webapp\9.4.14.v20181114\jetty-webapp-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-xml\9.4.14.v20181114\jetty-xml-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-servlet\9.4.14.v20181114\jetty-servlet-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-security\9.4.14.v20181114\jetty-security-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-server\9.4.14.v20181114\jetty-server-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\websocket-server\9.4.14.v20181114\websocket-server-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\websocket-common\9.4.14.v20181114\websocket-common-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\websocket-api\9.4.14.v20181114\websocket-api-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\websocket-client\9.4.14.v20181114\websocket-client-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-client\9.4.14.v20181114\jetty-client-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\websocket-servlet\9.4.14.v20181114\websocket-servlet-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\javax-websocket-server-impl\9.4.14.v20181114\javax-websocket-server-impl-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-annotations\9.4.14.v20181114\jetty-annotations-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\eclipse\jetty\jetty-plus\9.4.14.v20181114\jetty-plus-9.4.14.v20181114.jar;D:\Program Files\maven\repository\org\ow2\asm\asm-commons\6.1.1\asm-commons-6.1.1.jar;D:\Program Files\maven\repository\org\ow2\asm\asm-tree\6.1.1\asm-tree-6.1.1.jar;D:\Program Files\maven\repository\org\ow2\asm\asm-analysis\6.1.1\asm-analysis-6.1.1.jar;D:\Program Files\maven\repository\org\eclipse\jetty\websocket\javax-websocket-client-impl\9.4.14.v20181114\javax-websocket-client-impl-9.4.14.v20181114.jar;D:\Program Files\maven\repository\javax\websocket\javax.websocket-client-api\1.0\javax.websocket-client-api-1.0.jar;D:\Program Files\maven\repository\javax\websocket\javax.websocket-api\1.0\javax.websocket-api-1.0.jar;D:\Program Files\maven\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;D:\Program Files\maven\repository\org\nutz\nutz-plugins-websocket\1.r.67-SNAPSHOT\nutz-plugins-websocket-1.r.67-20181228.030802-39.jar;D:\Program Files\maven\repository\org\nutz\nutzboot-servlet3\2.3-SNAPSHOT\nutzboot-servlet3-2.3-20190108.025303-83.jar;D:\Program Files\maven\repository\javax\annotation\javax.annotation-api\1.2\javax.annotation-api-1.2.jar;D:\Program Files\maven\repository\org\ow2\asm\asm\6.1.1\asm-6.1.1.jar;D:\Program Files\maven\repository\org\nutz\nutzboot-starter-redis\2.3-SNAPSHOT\nutzboot-starter-redis-2.3-20190108.025336-83.jar;D:\Program Files\maven\repository\org\nutz\nutz-integration-jedis\1.r.67-SNAPSHOT\nutz-integration-jedis-1.r.67-20181228.030555-40.jar;D:\Program Files\maven\repository\redis\clients\jedis\2.9.0\jedis-2.9.0.jar;D:\Program Files\maven\repository\org\apache\commons\commons-pool2\2.4.2\commons-pool2-2.4.2.jar;D:\Program Files\maven\repository\org\apache\commons\commons-lang3\3.7\commons-lang3-3.7.jar;D:\Program Files\maven\repository\com\baidu\aip\java-sdk\4.11.0\java-sdk-4.11.0.jar;D:\Program Files\maven\repository\org\json\json\20160810\json-20160810.jar;D:\Program Files\maven\repository\io\jsonwebtoken\jjwt\0.9.0\jjwt-0.9.0.jar;D:\Program Files\maven\repository\com\fasterxml\jackson\core\jackson-databind\2.9.5\jackson-databind-2.9.5.jar;D:\Program Files\maven\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;D:\Program Files\maven\repository\com\fasterxml\jackson\core\jackson-core\2.9.5\jackson-core-2.9.5.jar;D:\Program Files\maven\repository\org\slf4j\slf4j-log4j12\1.7.25\slf4j-log4j12-1.7.25.jar;D:\Program Files\maven\repository\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\Program Files\maven\repository\junit\junit\4.12\junit-4.12.jar;D:\Program Files\maven\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;D:\Program Files\maven\repository\com\aliyun\aliyun-java-sdk-core\4.0.6\aliyun-java-sdk-core-4.0.6.jar;D:\Program Files\maven\repository\com\google\code\gson\gson\2.8.2\gson-2.8.2.jar;D:\Program Files\maven\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar;D:\Program Files\maven\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar;D:\Program Files\maven\repository\javax\xml\bind\jaxb-api\2.1\jaxb-api-2.1.jar;D:\Program Files\maven\repository\javax\xml\stream\stax-api\1.0-2\stax-api-1.0-2.jar;D:\Program Files\maven\repository\com\sun\xml\bind\jaxb-core\2.1.14\jaxb-core-2.1.14.jar;D:\Program Files\maven\repository\com\sun\xml\bind\jaxb-impl\2.1\jaxb-impl-2.1.jar;D:\Program Files\maven\repository\javax\activation\activation\1.1.1\activation-1.1.1.jar;D:\Program Files\maven\repository\com\aliyun\aliyun-java-sdk-dysmsapi\1.1.0\aliyun-java-sdk-dysmsapi-1.1.0.jar;D:\Program Files\maven\repository\net\sf\ehcache\ehcache\2.10.4\ehcache-2.10.4.jar;D:\Program Files\maven\repository\org\jdom\jdom\1.1.3\jdom-1.1.3.jar;D:\Program Files\maven\repository\org\bouncycastle\bcprov-jdk15on\1.54\bcprov-jdk15on-1.54.jar;D:\Program Files\maven\repository\commons-lang\commons-lang\2.5\commons-lang-2.5.jar;D:\Program Files\maven\repository\commons-codec\commons-codec\1.6\commons-codec-1.6.jar;D:\Program Files\maven\repository\com\alibaba\fastjson\1.2.36\fastjson-1.2.36.jar;D:\Users\13321\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\192.6262.58\lib\idea_rt.jar" cn.wizzer.app.web.commons.core.WebApiMainLauncher
Connected to the target VM, address: '127.0.0.1:56470', transport: 'socket'
[INFO ] 22:13:17.119 org.eclipse.jetty.util.log.Log.initialized(Log.java:193) - Logging initialized @2001ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO ] 22:13:18.266 org.eclipse.jetty.server.Server.doStart(Server.java:370) - jetty-9.4.14.v20181114; built: 2018-11-14T21:20:31.478Z; git: c4550056e785fb5665914545889f21dc136ad9e6; jvm 1.8.0_191-b12
[WARN ] 22:13:18.406 org.eclipse.jetty.annotations.AnnotationParser.asmVersion(AnnotationParser.java:92) - Unknown ASM version, assuming ASM7
[INFO ] 22:13:18.409 org.eclipse.jetty.annotations.AnnotationConfiguration.scanForAnnotations(AnnotationConfiguration.java:489) - Scanning elapsed time=2ms
[INFO ] 22:13:18.415 org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitServlet(StandardDescriptorProcessor.java:283) - NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
[INFO ] 22:13:18.480 org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart(DefaultSessionIdManager.java:365) - DefaultSessionIdManager workerName=node0
[INFO ] 22:13:18.480 org.eclipse.jetty.server.session.DefaultSessionIdManager.doStart(DefaultSessionIdManager.java:370) - No SessionScavenger set, using defaults
[INFO ] 22:13:18.485 org.eclipse.jetty.server.session.HouseKeeper.startScavenging(HouseKeeper.java:149) - node0 Scavenging every 600000ms
[ERROR] 22:13:19.048 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) - Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born or cast to 'javax.websocket.Session'
 by args: []
 because: No suitable Constructor or Factory Method!!
	at org.nutz.lang.Mirror.getBorning(Mirror.java:980)
	at org.nutz.mvc.adaptor.injector.ObjectPairInjector.<init>(ObjectPairInjector.java:39)
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:57)
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:221)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:160)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:81)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:46)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:22)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
	at org.eclipse.jetty.server.Server.start(Server.java:415)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:382)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:138)
	at org.nutz.boot.AppContext.startServers(AppContext.java:306)
	at org.nutz.boot.NbApp.execute(NbApp.java:206)
	at org.nutz.boot.NbApp.run(NbApp.java:178)
	at cn.wizzer.app.web.commons.core.WebApiMainLauncher.main(WebApiMainLauncher.java:29)
[ERROR] 22:13:19.051 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) - try to depose ioc
[ERROR] 22:13:19.053 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:132) - error when depose ioc
org.nutz.lang.born.BorningException: Fail to born or cast to 'javax.websocket.Session'
 by args: []
 because: No suitable Constructor or Factory Method!!
	at org.nutz.lang.Mirror.getBorning(Mirror.java:980)
	at org.nutz.mvc.adaptor.injector.ObjectPairInjector.<init>(ObjectPairInjector.java:39)
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:57)
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:221)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:160)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:81)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:46)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:22)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
	at org.eclipse.jetty.server.Server.start(Server.java:415)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:382)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:138)
	at org.nutz.boot.AppContext.startServers(AppContext.java:306)
	at org.nutz.boot.NbApp.execute(NbApp.java:206)
	at org.nutz.boot.NbApp.run(NbApp.java:178)
	at cn.wizzer.app.web.commons.core.WebApiMainLauncher.main(WebApiMainLauncher.java:29)
[WARN ] 22:13:19.075 org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:554) - Failed startup of context o.e.j.w.WebAppContext@79ab34c1{/,[file:///E:/tools/IDEA/hangzhang/NutzWk/wk-app/wk-nb-web-api/target/classes/static/],UNAVAILABLE}
org.nutz.mvc.LoadingException: org.nutz.lang.born.BorningException: Fail to born or cast to 'javax.websocket.Session'
 by args: []
 because: No suitable Constructor or Factory Method!!
	at org.nutz.mvc.LoadingException$FC$ea86c19f63d257f4e49c243bba1db3c3.invoke(LoadingException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1022)
	at org.nutz.lang.Lang.wrapThrow(Lang.java:203)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
	at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
	at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
	at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
	at org.eclipse.jetty.server.Server.start(Server.java:415)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:382)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:138)
	at org.nutz.boot.AppContext.startServers(AppContext.java:306)
	at org.nutz.boot.NbApp.execute(NbApp.java:206)
	at org.nutz.boot.NbApp.run(NbApp.java:178)
	at cn.wizzer.app.web.commons.core.WebApiMainLauncher.main(WebApiMainLauncher.java:29)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'javax.websocket.Session'
 by args: []
 because: No suitable Constructor or Factory Method!!
	at org.nutz.lang.Mirror.getBorning(Mirror.java:980)
	at org.nutz.mvc.adaptor.injector.ObjectPairInjector.<init>(ObjectPairInjector.java:39)
	at org.nutz.mvc.adaptor.PairAdaptor.evalInjectorBy(PairAdaptor.java:57)
	at org.nutz.mvc.adaptor.AbstractAdaptor.evalInjector(AbstractAdaptor.java:221)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:160)
	at org.nutz.mvc.adaptor.AbstractAdaptor.init(AbstractAdaptor.java:81)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.evalHttpAdaptor(AdaptorProcessor.java:46)
	at org.nutz.mvc.impl.processor.AdaptorProcessor.init(AdaptorProcessor.java:22)
	at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
	at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	... 29 more
[INFO ] 22:13:19.095 org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:292) - Started ServerConnector@108531c2{HTTP/1.1,[http/1.1]}{0.0.0.0:9001}
[INFO ] 22:13:19.096 org.eclipse.jetty.server.Server.doStart(Server.java:407) - Started @3980ms

2 回复

找到问题了,怎么关贴啊

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