NutzCN Logo
问答 nutzbook突然访问不了,启动一点错误也没有
发布于 1999天前 作者 qq_d6c9c504 1809 次浏览 复制 上一个帖子 下一个帖子
标签:

启动日志

SLF4J: Found binding in [jar:file:/usr/local/tomcat8/webapps/ROOT/WEB-INF/lib/nutzcn-core-3.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
21:23:29.126 INFO  (EnvironmentLoader.java:128) initEnvironment - Starting Shiro environment initialization.
21:23:31.975 INFO  (EnvironmentLoader.java:141) initEnvironment - Shiro environment initialized in 2841 ms.
21:23:34.637 ERROR (CoreMainSetup.java:56) init - log4j2 jmx will case reload memory leak! pls add -Dlog4j2.disable.jmx=true to JAVA_OPTS
04-Nov-2018 21:23:37.981 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat8/webapps/ROOT.war has finished in 16,991 ms
04-Nov-2018 21:23:38.006 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-80"]
04-Nov-2018 21:23:38.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
04-Nov-2018 21:23:38.087 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 17245 ms
04-Nov-2018 21:28:22.051 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.36
04-Nov-2018 21:28:22.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jun 9 2016 13:55:50 UTC
04-Nov-2018 21:28:22.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.36.0
04-Nov-2018 21:28:22.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
04-Nov-2018 21:28:22.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-693.2.2.el7.x86_64
04-Nov-2018 21:28:22.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
04-Nov-2018 21:28:22.054 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/Java/jre
04-Nov-2018 21:28:22.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_102-b14
04-Nov-2018 21:28:22.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
04-Nov-2018 21:28:22.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat8
04-Nov-2018 21:28:22.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat8
04-Nov-2018 21:28:22.055 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat8/conf/logging.properties
04-Nov-2018 21:28:22.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
04-Nov-2018 21:28:22.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
04-Nov-2018 21:28:22.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat8/endorsed
04-Nov-2018 21:28:22.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat8
04-Nov-2018 21:28:22.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat8
04-Nov-2018 21:28:22.056 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat8/temp
04-Nov-2018 21:28:22.057 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
04-Nov-2018 21:28:22.735 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-80"]
04-Nov-2018 21:28:22.794 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Nov-2018 21:28:22.811 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
04-Nov-2018 21:28:22.813 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
04-Nov-2018 21:28:22.826 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 2305 ms
04-Nov-2018 21:28:22.931 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
04-Nov-2018 21:28:22.931 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.36
04-Nov-2018 21:28:23.036 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/tomcat8/webapps/ROOT.war
04-Nov-2018 21:28:29.688 WARNING [localhost-startStop-1] org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments Used a wrong fragment name dummy at web.xml absolute-ordering tag!
04-Nov-2018 21:28:30.367 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/local/tomcat8/webapps/ROOT/WEB-INF/lib/log4j-slf4j-impl-2.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/tomcat8/webapps/ROOT/WEB-INF/lib/nutzcn-core-3.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
21:28:31.675 INFO  (EnvironmentLoader.java:128) initEnvironment - Starting Shiro environment initialization.
21:28:33.681 INFO  (EnvironmentLoader.java:141) initEnvironment - Shiro environment initialized in 1999 ms.
21:28:35.996 ERROR (CoreMainSetup.java:56) init - log4j2 jmx will case reload memory leak! pls add -Dlog4j2.disable.jmx=true to JAVA_OPTS
04-Nov-2018 21:28:39.395 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/tomcat8/webapps/ROOT.war has finished in 16,358 ms
04-Nov-2018 21:28:39.423 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-80"]
04-Nov-2018 21:28:39.460 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
04-Nov-2018 21:28:39.488 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 16660 ms

访问404

HTTP Status 404 - /yvr
type Status report

message /yvr

description The requested resource is not available.

Apache Tomcat/8.0.36
13 回复

日志框架冲突了,没日志出来,所以看不到报错而已

来自炫酷的 NutzCN

log4j-slf4j-impl-2.6.jar 删掉应该就出来了

来自炫酷的 NutzCN

访问还是没具体的异常

[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nutzcn-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ nutzcn-webapp ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nutzcn-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ nutzcn-webapp ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< jetty-maven-plugin:9.4.8.v20171121:run (default-cli) < test-compile @ nutzcn-webapp <<<
[INFO] 
[INFO] --- jetty-maven-plugin:9.4.8.v20171121:run (default-cli) @ nutzcn-webapp ---
[INFO] Configuring Jetty for project: nutzcn-webapp
[INFO] webAppSourceDirectory not set. Trying src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes
[INFO] Logging initialized @2654ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] Context path = /
[INFO] Tmp directory = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp
[INFO] jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
[INFO] Scanning elapsed time=102ms
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] DefaultSessionIdManager workerName=node0
[INFO] No SessionScavenger set, using defaults
[INFO] Scavenging every 600000ms
[INFO] Initializing Shiro environment
java.lang.ClassCastException: org.slf4j.helpers.NOPLogger cannot be cast to org.slf4j.spi.LocationAwareLogger
	at org.nutz.log.impl.Slf4jLogAdapter.getLogger(Slf4jLogAdapter.java:17)
	at org.nutz.log.impl.Slf4jLogAdapter.canWork(Slf4jLogAdapter.java:22)
	at org.nutz.plugin.SimplePluginManager.get(SimplePluginManager.java:32)
	at org.nutz.log.Logs.init(Logs.java:75)
	at org.nutz.log.Logs.<clinit>(Logs.java:20)
	at org.nutz.plugins.cache.serializer.DefaultJdkSerializer.<clinit>(DefaultJdkSerializer.java:14)
	at org.nutz.plugins.cache.impl.redis.RedisCacheManager.<init>(RedisCacheManager.java:35)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:181)
	at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:168)
	at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:302)
	at org.apache.shiro.config.ReflectionBuilder$InstantiationStatement.doExecute(ReflectionBuilder.java:927)
	at org.apache.shiro.config.ReflectionBuilder$Statement.execute(ReflectionBuilder.java:887)
	at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:765)
	at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260)
	at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
	at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
	at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
	at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
	at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
	at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1515)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:360)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1477)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:428)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
	at org.eclipse.jetty.server.Server.start(Server.java:418)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:385)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:461)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:327)
	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:183)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
22:07:29.749 ERROR (CoreMainSetup.java:56) init - log4j2 jmx will case reload memory leak! pls add -Dlog4j2.disable.jmx=true to JAVA_OPTS
[INFO] Started o.e.j.m.p.JettyWebAppContext@84487f4{/,file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/,AVAILABLE}{file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/}
[INFO] Started ServerConnector@7b297740{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @5256ms
[INFO] Started Jetty Server
[INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
[WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)

我上周五还能本地起来访问,我把代码恢复到上周五还是不行,应该不是代码问题。。

因为根本没启动起来

依然是日志框架有问题,清理干净,重新打包

来自炫酷的 NutzCN

好的,只是很奇怪,我晚上7点多打了war上服务器还能访问,我8点修改了个常量,我打包上去就这样了,然后本地也起不来了。。。

现在日志看,服务应该是起来的,还是访问不了

/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp "-Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3" "-Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=50681:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.3.5 jetty:run -P yvr
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building nutzcn-webapp 3.1.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> jetty-maven-plugin:9.4.8.v20171121:run (default-cli) > test-compile @ nutzcn-webapp >>>
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nutzcn-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ nutzcn-webapp ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nutzcn-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ nutzcn-webapp ---
[INFO] No sources to compile
[INFO] 
[INFO] <<< jetty-maven-plugin:9.4.8.v20171121:run (default-cli) < test-compile @ nutzcn-webapp <<<
[INFO] 
[INFO] --- jetty-maven-plugin:9.4.8.v20171121:run (default-cli) @ nutzcn-webapp ---
[INFO] Configuring Jetty for project: nutzcn-webapp
[INFO] webAppSourceDirectory not set. Trying src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes
[INFO] Logging initialized @2958ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] Context path = /
[INFO] Tmp directory = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp
[INFO] jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
[INFO] Scanning elapsed time=41ms
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[INFO] DefaultSessionIdManager workerName=node0
[INFO] No SessionScavenger set, using defaults
[INFO] Scavenging every 600000ms
[INFO] Initializing Shiro environment
java.lang.ClassCastException: org.slf4j.helpers.NOPLogger cannot be cast to org.slf4j.spi.LocationAwareLogger
	at org.nutz.log.impl.Slf4jLogAdapter.getLogger(Slf4jLogAdapter.java:17)
	at org.nutz.log.impl.Slf4jLogAdapter.canWork(Slf4jLogAdapter.java:22)
	at org.nutz.plugin.SimplePluginManager.get(SimplePluginManager.java:32)
	at org.nutz.log.Logs.init(Logs.java:75)
	at org.nutz.log.Logs.<clinit>(Logs.java:20)
	at org.nutz.plugins.cache.serializer.DefaultJdkSerializer.<clinit>(DefaultJdkSerializer.java:14)
	at org.nutz.plugins.cache.impl.redis.RedisCacheManager.<init>(RedisCacheManager.java:35)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:181)
	at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:168)
	at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:302)
	at org.apache.shiro.config.ReflectionBuilder$InstantiationStatement.doExecute(ReflectionBuilder.java:927)
	at org.apache.shiro.config.ReflectionBuilder$Statement.execute(ReflectionBuilder.java:887)
	at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:765)
	at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260)
	at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
	at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
	at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
	at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
	at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
	at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
	at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1515)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:360)
	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1477)
	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
	at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:428)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
	at org.eclipse.jetty.server.Server.start(Server.java:418)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
	at org.eclipse.jetty.server.Server.doStart(Server.java:385)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:461)
	at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:327)
	at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:183)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
18-11-04 22:38:48.839 INFO [main] Select SystemLog as Nutz.Log implement
18-11-04 22:38:49.149 INFO [main] NutFilter[nutz] starting ...
18-11-04 22:38:49.206 DEBUG [main] Locations count=3 time use 32ms
18-11-04 22:38:49.242 DEBUG [main] Locations count=7 time use 35ms
18-11-04 22:38:49.264 DEBUG [main] Loading by class org.nutz.plugins.hotplug.Hotplug
18-11-04 22:38:49.281 INFO [main] Nutz Version : 1.r.65-SNAPSHOT 
18-11-04 22:38:49.282 INFO [main] Nutz.Mvc[nutz] is initializing ...
18-11-04 22:38:49.282 DEBUG [main] Web Container Information:
18-11-04 22:38:49.282 DEBUG [main]  - Default Charset : UTF-8
18-11-04 22:38:49.282 DEBUG [main]  - Current . path  : /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/.
18-11-04 22:38:49.282 DEBUG [main]  - Java Version    : 1.8.0_161
18-11-04 22:38:49.283 DEBUG [main]  - File separator  : /
18-11-04 22:38:49.283 DEBUG [main]  - Timezone        : Asia/Shanghai
18-11-04 22:38:49.283 DEBUG [main]  - OS              : Mac OS X x86_64
18-11-04 22:38:49.284 DEBUG [main]  - ServerInfo      : jetty/9.4.8.v20171121
18-11-04 22:38:49.284 DEBUG [main]  - Servlet API     : 3.1
18-11-04 22:38:49.284 DEBUG [main]  - ContextPath     : 
18-11-04 22:38:49.285 DEBUG [main]  - context.tempdir : /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/tmp
18-11-04 22:38:49.285 DEBUG [main]  - MainModule      : net.wendal.nutzbook.web.MainModule
18-11-04 22:38:49.286 DEBUG [main] >> app.root = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp
18-11-04 22:38:49.322 DEBUG [main] Using 95 castor for Castors
18-11-04 22:38:49.322 DEBUG [main] @IocBy(type=class org.nutz.ioc.loader.combo.ComboIocLoader, args=["*js", "ioc/", "*quartz", "*async", "128", "*tx", "*jedis", "*slog", "*hotplug"],init=[])
18-11-04 22:38:49.339 DEBUG [main] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.339 DEBUG [main] loading [mail.js]
18-11-04 22:38:49.340 DEBUG [main] Loaded 2 bean define from path=[ioc/] --> [htmlEmail, emailAuthenticator]
18-11-04 22:38:49.342 DEBUG [main] found quartz -- org.nutz.integration.quartz.QuartzIocLoader
18-11-04 22:38:49.345 DEBUG [main] Loaded 0 bean define from path=[] --> []
18-11-04 22:38:49.372 DEBUG [main] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
18-11-04 22:38:49.379 DEBUG [main] found jedis -- org.nutz.integration.jedis.JedisIocLoader
18-11-04 22:38:49.388 DEBUG [main] Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.563 DEBUG [main] loading [org/nutz/integration/jedis/jedis.js]
18-11-04 22:38:49.564 DEBUG [main] Loaded 9 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [redisService, jedisCluster, jedisClusterNodes, jedisClusterWrapper, pubSubService, jedisPoolConfig, jedisPool, jedisAgent, redis]
18-11-04 22:38:49.566 DEBUG [main] found slog -- org.nutz.plugins.slog.SlogIocLoader
18-11-04 22:38:49.568 DEBUG [main] Found 1 resource by src( org/nutz/plugins/slog/slog.js ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.568 DEBUG [main] loading [org/nutz/plugins/slog/slog.js]
18-11-04 22:38:49.569 DEBUG [main] Loaded 2 bean define from path=[org/nutz/plugins/slog/slog.js] --> [slogService, $aop_slog]
18-11-04 22:38:49.569 DEBUG [main] found hotplug -- org.nutz.plugins.hotplug.HotplugIocLoader
18-11-04 22:38:49.574 INFO [main] ... NutIoc init complete
18-11-04 22:38:49.574 DEBUG [main] Save object 'hotplug' to [app] 
18-11-04 22:38:49.584 INFO [main] Build URL mapping by org.nutz.plugins.apidoc.ApidocUrlMapping ...
18-11-04 22:38:49.595 DEBUG [main] beetl init ....
18-11-04 22:38:49.605 DEBUG [main] found beetl.properties, loading ...
18-11-04 22:38:49.605 DEBUG [main] no custom DIRECT_BYTE_OUTPUT found , set to true
18-11-04 22:38:49.664 DEBUG [lcache.pubsub] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:49.667 DEBUG [lcache.pubsub] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.670 DEBUG [lcache.pubsub] 	 >> Load definition name=$aop_async
18-11-04 22:38:49.677 DEBUG [lcache.pubsub] Found IocObject($aop_async) in AsyncAopIocLoader@164362159
18-11-04 22:38:49.680 DEBUG [lcache.pubsub] 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.700 DEBUG [main] beetl init complete
18-11-04 22:38:49.708 DEBUG [main] @Views(BeetlViewMaker.class,PdfViewMaker.class,DefaultViewMaker.class)
18-11-04 22:38:49.714 DEBUG [main] Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.716 DEBUG [lcache.pubsub] Save object '$aop_async' to [app] 
18-11-04 22:38:49.716 DEBUG [main] ActionChain Config:
{
   "default": {
      "ps": ["net.wendal.nutzbook.yvr.processor.AttackProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "org.nutz.integration.shiro.NutShiroProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
      "error": "org.nutz.mvc.impl.processor.FailProcessor"
   }
}
18-11-04 22:38:49.716 DEBUG [main] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
18-11-04 22:38:49.720 DEBUG [lcache.pubsub] Get '$aop_slog'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.721 DEBUG [lcache.pubsub] 	 >> Load definition name=$aop_slog
18-11-04 22:38:49.721 DEBUG [lcache.pubsub] Found IocObject($aop_slog) in JsonLoader(paths=[org/nutz/plugins/slog/slog.js])
18-11-04 22:38:49.721 DEBUG [lcache.pubsub] 	 >> Make...'$aop_slog'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.722 DEBUG [lcache.pubsub] Save object '$aop_slog' to [app] 
18-11-04 22:38:49.722 DEBUG [main] module class location 'file:/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/'
18-11-04 22:38:49.724 DEBUG [main]  > Found @At : 'net.wendal.nutzbook.web.MainModule'
18-11-04 22:38:49.724 DEBUG [main] Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
18-11-04 22:38:49.724 DEBUG [lcache.pubsub] Load AopConfigure for anno=org.nutz.plugins.slog.annotation.Slog by type=org.nutz.plugins.slog.aop.SlogAopConfigration
18-11-04 22:38:49.725 DEBUG [lcache.pubsub] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
18-11-04 22:38:49.725 DEBUG [lcache.pubsub] 	 >> Load definition name=conf
18-11-04 22:38:49.734 INFO [main] Create Module obj without Ioc --> class net.wendal.nutzbook.web.MainModule
18-11-04 22:38:49.756 DEBUG [main]    '/test'                     >> (MainModule.java:48).test             : void       | @Ok(json:full) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.758 INFO [main] Found 1 module methods
18-11-04 22:38:49.758 DEBUG [main] Localization: org.nutz.mvc.impl.NutMessageLoader('msg/')  dft<zh-CN>
18-11-04 22:38:49.761 DEBUG [main] Found 5 resource by src( msg/ ) , regex( ^.+[.]properties$ )
18-11-04 22:38:49.761 DEBUG [main] Load Messages in 5 resource : [[File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/index.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/language_tag.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/admin_menu.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/authority.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/user.properties]]]
18-11-04 22:38:49.763 DEBUG [main] Message Loaded, size = 2
18-11-04 22:38:49.764 INFO [main] SessionBy --> org.nutz.integration.shiro.ShiroSessionProvider@234c5e41
18-11-04 22:38:49.764 INFO [main] Setup application...
18-11-04 22:38:49.765 DEBUG [main] Get 'hotplug'<class org.nutz.plugins.hotplug.Hotplug>
18-11-04 22:38:49.766 DEBUG [main] Found 1 resource by src( hotplug/ ) , regex( .+.(js|json)$ )
18-11-04 22:38:49.766 DEBUG [main] Check hotplug.nutzcn.core.json
18-11-04 22:38:49.774 DEBUG [main] Found name=core base=net.wendal.nutzbook.core
18-11-04 22:38:49.775 DEBUG [main] init hotplug name=core
18-11-04 22:38:49.776 INFO [main]  > scan 'net.wendal.nutzbook.core'
18-11-04 22:38:49.777 DEBUG [main] Found 19 resource by src( net/wendal/nutzbook/core/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:49.783 INFO [main]    > add 'todayYYYYMMDDJob                        ' - net.wendal.nutzbook.core.quartz.job.TodayYYYYMMDDJob
18-11-04 22:38:49.784 INFO [main]    > add 'coreIocBeanFactory                      ' - net.wendal.nutzbook.core.ioc.CoreIocBeanFactory
18-11-04 22:38:49.789 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.getDataSource(...) define as name=dataSource
18-11-04 22:38:49.790 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.getCacheManager(...) define as name=cacheManager
18-11-04 22:38:49.790 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.buildConfigure(...) define as name=conf
18-11-04 22:38:49.790 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.getDao(...) define as name=dao
18-11-04 22:38:49.791 INFO [main]    > add 'jvmJsService                            ' - net.wendal.nutzbook.core.service.impl.JvmJsServiceImpl
18-11-04 22:38:49.794 INFO [main]    > add 'userService                             ' - net.wendal.nutzbook.core.service.impl.UserServiceImpl
18-11-04 22:38:49.802 INFO [main]    > add 'emailService                            ' - net.wendal.nutzbook.core.service.impl.EmailServiceImpl
18-11-04 22:38:49.809 INFO [main]    > add 'pageModule                              ' - net.wendal.nutzbook.core.module.PageModule
18-11-04 22:38:49.810 INFO [main]    > add 'captchaModule                           ' - net.wendal.nutzbook.core.module.CaptchaModule
18-11-04 22:38:49.813 INFO [main]    > add 'userModule                              ' - net.wendal.nutzbook.core.module.UserModule
18-11-04 22:38:49.821 INFO [main] Build URL mapping by org.nutz.plugins.apidoc.ApidocUrlMapping ...
18-11-04 22:38:49.822 DEBUG [main] module class location 'file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar'
18-11-04 22:38:49.822 DEBUG [main]  > scan 'net.wendal.nutzbook.core'
18-11-04 22:38:49.823 DEBUG [main] Found 19 resource by src( net/wendal/nutzbook/core/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:49.830 DEBUG [lcache.pubsub] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:49.830 DEBUG [lcache.pubsub] 	 >> Load definition name=conf
18-11-04 22:38:49.831 DEBUG [lcache.pubsub] Found IocObject(conf) in HotplugIocLoader@1057847646
18-11-04 22:38:49.831 DEBUG [lcache.pubsub] 	 >> Make...'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:49.831 DEBUG [lcache.pubsub] Save object 'conf' to [app] 
18-11-04 22:38:49.836 DEBUG [lcache.pubsub] Load class org.nutz.ioc.impl.PropertiesProxy without AOP
18-11-04 22:38:49.837 DEBUG [lcache.pubsub] Get 'coreIocBeanFactory'<>
18-11-04 22:38:49.837 DEBUG [main]    >> add 'net.wendal.nutzbook.core.module.PageModule'
18-11-04 22:38:49.837 DEBUG [lcache.pubsub] 	 >> Load definition name=coreIocBeanFactory
18-11-04 22:38:49.839 DEBUG [lcache.pubsub] Found IocObject(coreIocBeanFactory) in HotplugIocLoader@1057847646
18-11-04 22:38:49.839 DEBUG [main]    >> add 'net.wendal.nutzbook.core.module.CaptchaModule'
18-11-04 22:38:49.839 DEBUG [lcache.pubsub] 	 >> Make...'coreIocBeanFactory'<>
18-11-04 22:38:49.840 DEBUG [main]    >> add 'net.wendal.nutzbook.core.module.UserModule'
18-11-04 22:38:49.840 DEBUG [lcache.pubsub] Save object 'coreIocBeanFactory' to [app] 
18-11-04 22:38:49.840 DEBUG [main] Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
18-11-04 22:38:49.841 DEBUG [lcache.pubsub] Load class net.wendal.nutzbook.core.ioc.CoreIocBeanFactory without AOP
18-11-04 22:38:49.856 DEBUG [lcache.pubsub] Found 6 resource by src( custom/ ) , regex( ^.+[.]properties$ )
18-11-04 22:38:49.857 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/redis.properties
18-11-04 22:38:49.859 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/mail.properties
18-11-04 22:38:49.860 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/website.properties
18-11-04 22:38:49.860 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/topic.properties
18-11-04 22:38:49.860 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/db.properties
18-11-04 22:38:49.861 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/cron.properties
18-11-04 22:38:49.862 INFO [lcache.pubsub] JedisAgent is Ready ...
18-11-04 22:38:49.863 DEBUG [lcache.pubsub] psubscribe LCache:*
18-11-04 22:38:49.864 DEBUG [main]    '/', '/index'               >> (PageModule.java:22).index            : String     | @Ok(->:${obj}) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.864 DEBUG [lcache.pubsub] Get 'jedisPool'<class redis.clients.util.Pool>
18-11-04 22:38:49.865 DEBUG [lcache.pubsub] 	 >> Load definition name=jedisPool
18-11-04 22:38:49.868 DEBUG [lcache.pubsub] Found IocObject(jedisPool) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
18-11-04 22:38:49.869 DEBUG [main]    '/user/login'               >> (PageModule.java:30).login            : String     | @Ok(->:${obj}) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.869 DEBUG [lcache.pubsub] 	 >> Make...'jedisPool'<class redis.clients.util.Pool>
18-11-04 22:38:49.870 DEBUG [lcache.pubsub] Save object 'jedisPool' to [app] 
18-11-04 22:38:49.885 DEBUG [main]    '/captcha/next'             >> (CaptchaModule.java:25).next          : BufferedImage | @Ok(raw:png) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.891 DEBUG [lcache.pubsub] Get 'jedisPoolConfig'<>
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] 	 >> Load definition name=jedisPoolConfig
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] Found IocObject(jedisPoolConfig) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] 	 >> Make...'jedisPoolConfig'<>
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] Save object 'jedisPoolConfig' to [app] 
18-11-04 22:38:49.893 DEBUG [lcache.pubsub] Load class redis.clients.jedis.JedisPoolConfig without AOP
18-11-04 22:38:49.923 DEBUG [main]    '/user/login'               >> (UserModule.java:34).login            : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.925 INFO [main] Found 4 module methods
18-11-04 22:38:49.957 DEBUG [main] Get 'dao'<interface org.nutz.dao.Dao>
18-11-04 22:38:49.957 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.956 ERROR [main] log4j2 jmx will case reload memory leak! pls add -Dlog4j2.disable.jmx=true to JAVA_OPTS
18-11-04 22:38:49.959 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.959 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.960 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.960 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.960 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.961 DEBUG [lcache.pubsub] Load class redis.clients.jedis.JedisPool without AOP
18-11-04 22:38:49.962 DEBUG [lcache.pubsub] Get 'jedisPoolConfig'<>
18-11-04 22:38:49.962 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.962 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.963 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.963 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.963 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:50.149 DEBUG [main] 	 >> Load definition name=dao
18-11-04 22:38:50.149 DEBUG [main] Found IocObject(dao) in HotplugIocLoader@1057847646
18-11-04 22:38:50.149 DEBUG [main] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
18-11-04 22:38:50.149 DEBUG [main] Save object 'dao' to [app] 
18-11-04 22:38:50.151 DEBUG [main] Get 'dataSource'<interface javax.sql.DataSource>
18-11-04 22:38:50.151 DEBUG [main] 	 >> Load definition name=dataSource
18-11-04 22:38:50.151 DEBUG [main] Found IocObject(dataSource) in HotplugIocLoader@1057847646
18-11-04 22:38:50.151 DEBUG [main] 	 >> Make...'dataSource'<interface javax.sql.DataSource>
18-11-04 22:38:50.151 DEBUG [main] Save object 'dataSource' to [app] 
18-11-04 22:38:50.151 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.171 DEBUG [main] Load class com.alibaba.druid.pool.DruidDataSource without AOP
18-11-04 22:38:50.171 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.171 DEBUG [main] Get 'coreIocBeanFactory'<>
18-11-04 22:38:50.325 DEBUG [main] Get 'cacheManager'<class net.sf.ehcache.CacheManager>
18-11-04 22:38:50.325 DEBUG [main] 	 >> Load definition name=cacheManager
18-11-04 22:38:50.325 DEBUG [main] Found IocObject(cacheManager) in HotplugIocLoader@1057847646
18-11-04 22:38:50.325 DEBUG [main] 	 >> Make...'cacheManager'<class net.sf.ehcache.CacheManager>
18-11-04 22:38:50.325 DEBUG [main] Save object 'cacheManager' to [app] 
18-11-04 22:38:50.326 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.326 DEBUG [main] Load class net.sf.ehcache.CacheManager without AOP
18-11-04 22:38:50.327 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.327 DEBUG [main] Get 'coreIocBeanFactory'<>
18-11-04 22:38:50.327 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.327 DEBUG [main] Get 'dataSource'<interface javax.sql.DataSource>
18-11-04 22:38:50.327 DEBUG [main] Get 'cacheManager'<class net.sf.ehcache.CacheManager>
18-11-04 22:38:50.327 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.327 DEBUG [main] Get 'coreIocBeanFactory'<>
18-11-04 22:38:50.512 DEBUG [main] Jdbcs init complete
18-11-04 22:38:50.512 INFO [main] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
Sun Nov 04 22:38:50 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
18-11-04 22:38:50.769 DEBUG [main] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
18-11-04 22:38:50.774 DEBUG [main] JDBC Driver --> mysql-connector-java-5.1.41 ( Revision: 83c6dc41b96809df81444362933043b20a1d49d5 )
18-11-04 22:38:50.774 DEBUG [main] JDBC Name   --> MySQL Connector Java
18-11-04 22:38:50.774 DEBUG [main] JDBC URL    --> jdbc:mysql://127.0.0.1:3306/website
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_client=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_connection=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_database=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_filesystem=binary
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_results=
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_server=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_system=utf8
18-11-04 22:38:50.851 DEBUG [main] Mysql : character_sets_dir=/usr/local/mysql-5.7.21-macos10.13-x86_64/share/charsets/
18-11-04 22:38:50.853 DEBUG [main] Mysql : binlog_format=ROW
18-11-04 22:38:50.854 DEBUG [main] Mysql : database=website
18-11-04 22:38:50.855 DEBUG [main] Mysql : user=root@localhost
18-11-04 22:38:50.907 DEBUG [main] Database info --> MYSQL:[MySQL - 5.7.21]
18-11-04 22:38:50.912 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.912 DEBUG [main] Get 'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
18-11-04 22:38:50.912 DEBUG [main] 	 >> Load definition name=jedisAgent
18-11-04 22:38:50.913 DEBUG [main] Found IocObject(jedisAgent) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
18-11-04 22:38:50.913 DEBUG [main] 	 >> Make...'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
18-11-04 22:38:50.913 DEBUG [main] Save object 'jedisAgent' to [app] 
18-11-04 22:38:50.913 DEBUG [main] Load class org.nutz.integration.jedis.JedisAgent without AOP
18-11-04 22:38:50.917 DEBUG [main] Get 'conf'<>
18-11-04 22:38:50.919 DEBUG [main] Found 19 resource by src( net/wendal/nutzbook/core/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:50.953 DEBUG [main] Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
18-11-04 22:38:50.953 DEBUG [main] 	 >> Load definition name=nutQuartzCronJobFactory
18-11-04 22:38:50.954 DEBUG [main] Found IocObject(nutQuartzCronJobFactory) in JsonLoader(paths=[])
18-11-04 22:38:50.954 DEBUG [main] 	 >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
18-11-04 22:38:50.954 DEBUG [main] Save object 'nutQuartzCronJobFactory' to [app] 
18-11-04 22:38:50.955 DEBUG [main] Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
18-11-04 22:38:50.956 DEBUG [main] Get 'scheduler'<>
18-11-04 22:38:50.956 DEBUG [main] 	 >> Load definition name=scheduler
18-11-04 22:38:50.957 DEBUG [main] Found IocObject(scheduler) in JsonLoader(paths=[])
18-11-04 22:38:50.957 DEBUG [main] 	 >> Make...'scheduler'<>
18-11-04 22:38:50.957 DEBUG [main] Save object 'scheduler' to [app] 
18-11-04 22:38:51.007 DEBUG [main] Get 'jobFactory'<>
18-11-04 22:38:51.008 DEBUG [main] 	 >> Load definition name=jobFactory
18-11-04 22:38:51.008 DEBUG [main] Found IocObject(jobFactory) in JsonLoader(paths=[])
18-11-04 22:38:51.008 DEBUG [main] 	 >> Make...'jobFactory'<>
18-11-04 22:38:51.008 DEBUG [main] Save object 'jobFactory' to [app] 
18-11-04 22:38:51.008 DEBUG [main] Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
18-11-04 22:38:51.133 DEBUG [main] Get 'conf'<>
18-11-04 22:38:51.134 DEBUG [main] found cron job packages = net.wendal.nutzbook.core.quartz.job
18-11-04 22:38:51.135 DEBUG [main] Found 1 resource by src( net/wendal/nutzbook/core/quartz/job/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:51.135 DEBUG [main] job define name=net.wendal.nutzbook.core.quartz.job.TodayYYYYMMDDJob cron=0 0 * * * ?
18-11-04 22:38:51.146 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:51.146 DEBUG [main] check hotplug.localdir : /var/lib/hotplug
18-11-04 22:38:51.147 INFO [main] Nutz.Mvc[nutz] is up in 1862ms
18-11-04 22:38:51.147 INFO [main] exclusionsPrefix  = ^(/rs/|/druid/)
[INFO] Started o.e.j.m.p.JettyWebAppContext@84487f4{/,file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/,AVAILABLE}{file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/}
[INFO] Started ServerConnector@1cd6b1bd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @6359ms
[INFO] Started Jetty Server
[INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
[WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)
18-11-04 22:39:36.666 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.682 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.684 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.685 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.686 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.689 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.690 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.691 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.692 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.695 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.695 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.697 DEBUG [qtp1035363280-17] SET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.700 DEBUG [qtp1035363280-17] fire channel=LCache:shiro-activeSessionCache msg=3uhch74e2ih1ro1us07s9b7nls:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.700 DEBUG [lcache.pubsub] channel=LCache:shiro-activeSessionCache, msg=3uhch74e2ih1ro1us07s9b7nls:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.701 DEBUG [qtp1035363280-17] Found mapping at hotplug(core) for [GET] path=/ : PageModule.index(PageModule.java:22)
18-11-04 22:39:36.714 DEBUG [qtp1035363280-17] Get 'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
18-11-04 22:39:36.714 DEBUG [qtp1035363280-17] Get 'dao'<interface org.nutz.dao.Dao>
18-11-04 22:39:36.714 DEBUG [qtp1035363280-17] Get 'jedisPool'<class redis.clients.util.Pool>
18-11-04 22:39:37.394 DEBUG [qtp1035363280-15] Found mapping at hotplug(core) for [GET] path=/ : PageModule.index(PageModule.java:22)
18-11-04 22:39:37.568 DEBUG [qtp1035363280-15] Found mapping at hotplug(core) for [GET] path=/ : PageModule.index(PageModule.java:22)
18-11-04 22:39:45.133 DEBUG [qtp1035363280-15] Search mapping for [GET] path=/yvr/list/movie : NOT Action match
18-11-04 22:39:46.267 DEBUG [qtp1035363280-14] Search mapping for [GET] path=/yvr/list/movie : NOT Action match

profile没选yvr吧, 日志里面一个yvr都没有

多选上了,以前也是这样选的,一年多了,突然比较诡异了

我一直用jetty跑的,我在配置里面还加了yvr模块

我在tomcat下运行,解压开的文件夹 net 目录下yvr代码,和templet 下有yvr页面。说明打进去了

我依然觉得是编译问题咯...

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