NutzCN Logo
问答 nutzbook的index.jsp页面
发布于 204天前 作者 binfoo 166 次浏览 复制 上一个帖子 下一个帖子
标签: nutzbook

访问地址:http://localhost:8080/nutzbook/
提交用户名密码:Connection error

查看日志:2017-1-6 14:36:28.637 DEBUG [http-apr-8080-exec-1] Search mapping for path=/${base}/user/login : NOT Action match

问题应该出在jsp页面:关于base的定义,求教怎么改

var me = '<%=session.getAttribute("me") %>';
var base = '${base}';
$(function () {
$("#login_button").click(function () {
$.ajax({
url: base + "/user/login",

14 回复

那是el表达式.

tomcat版本太低了?请按书上的描述下载tomcat

用的tomcat 8

@binfoo 贴启动日志看看

E:\apache-tomcat-8.0.32\bin\catalina.bat run
[2017-01-06 02:47:03,052] Artifact nutzbook:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE:   "C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3"
Using CATALINA_HOME:   "E:\apache-tomcat-8.0.32"
Using CATALINA_TMPDIR: "C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_73"
Using CLASSPATH:       "E:\apache-tomcat-8.0.32\bin\bootstrap.jar;E:\apache-tomcat-8.0.32\bin\tomcat-juli.jar"
06-Jan-2017 14:47:03.852 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.32
06-Jan-2017 14:47:03.854 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 2 2016 19:34:53 UTC
06-Jan-2017 14:47:03.854 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.32.0
06-Jan-2017 14:47:03.854 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 10
06-Jan-2017 14:47:03.854 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.0
06-Jan-2017 14:47:03.855 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
06-Jan-2017 14:47:03.855 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Program Files\Java\jdk1.8.0_73\jre
06-Jan-2017 14:47:03.855 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_73-b02
06-Jan-2017 14:47:03.855 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
06-Jan-2017 14:47:03.855 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3
06-Jan-2017 14:47:03.855 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         E:\apache-tomcat-8.0.32
06-Jan-2017 14:47:03.856 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
06-Jan-2017 14:47:03.857 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
06-Jan-2017 14:47:03.857 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
06-Jan-2017 14:47:03.857 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
06-Jan-2017 14:47:03.857 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3\conf\logging.properties
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=E:\apache-tomcat-8.0.32\endorsed
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\apache-tomcat-8.0.32
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3\temp
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.4 using APR version 1.5.1.
06-Jan-2017 14:47:03.858 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
06-Jan-2017 14:47:04.469 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2e 3 Dec 2015)
06-Jan-2017 14:47:04.692 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"]
06-Jan-2017 14:47:04.698 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-apr-8009"]
06-Jan-2017 14:47:04.699 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1130 ms
06-Jan-2017 14:47:04.714 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
06-Jan-2017 14:47:04.714 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32
06-Jan-2017 14:47:04.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"]
06-Jan-2017 14:47:04.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"]
06-Jan-2017 14:47:04.765 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 65 ms
Connected to server
[2017-01-06 02:47:04,808] Artifact nutzbook:war exploded: Artifact is being deployed, please wait...
06-Jan-2017 14:47:05.745 INFO [RMI TCP Connection(3)-127.0.0.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.
2017-1-6 14:47:5.805 WARN [RMI TCP Connection(3)-127.0.0.1] !!You are using default SystemLog! Don't use it in Production environment!!
2017-1-6 14:47:5.811 INFO [RMI TCP Connection(3)-127.0.0.1] NutFilter[nutz] starting ...
2017-1-6 14:47:5.897 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
[Dir[path=E:\apache-tomcat-8.0.32\bin], Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.59.jar], Jar[path=E:\apache-tomcat-8.0.32\bin\bootstrap.jar], Jar[path=E:\apache-tomcat-8.0.32\bin\tomcat-juli.jar]]
2017-1-6 14:47:6.248 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
{E:\apache-tomcat-8.0.32\bin=Dir[path=E:\apache-tomcat-8.0.32\bin], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\nutz-1.r.59.jar], E:\apache-tomcat-8.0.32\bin\bootstrap.jar=Jar[path=E:\apache-tomcat-8.0.32\bin\bootstrap.jar], E:\apache-tomcat-8.0.32\bin\tomcat-juli.jar=Jar[path=E:\apache-tomcat-8.0.32\bin\tomcat-juli.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\classes=Dir[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\classes], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\slf4j-api-1.6.6.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\slf4j-api-1.6.6.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\commons-email-1.1.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\commons-email-1.1.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\quartz-2.2.1.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\quartz-2.2.1.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\mail-1.4.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\mail-1.4.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.38.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\mysql-connector-java-5.1.38.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\druid-1.0.20.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\druid-1.0.20.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\javax.servlet-api-3.0.1.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\javax.servlet-api-3.0.1.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\activation-1.1.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\activation-1.1.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-quartz-1.r.59.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\nutz-integration-quartz-1.r.59.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\c3p0-0.9.1.1.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\c3p0-0.9.1.1.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\jsp-api-2.0.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\jsp-api-2.0.jar], G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.4.jar=Jar[path=G:\Idea\nutzbook\target\nutzbook\WEB-INF\lib\servlet-api-2.4.jar]}
2017-1-6 14:47:6.303 DEBUG [RMI TCP Connection(3)-127.0.0.1] Using 94 castor for Castors
2017-1-6 14:47:6.311 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading by class org.nutz.mvc.impl.NutLoading
2017-1-6 14:47:6.313 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz Version : 1.r.59 
2017-1-6 14:47:6.313 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is initializing ...
2017-1-6 14:47:6.313 DEBUG [RMI TCP Connection(3)-127.0.0.1] Web Container Information:
2017-1-6 14:47:6.315 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Default Charset : GBK
2017-1-6 14:47:6.315 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Current . path  : E:\apache-tomcat-8.0.32\bin\.
2017-1-6 14:47:6.315 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Java Version    : 1.8.0_73
2017-1-6 14:47:6.316 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - File separator  : \
2017-1-6 14:47:6.316 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Timezone        : Asia/Shanghai
2017-1-6 14:47:6.316 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - OS              : Windows 10 amd64
2017-1-6 14:47:6.316 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ServerInfo      : Apache Tomcat/8.0.32
2017-1-6 14:47:6.317 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 3.1
2017-1-6 14:47:6.317 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : /nutzbook
2017-1-6 14:47:6.317 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\dell\.IntelliJIdea2016.1\system\tomcat\Unnamed_nutzbook_3\work\Catalina\localhost\nutzbook
2017-1-6 14:47:6.317 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - MainModule      : com.binfoo.www.MainModule
2017-1-6 14:47:6.319 DEBUG [RMI TCP Connection(3)-127.0.0.1] >> app.root = G:/Idea/nutzbook/target/nutzbook
2017-1-6 14:47:6.322 DEBUG [RMI TCP Connection(3)-127.0.0.1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.binfoo.www", "*tx", "*async"],init=[])
2017-1-6 14:47:6.344 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-1-6 14:47:6.345 DEBUG [RMI TCP Connection(3)-127.0.0.1] loading ioc js config from [dao.js]
2017-1-6 14:47:6.350 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017-1-6 14:47:6.352 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 4 resource by src( com/binfoo/www/ ) , regex( ^.+[.]class$ )
2017-1-6 14:47:6.363 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.binfoo.www.module.UserModule
2017-1-6 14:47:6.368 INFO [RMI TCP Connection(3)-127.0.0.1] Found 1 classes in 1 base-packages!
beans = ["userModule"]
2017-1-6 14:47:6.384 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-1-6 14:47:6.386 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2017-1-6 14:47:6.388 INFO [RMI TCP Connection(3)-127.0.0.1] NutIoc init begin ...
2017-1-6 14:47:6.390 INFO [RMI TCP Connection(3)-127.0.0.1] ... NutIoc init complete
2017-1-6 14:47:6.393 INFO [RMI TCP Connection(3)-127.0.0.1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-1-6 14:47:6.395 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Views(DefaultViewMaker.class)
2017-1-6 14:47:6.399 DEBUG [RMI TCP Connection(3)-127.0.0.1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-1-6 14:47:6.404 DEBUG [RMI TCP Connection(3)-127.0.0.1] module class location 'file:/G:/Idea/nutzbook/target/nutzbook/WEB-INF/classes/'
2017-1-6 14:47:6.404 DEBUG [RMI TCP Connection(3)-127.0.0.1]  > scan 'com.binfoo.www'
2017-1-6 14:47:6.406 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 4 resource by src( com/binfoo/www/ ) , regex( ^.+[.]class$ )
2017-1-6 14:47:6.406 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.binfoo.www.module.UserModule'
2017-1-6 14:47:6.411 INFO [RMI TCP Connection(3)-127.0.0.1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-1-6 14:47:6.415 INFO [RMI TCP Connection(3)-127.0.0.1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-1-6 14:47:6.425 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/user/count'               >> (UserModule.java:26).count            : int        | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-1-6 14:47:6.430 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/user/logout'              >> (UserModule.java:43).logout           : void       | @Ok(>>:/ ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-1-6 14:47:6.433 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/user/login'               >> (UserModule.java:31).login            : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-1-6 14:47:6.433 INFO [RMI TCP Connection(3)-127.0.0.1] Found 3 module methods
2017-1-6 14:47:6.433 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Localization not define
2017-1-6 14:47:6.434 INFO [RMI TCP Connection(3)-127.0.0.1] Setup application...
2017-1-6 14:47:6.434 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dao'<interface org.nutz.dao.Dao>
2017-1-6 14:47:6.434 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-1-6 14:47:6.435 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=$aop_async
2017-1-6 14:47:6.437 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject($aop_async) in AsyncAopIocLoader@703111033
2017-1-6 14:47:6.437 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-1-6 14:47:6.438 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object '$aop_async' to [app] 
2017-1-6 14:47:6.443 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-1-6 14:47:6.443 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dao
2017-1-6 14:47:6.443 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=dao
2017-1-6 14:47:6.445 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-1-6 14:47:6.446 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2017-1-6 14:47:6.488 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load class org.nutz.dao.impl.NutDao without AOP
2017-1-6 14:47:6.488 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object 'dao' to [app] 
2017-1-6 14:47:6.489 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dataSource'<>
2017-1-6 14:47:6.490 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dataSource
2017-1-6 14:47:6.490 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=dataSource
2017-1-6 14:47:6.510 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-1-6 14:47:6.511 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'dataSource'<>
2017-1-6 14:47:6.586 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017-1-6 14:47:6.586 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object 'dataSource' to [app] 
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.
06-Jan-2017 14:47:06.682 INFO [RMI TCP Connection(3)-127.0.0.1] com.alibaba.druid.pool.DruidDataSource.info {dataSource-1} inited
2017-1-6 14:47:6.683 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dataSource'<>
2017-1-6 14:47:6.690 DEBUG [RMI TCP Connection(3)-127.0.0.1] NutDao[_selfId=0] init ...
2017-1-6 14:47:6.749 INFO [RMI TCP Connection(3)-127.0.0.1] Init file-pool by: C:\Users\dell/.nutz/tmp/dao/ [200000]
2017-1-6 14:47:6.749 DEBUG [RMI TCP Connection(3)-127.0.0.1] file-pool.home: 'C:\Users\dell\.nutz\tmp\dao'
2017-1-6 14:47:6.750 INFO [RMI TCP Connection(3)-127.0.0.1] file-pool.cursor: 0
2017-1-6 14:47:6.757 DEBUG [RMI TCP Connection(3)-127.0.0.1] Jdbcs init complete
2017-1-6 14:47:6.759 INFO [RMI TCP Connection(3)-127.0.0.1] Get Connection from DataSource for JdbcExpert, if you look at here, check your database server and configure
2017-1-6 14:47:7.301 DEBUG [RMI TCP Connection(3)-127.0.0.1] JDBC Driver --> mysql-connector-java-5.1.38 ( Revision: fe541c166cec739c74cc727c5da96c1028b4834a )
2017-1-6 14:47:7.301 DEBUG [RMI TCP Connection(3)-127.0.0.1] JDBC Name   --> MySQL Connector Java
2017-1-6 14:47:7.301 DEBUG [RMI TCP Connection(3)-127.0.0.1] JDBC URL    --> jdbc:mysql://139.129.118.219:13306/CloudServer?characterEncoding=utf8
2017-1-6 14:47:7.333 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_client=utf8
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_connection=utf8
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_database=utf8
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_filesystem=binary
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_results=
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_server=latin1
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_system=utf8
2017-1-6 14:47:7.334 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_sets_dir=/usr/share/mysql/charsets/
2017-1-6 14:47:7.360 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : binlog_format=MIXED
2017-1-6 14:47:7.386 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : database=CloudServer
2017-1-6 14:47:7.412 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : user=root@58.213.89.186
2017-1-6 14:47:7.449 DEBUG [RMI TCP Connection(3)-127.0.0.1] Database info --> MYSQL:[MySQL - 5.5.5-10.0.16-MariaDB-1~trusty-log]
2017-1-6 14:47:7.453 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 0 resource by src( www/binfoo/www/ ) , regex( ^.+[.]class$ )
2017-1-6 14:47:7.519 DEBUG [RMI TCP Connection(3)-127.0.0.1] SELECT COUNT(*) FROM t_user 
2017-1-6 14:47:7.546 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is up in 1226ms
[2017-01-06 02:47:07,569] Artifact nutzbook:war exploded: Artifact is deployed successfully
[2017-01-06 02:47:07,570] Artifact nutzbook:war exploded: Deploy took 2,761 milliseconds
2017-1-6 14:47:11.128 DEBUG [http-apr-8080-exec-10] Search mapping for path=/${base}/user/login : NOT Action match
06-Jan-2017 14:47:14.793 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory E:\apache-tomcat-8.0.32\webapps\manager
06-Jan-2017 14:47:14.825 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory E:\apache-tomcat-8.0.32\webapps\manager has finished in 32 ms

使用的IDEA,maven

@binfoo 是不是jsp的头部没写?

头部在哪里,怎么写

@binfoo 是不是没拷贝全,第一行忘记拷贝了?

还有一个可能是web.xml的版本号,如果写了293的话就不会解析el

@wendal <!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd" >


nutzbook

nutz
org.nutz.mvc.NutFilter

modules
com.binfoo.www.MainModule



nutz
/*

REQUEST
FORWARD
INCLUDE


index.html
index.htm
index.jsp
default.html
default.htm
default.jsp

已经解决,去掉了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" >

能解决就好

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