我开始尝试使用nutz,在搭建项目框架时,遇到一个问题:
项目准备使用前后端分离开发的模式,后端使用nutz,但参照文档例子,都是新建的web项目,有web.xml的配置,如果我只是一个maven项目,应该如何配置从mainmodule启动呢?
@kerbores 能说详细一点么,我真不懂怎么弄
@wendal 兽哥,我看了源码了,但没找到如何启动的方式,能麻烦请教下吗?
@wendal 用过一个月的maven,会编译,会打包,会下载所需包,但就是不理解怎么启动nutz,哎,比较笨啊
@wendal tks
一月 02, 2018 12:37:41 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzcode' did not find a matching property.
一月 02, 2018 12:37:41 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzbook' did not find a matching property.
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.81
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Aug 11 2017 10:21:27 UTC
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.81.0
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 7
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.1
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Program Files\Java\jdk1.7.0_75\jre
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.7.0_75-b13
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\apache-tomcat7.0
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\apache-tomcat7.0
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\apache-tomcat7.0\endorsed
一月 02, 2018 12:37:41 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
一月 02, 2018 12:37:41 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: An older version 1.1.33 of the APR based Apache Tomcat Native library is installed, while Tomcat recommends a minimum version of 1.2.8
一月 02, 2018 12:37:41 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.
一月 02, 2018 12:37:41 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
一月 02, 2018 12:37:42 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
一月 02, 2018 12:37:42 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
一月 02, 2018 12:37:42 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
一月 02, 2018 12:37:42 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1443 ms
一月 02, 2018 12:37:42 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
一月 02, 2018 12:37:42 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.81
一月 02, 2018 12:37:43 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
一月 02, 2018 12:37:48 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://velocity.apache.org/velocity-view is already defined
一月 02, 2018 12:37:48 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://velocity.apache.org/velocity-view is already defined
一月 02, 2018 12:37:48 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
2018-01-02 12:37:48 WARN [localhost-startStop-1] !!You are using default SystemLog! Don't use it in Production environment!!
2018-01-02 12:37:48 INFO [localhost-startStop-1] Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2018-01-02 12:37:48 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2018-01-02 12:37:48 DEBUG [localhost-startStop-1] Locations for Scans:
[JarResourceLocation [jarPath=C:\Program Files\Java\jdk1.7.0_75\lib\tools.jar], FileSystemResourceLocation [root=E:\eclipse], JarResourceLocation [jarPath=D:\apache-tomcat7.0\bin\tomcat-juli.jar], JarResourceLocation [jarPath=D:\apache-tomcat7.0\bin\bootstrap.jar], JarResourceLocation [jarPath=E:/workspace-luna/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutzbook/WEB-INF/lib/nutz-1.b.52.jar]]
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] Locations for Scans:
[JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\spring-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\bcprov-jdk15-133.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\lucene-memory-3.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-impl-2.1.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\velocity-tools-2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-json-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\apache-solr-core-3.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\soapmonitor-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-chain-1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xercesImpl-2.8.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-java5-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-jaxb-1.1.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-corba-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mail-1.4.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-api-2.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\neethi-2.0.4.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-jibx-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-httpclient-3.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-ant-plugin-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\wsdl4j-1.6.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-saaj-api-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\slf4j-log4j12-1.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-fileupload-1.2.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\httpcore-4.0-beta1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\XmlSchema-1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-jsr181-api-1.0-M1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-jaxbri-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\ezmorph-1.0.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xml-apis-1.3.04.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-httpclient-3.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.b.52.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\IKAnalyzer.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\velocity-1.7.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\lucene-core-3.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-logging-1.1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\velocity-tools-generic-2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\dom4j-1.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-discovery-0.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-beanutils-1.7.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxws-api-2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-fileupload-1.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\activation-1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\woden-api-1.0M8.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\freemarker-2.3.20.jar], FileSystemResourceLocation [root=E:\eclipse], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\backport-util-concurrent-3.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-collections-3.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.14.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jibx-run-1.1.5.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-xmlbeans-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxen-1.1-beta-9.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\saaj-api-1.3.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\lucene-analyzers-3.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-digester-1.8.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-mtompolicy-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-lang-2.2.jar], JarResourceLocation [jarPath=C:\Program Files\Java\jdk1.7.0_75\lib\tools.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xmlsec-1.3.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-net-3.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-api-2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\quartz-2.2.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axiom-dom-1.2.7.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-java2wsdl-1.4.1.jar], JarResourceLocation [jarPath=D:\apache-tomcat7.0\bin\bootstrap.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\XmlSchema-1.4.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jdom-1.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-jaxws-api-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\quartz-jobs-2.2.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\poi-3.9.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xbean-spring-2.8.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\relaxngDatatype-20050913.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\ewebeditor-9.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jibx-bind-1.1.5.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\htmlparser-1.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-adb-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\lucene-highlighter-3.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-codegen-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-adb-codegen-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-impl-1.0.5.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\wstx-asl-3.2.4.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\ant.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\velocity-tools-view-2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xmlbeans-2.3.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-aegis-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-ws-security-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-impl-2.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-logging-1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-jws-api-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-jaxws-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\geronimo-stax-api_1.0_spec-1.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\annogen-0.1.0.jar], JarResourceLocation [jarPath=E:/workspace-luna/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutzbook/WEB-INF/lib/nutz-1.b.52.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-attributes-api-2.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\servlet-api.jar], FileSystemResourceLocation [root=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\classes], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\woden-impl-dom-1.0M8.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\ojdbc14.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\poi-ooxml-3.7-20101029.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-spring-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-clustering-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-jaxb2-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xercesImpl-2.6.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mex-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\hits.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-api-1.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\httpcore-nio-4.0-beta1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xalan-2.7.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-saaj-1.4.1.jar], JarResourceLocation [jarPath=D:\apache-tomcat7.0\bin\tomcat-juli.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\saaj-impl-1.3.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\stax-api-1.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-annotations-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axiom-api-1.2.7.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\geronimo-annotation_1.0_spec-1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-xjc-2.1.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jsr173_api-1.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-codec-1.3.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jalopy-1.5rc3.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\slf4j-api-1.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-io-1.4.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\wsdl4j-1.6.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\opensaml-1.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\sqljdbc4.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\commons-validator-1.3.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xsdlib-20050913.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-xmlbeans-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-jaxws-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-metadata-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\json-lib-2.4-jdk15.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\stax-utils-20040917.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axiom-impl-1.2.7.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\wstx-asl-3.2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jettison-1.0-RC2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxb-xjc-2.0.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xml-resolver-1.2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\jaxen-1.1.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-fastinfoset-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xml-apis-1.0.b2.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\axis2-kernel-1.4.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-generator-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xbean-2.2.0.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-spring-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\wss4j-1.5.1.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\xfire-core-1.2.6.jar], JarResourceLocation [jarPath=E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\apache-solr-solrj-3.6.1.jar]]
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] MainModule: <net.wendal.nutzbook.MainModule>
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
2018-01-02 12:37:50 INFO [localhost-startStop-1] Nutz Version : 1.b.52
2018-01-02 12:37:50 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is initializing ...
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] Web Container Information:
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - Default Charset : UTF-8
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - Current . path : E:\eclipse.
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - Java Version : 1.7.0_75
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - File separator : \
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - Timezone : Asia/Shanghai
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - OS : Windows 7 amd64
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - ServerInfo : Apache Tomcat/7.0.81
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - Servlet API : 3.0
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] - ContextPath : /nutzbook
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] MainModule: <net.wendal.nutzbook.MainModule>
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] >> app.root = E:/workspace-luna/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutzbook
2018-01-02 12:37:50 INFO [localhost-startStop-1] !!!Your application without @IocBy supporting
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] MainModule: <net.wendal.nutzbook.MainModule>
2018-01-02 12:37:50 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker)
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] module class location 'file:/E:/workspace-luna/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/nutzbook/WEB-INF/classes/'
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] > scan 'net.wendal.nutzbook'
2018-01-02 12:37:50 WARN [localhost-startStop-1] None module classes found!!!
2018-01-02 12:37:50 WARN [localhost-startStop-1] None @At found in any modules class!!
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] Found 1 resource by src( net/wendal/nutzbook/ ) , regex( ^.+[.]class$ )
2018-01-02 12:37:50 DEBUG [localhost-startStop-1] @Localization not define
2018-01-02 12:37:50 INFO [localhost-startStop-1] Nutz.Mvc[nutz] is up in 65ms
一月 02, 2018 12:37:50 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzcode\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
一月 02, 2018 12:37:53 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://velocity.apache.org/velocity-view is already defined
一月 02, 2018 12:37:54 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://velocity.apache.org/velocity-view is already defined
一月 02, 2018 12:37:54 下午 org.apache.catalina.startup.TldConfig execute
信息: 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.
ALL Nutz Log via Log4jLogAdapter
2018-01-02 12:37:54,081 [INFO][org.nutz.log.Logs] - Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2018-01-02 12:37:54,084 [INFO][org.nutz.mvc.NutFilter] - NutFilter[nutz] starting ...
2018-01-02 12:37:55,908 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz Version : 1.b.52
2018-01-02 12:37:55,908 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz.Mvc[nutz] is initializing ...
2018-01-02 12:37:56,163 [INFO][org.nutz.resource.Scans] - same resource [common/util/Test$1.class] will be override
2018-01-02 12:37:56,163 [INFO][org.nutz.resource.Scans] - same resource [common/util/Test.class] will be override
2018-01-02 12:37:56,389 [INFO][org.nutz.ioc.loader.annotation.AnnotationIocLoader] - Scan complete ! Found 25 classes in 1 base-packages!
beans = ["selfSelectFieldExcelAction", "dwzgxxAction", "unitAction", "logWriteInterceptor", "fileServerAction", "outPutExcelAction", "zdy11Action", "userLogAction", "ajaxAction", "resourceAction", "indexAction", "sys_configAction", "zdy1Action", "dwxxAction", "loginAction", "t_dmflAction", "roleAction", "bmglAction", "t_dmjAction", "userAction", "safeAction", "sys_msgAction", "fileAction", "resourceAction88", "zdyAction"]
2018-01-02 12:37:56,396 [INFO][org.nutz.mvc.impl.NutLoading] - Build URL mapping by com.hits.core.UrlMappingSet ...
2018-01-02 12:37:56,484 [INFO][org.nutz.filepool.NutFilePool] - Init file-pool by: E:\workspace-luna.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzcode\WEB-INF/temp/ [2000]
2018-01-02 12:37:56,487 [INFO][org.nutz.filepool.NutFilePool] - file-pool.cursor: 8
2018-01-02 12:37:56,545 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/list
2018-01-02 12:37:56,546 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/sort
2018-01-02 12:37:56,547 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res
2018-01-02 12:37:56,548 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/toupdate
2018-01-02 12:37:56,548 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/del
2018-01-02 12:37:56,549 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/listall
2018-01-02 12:37:56,551 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/updatesave
2018-01-02 12:37:56,552 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/toadd
2018-01-02 12:37:56,554 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/addsave
2018-01-02 12:37:56,555 [WARN][org.nutz.mvc.impl.UrlMappingImpl] - Duplicate @At mapping ? path=/private/sys/res/tosort
2018-01-02 12:37:56,621 [INFO][org.nutz.mvc.impl.NutLoading] - Found 157 module methods
2018-01-02 12:37:56,622 [INFO][org.nutz.mvc.impl.NutLoading] - Setup application...
2018-01-02 12:37:56,746 [INFO][org.nutz.mvc.impl.NutLoading] - Nutz.Mvc[nutz] is up in 836ms
一月 02, 2018 12:37:57 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
一月 02, 2018 12:37:57 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
一月 02, 2018 12:37:57 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 14375 ms
2018-01-02 12:37:58 DEBUG [http-apr-8080-exec-5] Using 91 castor for Castors
2018-01-02 12:37:58 DEBUG [http-apr-8080-exec-5] Search mapping for path=/ : NOT Action match
新建的项目 这个启动了 项目报404怎么回事?