NutzCN Logo
问答 启动 NutzWk 项目 报错 用tomcat启动的
发布于 3040天前 作者 qq_722cb381 1743 次浏览 复制 上一个帖子 下一个帖子
标签:

严重: Error configuring application listener of class org.apache.shiro.web.env.EnvironmentLoaderListener
java.lang.ClassNotFoundException: org.apache.shiro.web.env.EnvironmentLoaderListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4149)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

八月 26, 2016 11:16:00 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Skipped installing application listeners due to previous error(s)
八月 26, 2016 11:16:00 上午 org.apache.catalina.core.StandardContext start
严重: Error listenerStart

9 回复

缺jar包?shiro的jar?

来自炫酷的 NutzCN

应该不缺啊,没有报缺jar的错误,org.apache.shiro.web.env.EnvironmentLoaderListener 这个类的jar下载下来了 所以我也很奇怪为什么报ClassNotFoundException
我把jdk改成了1.7 和这个应该也没有关系吧
web.xml 文件里 这个也报错
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
是不是不能有注释,需要把注释去掉呢?

@qq_722cb381 没看到有注释,打包成war试试

来自炫酷的 NutzCN

好的 我试一下

2016-08-26 11:50:38,376 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/channel/adddo' >> CmsChannelController.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,376 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/channel/edit/?' >> CmsChannelController.edit(...) : Object | @Ok(beetl:/private/cms/channel/edit.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,378 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/channel/editdo' >> CmsChannelController.editDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,379 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/channel/sortdo' >> CmsChannelController.sortDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,379 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/add' >> UnitController.add(...) : Object | @Ok(beetl:/private/sys/unit/add.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,380 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit' >> UnitController.index(...) : Object | @Ok(beetl:/private/sys/unit/index.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,380 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/delete/?' >> UnitController.delete(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,381 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/tree' >> UnitController.tree(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,382 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/child/?' >> UnitController.child(...) : Object | @Ok(beetl:/private/sys/unit/child.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,382 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/detail/?' >> UnitController.detail(...) : Object | @Ok(beetl:/private/sys/unit/detail.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,384 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/adddo' >> UnitController.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,385 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/edit/?' >> UnitController.edit(...) : Object | @Ok(beetl:/private/sys/unit/edit.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,386 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/unit/editdo' >> UnitController.editDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,388 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/login/captcha' >> LoginController.next(...) : BufferedImage | @Ok(raw:png) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,389 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/login' >> LoginController.login(...) : String | @Ok(re ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,389 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/login/layout' >> LoginController.layout(...) : void | @Ok(json:{locked:'password|createAt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,390 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/login/logout' >> LoginController.logout(...) : void | @Ok(>>:/private/login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,390 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/login/theme' >> LoginController.theme(...) : void | @Ok(json:{locked:'password|createAt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,394 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/login/doLogin' >> LoginController.doLogin(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,395 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class/add' >> CmsLinkClassController.add(...) : void | @Ok(beetl:/private/cms/link/class/add.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,396 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class' >> CmsLinkClassController.index(...) : void | @Ok(beetl:/private/cms/link/class/index.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,396 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class/delete/?', '/private/cms/link/class/delete' >> CmsLinkClassController.delete(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,397 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class/data' >> CmsLinkClassController.data(...) : Object | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,398 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class/adddo' >> CmsLinkClassController.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,399 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class/edit/?' >> CmsLinkClassController.edit(...) : Object | @Ok(beetl:/private/cms/link/class/edit.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,400 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/cms/link/class/editdo' >> CmsLinkClassController.editDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,401 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/addNews/?' >> WxMassController.add(...) : void | @Ok(beetl:/private/wx/msg/mass/add.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,401 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/', '/private/wx/msg/mass/?' >> WxMassController.index(...) : void | @Ok(beetl:/private/wx/msg/mass/index.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,402 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/select/?' >> WxMassController.select(...) : void | @Ok(beetl:/private/wx/msg/mass/select.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,403 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/massData/', '/private/wx/msg/mass/massData/?' >> WxMassController.massData(...) : Object | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,404 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/newsData/?' >> WxMassController.newsData(...) : Object | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,404 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/deleteNews/?' >> WxMassController.deleteNews(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,405 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/newsDetail/?' >> WxMassController.newsDetail(...) : Object | @Ok(beetl:/private/wx/msg/mass/detail.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,406 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'imageUpload'<class org.nutz.mvc.upload.UploadAdaptor>
2016-08-26 11:50:38,406 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=imageUpload
2016-08-26 11:50:38,406 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=imageUpload
2016-08-26 11:50:38,406 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(imageUpload) in JsonLoader(paths=[config/ioc/])
2016-08-26 11:50:38,406 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'imageUpload'<class org.nutz.mvc.upload.UploadAdaptor>
2016-08-26 11:50:38,406 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.mvc.upload.UploadAdaptor without AOP
2016-08-26 11:50:38,407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'uploadImageContext'<>
2016-08-26 11:50:38,407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=uploadImageContext
2016-08-26 11:50:38,407 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=uploadImageContext
2016-08-26 11:50:38,407 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(uploadImageContext) in JsonLoader(paths=[config/ioc/])
2016-08-26 11:50:38,407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'uploadImageContext'<>
2016-08-26 11:50:38,407 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.mvc.upload.UploadingContext without AOP
2016-08-26 11:50:38,407 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'tmpFilePool'<>
2016-08-26 11:50:38,408 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'tmpFilePool'<>
2016-08-26 11:50:38,408 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'uploadImageContext'<>
2016-08-26 11:50:38,408 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=uploadImageContext
2016-08-26 11:50:38,408 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=uploadImageContext
2016-08-26 11:50:38,408 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(uploadImageContext) in JsonLoader(paths=[config/ioc/])
2016-08-26 11:50:38,408 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'uploadImageContext'<>
2016-08-26 11:50:38,408 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.mvc.upload.UploadingContext without AOP
2016-08-26 11:50:38,408 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'tmpFilePool'<>
2016-08-26 11:50:38,409 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'tmpFilePool'<>
2016-08-26 11:50:38,409 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/uploadThumb/?' >> WxMassController.uploadThumb(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,411 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/senddo' >> WxMassController.sendDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,412 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/sendDetail/?' >> WxMassController.sendDetail(...) : Object | @Ok(beetl:/private/wx/msg/mass/sendDetail.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,413 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/send/?' >> WxMassController.send(...) : void | @Ok(beetl:/private/wx/msg/mass/send.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,413 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/news/?' >> WxMassController.news(...) : void | @Ok(beetl:/private/wx/msg/mass/news.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,415 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/wx/msg/mass/adddo' >> WxMassController.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,416 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf/add' >> ConfController.add(...) : void | @Ok(beetl:/private/sys/conf/add.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,417 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf' >> ConfController.index(...) : void | @Ok(beetl:/private/sys/conf/index.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,417 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf/delete/?' >> ConfController.delete(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,418 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf/data' >> ConfController.data(...) : Object | @Ok(json:full) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,419 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf/adddo' >> ConfController.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,420 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf/edit/?' >> ConfController.edit(...) : Object | @Ok(beetl:/private/sys/conf/edit.html) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,421 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/private/sys/conf/editdo' >> ConfController.editDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2016-08-26 11:50:38,421 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:219) INFO - Found 242 module methods
2016-08-26 11:50:38,422 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:305) DEBUG - Localization: org.nutz.mvc.impl.NutMessageLoader('locales/') dft
2016-08-26 11:50:38,425 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 6 resource by src( locales/ ) , regex( ^.+[.]properties$ )
2016-08-26 11:50:38,425 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:27) DEBUG - Load Messages in 6 resource : [[NutResource[en_US/sys/role.properties], NutResource[en_US/sys/unit.properties], NutResource[en_US/system.properties], NutResource[zh_CN/sys/role.properties], NutResource[zh_CN/sys/unit.properties], NutResource[zh_CN/system.properties]]]
2016-08-26 11:50:38,427 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:95) DEBUG - Message Loaded, size = 3
2016-08-26 11:50:38,428 org.nutz.mvc.impl.NutLoading.createSessionProvider(NutLoading.java:412) INFO - SessionBy --> org.nutz.integration.shiro.ShiroSessionProvider@567c7386
2016-08-26 11:50:38,428 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:273) INFO - Setup application...
2016-08-26 11:50:38,428 cn.wizzer.common.core.Setup.init(Setup.java:39) WARN - This project must run in UTF-8, pls add -Dfile.encoding=UTF-8 to JAVA_OPTS
2016-08-26 11:50:38,428 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2016-08-26 11:50:38,442 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 97 resource by src( cn/wizzer/modules/ ) , regex( ^.+[.]class$ )
2016-08-26 11:50:38,665 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM sys_user
2016-08-26 11:50:38,671 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'cacheManager'<class net.sf.ehcache.CacheManager>
2016-08-26 11:50:38,671 cn.wizzer.common.core.Setup.init(Setup.java:47) DEBUG - Ehcache CacheManager = nutzwk
2016-08-26 11:50:38,677 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT * FROM sys_config
2016-08-26 11:50:38,679 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'quartzManager'<interface org.nutz.integration.quartz.QuartzManager>
2016-08-26 11:50:38,679 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=quartzManager
2016-08-26 11:50:38,679 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=quartzManager
2016-08-26 11:50:38,680 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(quartzManager) in QuartzIocLoader@810181892
2016-08-26 11:50:38,680 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'quartzManager'<interface org.nutz.integration.quartz.QuartzManager>
2016-08-26 11:50:38,682 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.integration.quartz.QuartzManagerImpl without AOP
2016-08-26 11:50:38,683 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'quartzManager' to [app]
2016-08-26 11:50:38,683 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'scheduler'<>
2016-08-26 11:50:38,683 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=scheduler
2016-08-26 11:50:38,683 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=scheduler
2016-08-26 11:50:38,683 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(scheduler) in QuartzIocLoader@810181892
2016-08-26 11:50:38,683 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'scheduler'<>
2016-08-26 11:50:38,683 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'scheduler' to [app]
2016-08-26 11:50:38,713 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1172) INFO - Using default implementation for ThreadExecutor
2016-08-26 11:50:38,727 org.quartz.core.SchedulerSignalerImpl.(SchedulerSignalerImpl.java:61) INFO - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2016-08-26 11:50:38,728 org.quartz.core.QuartzScheduler.(QuartzScheduler.java:240) INFO - Quartz Scheduler v.2.2.3 created.
2016-08-26 11:50:38,729 org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:155) INFO - RAMJobStore initialized.
2016-08-26 11:50:38,729 org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:305) INFO - Scheduler meta-data: Quartz Scheduler (v2.2.3) 'NutzwkScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 2 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2016-08-26 11:50:38,729 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1327) INFO - Quartz scheduler 'NutzwkScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2016-08-26 11:50:38,729 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1331) INFO - Quartz scheduler version: 2.2.3
2016-08-26 11:50:38,729 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'jobFactory'<>
2016-08-26 11:50:38,729 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=jobFactory
2016-08-26 11:50:38,729 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=jobFactory
2016-08-26 11:50:38,730 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(jobFactory) in QuartzIocLoader@810181892
2016-08-26 11:50:38,730 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'jobFactory'<>
2016-08-26 11:50:38,731 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
2016-08-26 11:50:38,731 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'jobFactory' to [app]
2016-08-26 11:50:38,731 org.quartz.core.QuartzScheduler.setJobFactory(QuartzScheduler.java:2311) INFO - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@33aed797
2016-08-26 11:50:38,731 org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:575) INFO - Scheduler NutzwkScheduler_$_NON_CLUSTERED started.
2016-08-26 11:50:38,732 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM sys_task
2016-08-26 11:50:38,734 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:211) DEBUG - SELECT * FROM sys_task WHERE disabled=?
| 1 |
|---|
| 0 |
For example:> "SELECT * FROM sys_task WHERE disabled=0"
2016-08-26 11:50:38,747 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM sys_route
2016-08-26 11:50:38,748 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:211) DEBUG - SELECT * FROM sys_route WHERE disabled=?
| 1 |
|---|
| 0 |
For example:> "SELECT * FROM sys_route WHERE disabled=0"
2016-08-26 11:50:38,749 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:140) INFO - Nutz.Mvc[nutz] is up in 1716ms
2016-08-26 11:50:38,750 org.nutz.mvc.NutFilter._init(NutFilter.java:113) INFO - exclusionsPrefix = ^(/apidoc/|/upload/|/druid/|/assets/)
八月 26, 2016 11:50:38 上午 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
八月 26, 2016 11:50:38 上午 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
八月 26, 2016 11:50:38 上午 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/13 config=null
八月 26, 2016 11:50:38 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3884 ms

应该是已经启动起来了 http://127.0.0.1:8888/nutzwk 报404

/private/login 入口

来自炫酷的 NutzCN

嗯嗯 可以了 谢谢大神

@Wizzercn 网址打不开呀,现在是访问 http://127.0.0.1:8888/nutzwk 直接转到 http://127.0.0.1:8888/sysadmin 报404 只能访问http://127.0.0.1:8888/nutzwk/private/login 才能跳到 登录页,可以直接访问http://127.0.0.1:8888/nutzwk就跳到登录页吧,我好像没找到像访问根目录这样的入口

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