NutzCN Logo
问答 我的问题是,我在自己的地址栏输入http://localhost:8085/ads/numberOfClicks?appid=11出现404,可是我同事的输入一样的没问题
发布于 2799天前 作者 qq_4384e318 1245 次浏览 复制 上一个帖子 下一个帖子
标签:

(数据库是他的电脑),下面是启动日志

2017-4-24 18:39:33.399 INFO [RMI TCP Connection(3)-127.0.0.1] Select SystemLog as Nutz.Log implement
2017-4-24 18:39:33.403 INFO [RMI TCP Connection(3)-127.0.0.1] NutFilter[nutz] starting ...
2017-4-24 18:39:33.471 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
[Dir[path=E:\open\Tomcat\apache-tomcat-7.0.77\bin], Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutz-1.r.60-20170115.145331-104.jar], Dir[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\classes], Jar[path=E:\open\Tomcat\apache-tomcat-7.0.77\bin\bootstrap.jar], Jar[path=E:\open\Tomcat\apache-tomcat-7.0.77\bin\tomcat-juli.jar]]
2017-4-24 18:39:33.556 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
{E:\open\Tomcat\apache-tomcat-7.0.77\bin=Dir[path=E:\open\Tomcat\apache-tomcat-7.0.77\bin], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutz-1.r.60-20170115.145331-104.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutz-1.r.60-20170115.145331-104.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\classes=Dir[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\classes], E:\open\Tomcat\apache-tomcat-7.0.77\bin\bootstrap.jar=Jar[path=E:\open\Tomcat\apache-tomcat-7.0.77\bin\bootstrap.jar], E:\open\Tomcat\apache-tomcat-7.0.77\bin\tomcat-juli.jar=Jar[path=E:\open\Tomcat\apache-tomcat-7.0.77\bin\tomcat-juli.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutz-integration-jedis-1.r.60-SNAPSHOT.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutz-integration-jedis-1.r.60-SNAPSHOT.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\json.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\json.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\org.apache.commons.lang_2.4.0.v201005080502.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\org.apache.commons.lang_2.4.0.v201005080502.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\druid-1.0.26.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\druid-1.0.26.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\mongo-java-driver-3.2.1.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\mongo-java-driver-3.2.1.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\mysql-connector-java-5.1.39.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\mysql-connector-java-5.1.39.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutzmongo-1.r.60-20161227.064110-7.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\nutzmongo-1.r.60-20161227.064110-7.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\jedis-2.9.0.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\jedis-2.9.0.jar], E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\commons-pool2-2.4.2.jar=Jar[path=E:\gitwork\ADS\ADS\out\artifacts\ADS_war_exploded\WEB-INF\lib\commons-pool2-2.4.2.jar]}
2017-4-24 18:39:33.601 DEBUG [RMI TCP Connection(3)-127.0.0.1] Using 95 castor for Castors
2017-4-24 18:39:33.609 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading by class org.nutz.mvc.impl.NutLoading
2017-4-24 18:39:33.610 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz Version : 1.r.60-SNAPSHOT 
2017-4-24 18:39:33.610 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is initializing ...
2017-4-24 18:39:33.610 DEBUG [RMI TCP Connection(3)-127.0.0.1] Web Container Information:
2017-4-24 18:39:33.611 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Default Charset : GBK
2017-4-24 18:39:33.612 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Current . path  : E:\open\Tomcat\apache-tomcat-7.0.77\bin\.
2017-4-24 18:39:33.612 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Java Version    : 1.8.0_101
2017-4-24 18:39:33.612 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - File separator  : \
2017-4-24 18:39:33.612 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Timezone        : Asia/Shanghai
2017-4-24 18:39:33.612 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - OS              : Windows 7 amd64
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ServerInfo      : Apache Tomcat/7.0.77
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 3.0
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : 
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\LZH\.IntelliJIdea15\system\tomcat\Unnamed_ADS\work\Catalina\localhost\_
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - MainModule      : com.tianshi.core.MainModule
2017-4-24 18:39:33.615 DEBUG [RMI TCP Connection(3)-127.0.0.1] >> app.root = E:/gitwork/ADS/ADS/out/artifacts/ADS_war_exploded
2017-4-24 18:39:33.617 DEBUG [RMI TCP Connection(3)-127.0.0.1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.tianshi", "*tx", "*jedis", "*async"],init=[])
2017-4-24 18:39:33.633 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 2 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-4-24 18:39:33.633 DEBUG [RMI TCP Connection(3)-127.0.0.1] loading ioc js config from [dao.json]
2017-4-24 18:39:33.635 DEBUG [RMI TCP Connection(3)-127.0.0.1] loading ioc js config from [mongo.json]
2017-4-24 18:39:33.637 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 12 bean define from path=[ioc/] --> [zMoCocinstall, zMoDB, zMoCoreg, dao, zMoCostartup, zMoCoClick, zMoCologin, conf, zMongo, dataSource, zMoCopay, zMoCorole]
2017-4-24 18:39:33.648 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 39 resource by src( com/tianshi/ ) , regex( ^.+[.]class$ )
2017-4-24 18:39:33.678 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.click.clickModule
2017-4-24 18:39:33.684 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.click.ClickServcie
2017-4-24 18:39:33.693 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.generalize.numberOfClicks
2017-4-24 18:39:33.693 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.install.install
2017-4-24 18:39:33.694 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.login.login
2017-4-24 18:39:33.694 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.pay.pay
2017-4-24 18:39:33.694 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.reg.reg
2017-4-24 18:39:33.695 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.role.role
2017-4-24 18:39:33.695 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.biz.startup.startup
2017-4-24 18:39:33.701 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.tianshi.db.dbmodule
2017-4-24 18:39:33.709 INFO [RMI TCP Connection(3)-127.0.0.1] Found 10 classes in 1 base-packages!
beans = ["role", "install", "reg", "startup", "pay", "dbmodule", "clickModule", "numberOfClicks", "login", "clickServcie"]
2017-4-24 18:39:33.710 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-4-24 18:39:33.711 DEBUG [RMI TCP Connection(3)-127.0.0.1] found org.nutz.integration.jedis.JedisIocLoader -- org.nutz.integration.jedis.JedisIocLoader
2017-4-24 18:39:33.712 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ )
2017-4-24 18:39:33.712 DEBUG [RMI TCP Connection(3)-127.0.0.1] loading ioc js config from [org/nutz/integration/jedis/jedis.js]
2017-4-24 18:39:33.713 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 5 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [jedisPoolConfig, redisService, jedisPool, redis, pubSubService]
2017-4-24 18:39:33.714 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-4-24 18:39:33.716 INFO [RMI TCP Connection(3)-127.0.0.1] NutIoc init begin ...
2017-4-24 18:39:33.717 INFO [RMI TCP Connection(3)-127.0.0.1] ... NutIoc init complete
2017-4-24 18:39:33.720 INFO [RMI TCP Connection(3)-127.0.0.1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-4-24 18:39:33.721 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Views(DefaultViewMaker.class)
2017-4-24 18:39:33.725 DEBUG [RMI TCP Connection(3)-127.0.0.1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-4-24 18:39:33.729 DEBUG [RMI TCP Connection(3)-127.0.0.1]  > scan 'com.tianshi'
2017-4-24 18:39:33.735 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 39 resource by src( com/tianshi/ ) , regex( ^.+[.]class$ )
2017-4-24 18:39:33.736 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.click.clickModule'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.generalize.numberOfClicks'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.install.install'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.login.login'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.pay.pay'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.reg.reg'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.role.role'
2017-4-24 18:39:33.737 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.biz.startup.startup'
2017-4-24 18:39:33.743 DEBUG [RMI TCP Connection(3)-127.0.0.1]    >> add 'com.tianshi.db.dbmodule'
2017-4-24 18:39:33.744 DEBUG [RMI TCP Connection(3)-127.0.0.1] module class location 'file:/E:/gitwork/ADS/ADS/out/artifacts/ADS_war_exploded/WEB-INF/classes/'
2017-4-24 18:39:33.744 DEBUG [RMI TCP Connection(3)-127.0.0.1]  > scan 'com.tianshi.core'
2017-4-24 18:39:33.745 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 2 resource by src( com/tianshi/core/ ) , regex( ^.+[.]class$ )
2017-4-24 18:39:33.751 INFO [RMI TCP Connection(3)-127.0.0.1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-4-24 18:39:33.756 INFO [RMI TCP Connection(3)-127.0.0.1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-4-24 18:39:33.761 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/click/'                   >> (clickModule.java:121).click          : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.762 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/numberOfClicks/'          >> (numberOfClicks.java:37).index        : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.763 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/reg/'                     >> (reg.java:36).index                   : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.763 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/login/'                   >> (login.java:33).index                 : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.764 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/role/'                    >> (role.java:35).index                  : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.765 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/day7jihuo'            >> (dbmodule.java:73).day7jihuo          : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.765 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/clicks'               >> (dbmodule.java:87).clicks             : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.765 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/find7dayios'          >> (dbmodule.java:95).find7dayIOS        : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.765 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/find7dayh5'           >> (dbmodule.java:117).find7dayH5        : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.766 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/find7dayh5jihuo'      >> (dbmodule.java:139).find7dayH5jihuo   : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.766 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/find7dayiosjihuo'     >> (dbmodule.java:162).find7dayIOSjihuo  : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.766 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/jihuolv'              >> (dbmodule.java:183).jiHuoLv           : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.766 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/find7day'             >> (dbmodule.java:210).find7Day          : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.767 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/db1/find3day'             >> (dbmodule.java:217).find3Day          : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.767 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/install/'                 >> (install.java:50).index               : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.769 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/startup/'                 >> (startup.java:34).index               : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.770 DEBUG [RMI TCP Connection(3)-127.0.0.1]    '/pay/'                     >> (pay.java:33).index                   : Object     | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-4-24 18:39:33.770 INFO [RMI TCP Connection(3)-127.0.0.1] Found 17 module methods
2017-4-24 18:39:33.771 DEBUG [RMI TCP Connection(3)-127.0.0.1] @Localization not define
2017-4-24 18:39:33.771 INFO [RMI TCP Connection(3)-127.0.0.1] Setup application...
2017-4-24 18:39:33.771 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dao'<interface org.nutz.dao.Dao>
2017-4-24 18:39:33.771 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-4-24 18:39:33.772 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=$aop_async
2017-4-24 18:39:33.774 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject($aop_async) in AsyncAopIocLoader@920411127
2017-4-24 18:39:33.774 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-4-24 18:39:33.774 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object '$aop_async' to [app] 
2017-4-24 18:39:33.777 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-4-24 18:39:33.777 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dao
2017-4-24 18:39:33.778 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=dao
2017-4-24 18:39:33.780 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-4-24 18:39:33.781 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2017-4-24 18:39:33.788 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load class org.nutz.dao.impl.NutDao without AOP
2017-4-24 18:39:33.788 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object 'dao' to [app] 
2017-4-24 18:39:33.789 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dataSource'<>
2017-4-24 18:39:33.789 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=dataSource
2017-4-24 18:39:33.789 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=dataSource
2017-4-24 18:39:33.794 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-4-24 18:39:33.794 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'dataSource'<>
2017-4-24 18:39:33.809 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017-4-24 18:39:33.809 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object 'dataSource' to [app] 
2017-4-24 18:39:33.810 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'conf'<>
2017-4-24 18:39:33.810 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Load definition name=conf
2017-4-24 18:39:33.810 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading define for name=conf
2017-4-24 18:39:33.813 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found IocObject(conf) in JsonLoader(paths=[ioc/])
2017-4-24 18:39:33.813 DEBUG [RMI TCP Connection(3)-127.0.0.1] 	 >> Make...'conf'<>
2017-4-24 18:39:33.814 DEBUG [RMI TCP Connection(3)-127.0.0.1] Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2017-4-24 18:39:33.814 DEBUG [RMI TCP Connection(3)-127.0.0.1] Save object 'conf' to [app] 
2017-4-24 18:39:33.819 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 3 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2017-4-24 18:39:33.939 DEBUG [RMI TCP Connection(3)-127.0.0.1] Get 'dataSource'<>
四月 24, 2017 6:39:33 下午 com.alibaba.druid.pool.DruidDataSource info
信息: {dataSource-1} inited
2017-4-24 18:39:33.960 INFO [RMI TCP Connection(3)-127.0.0.1] Init file-pool by: C:\Users\LZH/.nutz/tmp/dao/ [200000]
2017-4-24 18:39:33.961 DEBUG [RMI TCP Connection(3)-127.0.0.1] file-pool.home: 'C:\Users\LZH\.nutz\tmp\dao'
2017-4-24 18:39:33.961 INFO [RMI TCP Connection(3)-127.0.0.1] file-pool.cursor: 0
2017-4-24 18:39:33.967 DEBUG [RMI TCP Connection(3)-127.0.0.1] Jdbcs init complete
2017-4-24 18:39:33.967 INFO [RMI TCP Connection(3)-127.0.0.1] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2017-4-24 18:39:34.165 DEBUG [RMI TCP Connection(3)-127.0.0.1] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
2017-4-24 18:39:34.169 DEBUG [RMI TCP Connection(3)-127.0.0.1] JDBC Driver --> mysql-connector-java-5.1.39 ( Revision: 3289a357af6d09ecc1a10fd3c26e95183e5790ad )
2017-4-24 18:39:34.169 DEBUG [RMI TCP Connection(3)-127.0.0.1] JDBC Name   --> MySQL Connector Java
2017-4-24 18:39:34.169 DEBUG [RMI TCP Connection(3)-127.0.0.1] JDBC URL    --> jdbc:mysql://192.168.1.152:3306/ads?useUnicode=true&characterEncoding=utf8
2017-4-24 18:39:34.233 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_client=utf8
2017-4-24 18:39:34.233 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_connection=utf8
2017-4-24 18:39:34.233 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_database=utf8
2017-4-24 18:39:34.234 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_filesystem=binary
2017-4-24 18:39:34.234 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_results=
2017-4-24 18:39:34.234 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_server=utf8
2017-4-24 18:39:34.234 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_set_system=utf8
2017-4-24 18:39:34.234 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : character_sets_dir=D:\MySQL5.5\share\charsets\
2017-4-24 18:39:34.235 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : binlog_format=STATEMENT
2017-4-24 18:39:34.236 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : database=ads
2017-4-24 18:39:34.236 DEBUG [RMI TCP Connection(3)-127.0.0.1] Mysql : user=root@cai
2017-4-24 18:39:34.259 DEBUG [RMI TCP Connection(3)-127.0.0.1] Database info --> MYSQL:[MySQL - 5.5.28]
2017-4-24 18:39:34.261 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is up in 647ms
[2017-04-24 06:39:34,282] Artifact ADS:war exploded: Artifact is deployed successfully
[2017-04-24 06:39:34,282] Artifact ADS:war exploded: Deploy took 1,672 milliseconds
2017-4-24 18:39:34.689 DEBUG [http-apr-8085-exec-2] Search mapping for [GET] path=/ads/ : NOT Action match
2017-4-24 18:39:34.695 DEBUG [http-apr-8085-exec-4] Search mapping for [GET] path=/ : NOT Action match
2017-4-24 18:39:35.354 DEBUG [http-apr-8085-exec-3] Search mapping for [GET] path=/ads/ : NOT Action match
四月 24, 2017 6:39:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory E:\open\Tomcat\apache-tomcat-7.0.77\webapps\manager
四月 24, 2017 6:39:42 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory E:\open\Tomcat\apache-tomcat-7.0.77\webapps\manager has finished in 74 ms

5 回复

你部署在根路径了, 访问 http://localhost:8085/numberOfClicks/?appid=11 才对

2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 3.0
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : 
2017-4-24 18:39:33.613 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\LZH\.IntelliJIdea15\system\tomcat\Unnamed_ADS\work\Catalina\localhost\_

谢谢大大,6666

我还是看不出来问什么,为何我同事的就可以呢?

你同事部署在/ads了吧

是的,确实是这么回事,谢谢

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