NutzCN Logo
问答 一个用户只能有一个组织,我这么写出错了,请帮我看看谢谢。
发布于 3145天前 作者 瞎折腾 2078 次浏览 复制 上一个帖子 下一个帖子
标签:
@Many(field = "OrgID", target = Organization.class)
private Organization OrgID;

出错日志为
五月 13, 2016 11:33:54 上午 org.apache.catalina.core.StandardContext filterStart

严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: java.lang.RuntimeException: Invalid @Many(field=OrgID) 'OrgID' : class net.lfsoft.cms.bean.User<=>class net.lfsoft.cms.bean.Organization
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:967)
at org.nutz.lang.Lang.wrapThrow(Lang.java:164)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:133)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:77)
at net.lfsoft.cms.mvc.LfcmsNutFilter.init(LfcmsNutFilter.java:17)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4830)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5510)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Invalid @Many(field=OrgID) 'OrgID' : class net.lfsoft.cms.bean.User<=>class net.lfsoft.cms.bean.Organization
at org.nutz.lang.Lang.makeThrow(Lang.java:99)
at org.nutz.dao.impl.entity.field.ManyLinkField.(ManyLinkField.java:36)
at org.nutz.dao.impl.entity.AnnotationEntityMaker.make(AnnotationEntityMaker.java:264)
at org.nutz.dao.impl.EntityHolder.getEntity(EntityHolder.java:65)
at org.nutz.dao.impl.NutDao.count(NutDao.java:653)
at net.lfsoft.cms.MainSetup.init(MainSetup.java:20)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:270)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:119)
... 15 more

7 回复

那应该用@One呢

@wendal one也这个错。是不是我配置错了?

var ioc = {
conf : {
type : "org.nutz.ioc.impl.PropertiesProxy",
fields : {
paths : ["custom/db.properties"]
}
},
dataSource : {
type : "com.alibaba.druid.pool.DruidDataSource",
events : {
create : "init",
depose : 'close'
},
fields : {
url : {java:"$conf.get('db.url')"},
username : {java:"$conf.get('db.username')"},
password : {java:"$conf.get('db.password')"},
testWhileIdle : true,
validationQuery : {java:"$conf.get('db.validationQuery')"},
maxActive : {java:"$conf.get('db.maxActive')"},
filters : "mergeStat",
connectionProperties : "druid.stat.slowSqlMillis=2000"
}
},
dao : {
type : "org.nutz.dao.impl.NutDao",
args : [{refer:"dataSource"}]
}
};

db.url=jdbc:sqlserver://192.168.1.250:1433;database=cms
db.username=sa
db.password=as1234
db.validationQuery=select 1
db.maxActive=100

@wendal db那几行是写在db.properties里的。

@qq_b8d02b2c

跟数据库配置没有关系

这种就是@One,而且@One的报错是不一样的,贴出来。

@wendal 谢谢。

五月 13, 2016 11:56:44 上午 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/crackerciwei/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.
五月 13, 2016 11:56:44 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:lfcms' did not find a matching property.
五月 13, 2016 11:56:44 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-9090"]
五月 13, 2016 11:56:44 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-9009"]
五月 13, 2016 11:56:44 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 488 ms
五月 13, 2016 11:56:44 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
五月 13, 2016 11:56:44 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.56
五月 13, 2016 11:56:45 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
五月 13, 2016 11:56:45 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
五月 13, 2016 11:56:45 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
五月 13, 2016 11:56:45 上午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
五月 13, 2016 11:56:45 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Shiro environment
log4j: 2016-05-13 11:56:45,655 [localhost-startStop-1] INFO org.apache.shiro.web.env.EnvironmentLoader - Starting Shiro environment initialization.
log4j: 2016-05-13 11:56:45,661 [localhost-startStop-1] DEBUG org.apache.shiro.web.env.IniWebEnvironment - Checking any specified config locations.
log4j: 2016-05-13 11:56:45,661 [localhost-startStop-1] DEBUG org.apache.shiro.web.env.IniWebEnvironment - No INI instance or config locations specified. Trying default config locations.
log4j: 2016-05-13 11:56:45,664 [localhost-startStop-1] DEBUG org.apache.shiro.io.ResourceUtils - Opening resource from class path [shiro.ini]
log4j: 2016-05-13 11:56:45,668 [localhost-startStop-1] DEBUG org.apache.shiro.config.Ini - Parsing [main]
log4j: 2016-05-13 11:56:45,670 [localhost-startStop-1] DEBUG org.apache.shiro.config.Ini - Parsing [urls]
log4j: 2016-05-13 11:56:45,671 [localhost-startStop-1] DEBUG org.apache.shiro.web.env.IniWebEnvironment - Discovered non-empty INI configuration at location 'classpath:shiro.ini'. Using for configuration.
log4j: 2016-05-13 11:56:45,673 [localhost-startStop-1] DEBUG org.apache.shiro.config.IniFactorySupport - Creating instance from Ini [sections=main,urls]
log4j: 2016-05-13 11:56:45,711 [localhost-startStop-1] INFO org.apache.shiro.config.ReflectionBuilder - An instance with name 'authc' already exists. Redefining this object as a new instance of type org.nutz.integration.shiro.CaptchaFormAuthenticationFilter
log4j: 2016-05-13 11:56:45,747 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Setting default value: false
log4j: 2016-05-13 11:56:45,747 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Converting 'Boolean' value 'false' to type 'Boolean'
log4j: 2016-05-13 11:56:45,747 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - No conversion required, value is already a Boolean
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ByteConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ByteConverter - Converting 'Integer' value '0' to type 'Byte'
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ByteConverter - Converted to Byte value '0'
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.CharacterConverter - Setting default value:
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.CharacterConverter - Converting 'Character' value ' ' to type 'Character'
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.CharacterConverter - No conversion required, value is already a Character
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.DoubleConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,750 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.DoubleConverter - Converting 'Integer' value '0' to type 'Double'
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.DoubleConverter - Converted to Double value '0.0'
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.FloatConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.FloatConverter - Converting 'Integer' value '0' to type 'Float'
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.FloatConverter - Converted to Float value '0.0'
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.IntegerConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.IntegerConverter - Converting 'Integer' value '0' to type 'Integer'
log4j: 2016-05-13 11:56:45,751 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.IntegerConverter - No conversion required, value is already a Integer
log4j: 2016-05-13 11:56:45,752 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.LongConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,752 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.LongConverter - Converting 'Integer' value '0' to type 'Long'
log4j: 2016-05-13 11:56:45,752 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.LongConverter - Converted to Long value '0'
log4j: 2016-05-13 11:56:45,752 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ShortConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,752 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ShortConverter - Converting 'Integer' value '0' to type 'Short'
log4j: 2016-05-13 11:56:45,752 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ShortConverter - Converted to Short value '0'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BigDecimalConverter - Setting default value: 0.0
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BigDecimalConverter - Converting 'BigDecimal' value '0.0' to type 'BigDecimal'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BigDecimalConverter - No conversion required, value is already a BigDecimal
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BigIntegerConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BigIntegerConverter - Converting 'BigInteger' value '0' to type 'BigInteger'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BigIntegerConverter - No conversion required, value is already a BigInteger
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Setting default value: false
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - Converting 'Boolean' value 'false' to type 'Boolean'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.BooleanConverter - No conversion required, value is already a Boolean
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ByteConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ByteConverter - Converting 'Integer' value '0' to type 'Byte'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ByteConverter - Converted to Byte value '0'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.CharacterConverter - Setting default value:
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.CharacterConverter - Converting 'Character' value ' ' to type 'Character'
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.CharacterConverter - No conversion required, value is already a Character
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.DoubleConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,753 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.DoubleConverter - Converting 'Integer' value '0' to type 'Double'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.DoubleConverter - Converted to Double value '0.0'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.FloatConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.FloatConverter - Converting 'Integer' value '0' to type 'Float'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.FloatConverter - Converted to Float value '0.0'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.IntegerConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.IntegerConverter - Converting 'Integer' value '0' to type 'Integer'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.IntegerConverter - No conversion required, value is already a Integer
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.LongConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.LongConverter - Converting 'Integer' value '0' to type 'Long'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.LongConverter - Converted to Long value '0'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ShortConverter - Setting default value: 0
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ShortConverter - Converting 'Integer' value '0' to type 'Short'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ShortConverter - Converted to Short value '0'
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.StringConverter - Setting default value:
log4j: 2016-05-13 11:56:45,754 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.StringConverter - Converting 'String' value '' to type 'String'
log4j: 2016-05-13 11:56:45,758 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Z@424187ef
log4j: 2016-05-13 11:56:45,758 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'boolean[]' value '[Z@424187ef' to type 'boolean[]'
log4j: 2016-05-13 11:56:45,758 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a boolean[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [B@5c437de4
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'byte[]' value '[B@5c437de4' to type 'byte[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a byte[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [C@52fe330e
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'char[]' value '[C@52fe330e' to type 'char[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a char[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [D@2eca06b3
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'double[]' value '[D@2eca06b3' to type 'double[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a double[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [F@517de9c4
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'float[]' value '[F@517de9c4' to type 'float[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a float[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [I@217e6ca8
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'int[]' value '[I@217e6ca8' to type 'int[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a int[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [J@730f9ac5
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'long[]' value '[J@730f9ac5' to type 'long[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a long[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [S@57a3687
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'short[]' value '[S@57a3687' to type 'short[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a short[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.math.BigDecimal;@1a91dbe0
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'BigDecimal[]' value '[Ljava.math.BigDecimal;@1a91dbe0' to type 'BigDecimal[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a BigDecimal[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.math.BigInteger;@5fdf7173
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'BigInteger[]' value '[Ljava.math.BigInteger;@5fdf7173' to type 'BigInteger[]'
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a BigInteger[]
log4j: 2016-05-13 11:56:45,759 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Boolean;@73cc3f28
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Boolean[]' value '[Ljava.lang.Boolean;@73cc3f28' to type 'Boolean[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Boolean[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Byte;@2441db59
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Byte[]' value '[Ljava.lang.Byte;@2441db59' to type 'Byte[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Byte[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Character;@7edc9300
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Character[]' value '[Ljava.lang.Character;@7edc9300' to type 'Character[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Character[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Double;@309813ea
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Double[]' value '[Ljava.lang.Double;@309813ea' to type 'Double[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Double[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Float;@7f47e354
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Float[]' value '[Ljava.lang.Float;@7f47e354' to type 'Float[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Float[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Integer;@75240d4a
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Integer[]' value '[Ljava.lang.Integer;@75240d4a' to type 'Integer[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Integer[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Long;@3d37d68a
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Long[]' value '[Ljava.lang.Long;@3d37d68a' to type 'Long[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Long[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Short;@4795ac46
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Short[]' value '[Ljava.lang.Short;@4795ac46' to type 'Short[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Short[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.String;@38dd8ea1
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'String[]' value '[Ljava.lang.String;@38dd8ea1' to type 'String[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a String[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.lang.Class;@59bf0931
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Class[]' value '[Ljava.lang.Class;@59bf0931' to type 'Class[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Class[]
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.util.Date;@22f2c5be
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Date[]' value '[Ljava.util.Date;@22f2c5be' to type 'Date[]'
log4j: 2016-05-13 11:56:45,760 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Date[]
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.util.Calendar;@71df80a4
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'Calendar[]' value '[Ljava.util.Calendar;@71df80a4' to type 'Calendar[]'
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a Calendar[]
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.io.File;@2e9fc893
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'java.io.File[]' value '[Ljava.io.File;@2e9fc893' to type 'java.io.File[]'
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a java.io.File[]
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.sql.Date;@4838670
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'java.sql.Date[]' value '[Ljava.sql.Date;@4838670' to type 'java.sql.Date[]'
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a java.sql.Date[]
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.sql.Time;@4f4953e6
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'java.sql.Time[]' value '[Ljava.sql.Time;@4f4953e6' to type 'java.sql.Time[]'
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a java.sql.Time[]
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.sql.Timestamp;@6ed96ac9
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'java.sql.Timestamp[]' value '[Ljava.sql.Timestamp;@6ed96ac9' to type 'java.sql.Timestamp[]'
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a java.sql.Timestamp[]
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Setting default value: [Ljava.net.URL;@7f79c51b
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - Converting 'java.net.URL[]' value '[Ljava.net.URL;@7f79c51b' to type 'java.net.URL[]'
log4j: 2016-05-13 11:56:45,761 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.ArrayConverter - No conversion required, value is already a java.net.URL[]
log4j: 2016-05-13 11:56:45,777 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string '/user/login' to class 'java.lang.String'
log4j: 2016-05-13 11:56:45,778 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.StringConverter - Converting 'String' value '/user/login' to type 'String'
log4j: 2016-05-13 11:56:45,780 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.ConvertUtils - Convert string '/user/login' to class 'java.lang.String'
log4j: 2016-05-13 11:56:45,780 [localhost-startStop-1] DEBUG org.apache.commons.beanutils.converters.StringConverter - Converting 'String' value '/user/login' to type 'String'
log4j: 2016-05-13 11:56:45,780 [localhost-startStop-1] DEBUG org.apache.shiro.realm.AuthorizingRealm - No authorizationCache instance set. Checking for a cacheManager...
log4j: 2016-05-13 11:56:45,780 [localhost-startStop-1] INFO org.apache.shiro.realm.AuthorizingRealm - No cache or cacheManager properties have been set. Authorization cache cannot be obtained.
log4j: 2016-05-13 11:56:45,782 [localhost-startStop-1] DEBUG org.apache.shiro.config.IniFactorySupport - Creating instance from Ini [sections=main,urls]
log4j: 2016-05-13 11:56:45,784 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Creating chain [/rs/*] from String definition [anon]
log4j: 2016-05-13 11:56:45,784 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Attempting to apply path [/rs/*] to filter [anon] with config [null]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Creating chain [/user/logout] from String definition [logout]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Attempting to apply path [/user/logout] to filter [logout] with config [null]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Creating chain [/user/error] from String definition [anon]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Attempting to apply path [/user/error] to filter [anon] with config [null]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Creating chain [/user/profile/active/mail] from String definition [anon]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Attempting to apply path [/user/profile/active/mail] to filter [anon] with config [null]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Creating chain [/user/**] from String definition [authc]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.filter.mgt.DefaultFilterChainManager - Attempting to apply path [/user/**] to filter [authc] with config [null]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] DEBUG org.apache.shiro.web.env.EnvironmentLoader - Published WebEnvironment as ServletContext attribute with name [org.apache.shiro.web.env.EnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEY]
log4j: 2016-05-13 11:56:45,785 [localhost-startStop-1] INFO org.apache.shiro.web.env.EnvironmentLoader - Shiro environment initialized in 130 ms.
ALL Nutz Log via Log4jLogAdapter
log4j: 2016-05-13 11:56:45,794 [localhost-startStop-1] INFO org.nutz.log.Logs - Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
log4j: 2016-05-13 11:56:45,796 [localhost-startStop-1] INFO org.nutz.mvc.NutFilter - NutFilter[nutz] starting ...
log4j: 2016-05-13 11:56:45,898 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Locations for Scans:
[JarResourceLocation [jarPath=/Users/crackerciwei/tomcat7/bin/bootstrap.jar], FileSystemResourceLocation [root=/Users/crackerciwei/eclipse/Eclipse.app/Contents/MacOS], JarResourceLocation [jarPath=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/lib/tools.jar], JarResourceLocation [jarPath=/Users/crackerciwei/tomcat7/bin/tomcat-juli.jar], FileSystemResourceLocation [root=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/classes], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/nutz-1.b.53.jar]]
log4j: 2016-05-13 11:56:46,110 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Locations for Scans:
[JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/commons-logging-1.2.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/nutz-integration-shiro-1.b.53.r2.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/mysql-connector-java-5.1.37.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/taglibs-standard-impl-1.2.5.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/druid-1.0.16.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/taglibs-standard-jstlel-1.2.5.jar], JarResourceLocation [jarPath=/Users/crackerciwei/tomcat7/bin/bootstrap.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/commons-beanutils-1.9.2.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/sqljdbc4.jar], FileSystemResourceLocation [root=/Users/crackerciwei/eclipse/Eclipse.app/Contents/MacOS], JarResourceLocation [jarPath=/Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/lib/tools.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/slf4j-log4j12-1.7.7.jar], JarResourceLocation [jarPath=/Users/crackerciwei/tomcat7/bin/tomcat-juli.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/quartz-jobs-2.2.2.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/nutz-1.b.53.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/quartz-2.2.2.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/shiro-all-1.2.4.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/slf4j-api-1.7.7.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/taglibs-standard-spec-1.2.5.jar], FileSystemResourceLocation [root=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/classes], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/nutz-integration-quartz-1.b.53.r3.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/javax.servlet.jsp.jstl-api-1.2.1.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/taglibs-standard-compat-1.2.5.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/c3p0-0.9.1.1.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/simplecaptcha-1.2.2.jar], JarResourceLocation [jarPath=/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/lib/log4j-1.2.16.jar]]
log4j: 2016-05-13 11:56:46,112 [localhost-startStop-1] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <net.lfsoft.cms.MainModule>
log4j: 2016-05-13 11:56:46,131 [localhost-startStop-1] DEBUG org.nutz.mvc.config.AbstractNutConfig - Loading by class org.nutz.mvc.impl.NutLoading
log4j: 2016-05-13 11:56:46,132 [localhost-startStop-1] INFO org.nutz.mvc.impl.NutLoading - Nutz Version : 1.b.53
log4j: 2016-05-13 11:56:46,132 [localhost-startStop-1] INFO org.nutz.mvc.impl.NutLoading - Nutz.Mvc[nutz] is initializing ...
log4j: 2016-05-13 11:56:46,132 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - Web Container Information:
log4j: 2016-05-13 11:56:46,145 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - Default Charset : UTF-8
log4j: 2016-05-13 11:56:46,145 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - Current . path : /Users/crackerciwei/eclipse/Eclipse.app/Contents/MacOS/.
log4j: 2016-05-13 11:56:46,145 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - Java Version : 1.7.0_80
log4j: 2016-05-13 11:56:46,145 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - File separator : /
log4j: 2016-05-13 11:56:46,145 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - Timezone : Asia/Shanghai
log4j: 2016-05-13 11:56:46,146 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - OS : Mac OS X x86_64
log4j: 2016-05-13 11:56:46,146 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - ServerInfo : Apache Tomcat/7.0.56
log4j: 2016-05-13 11:56:46,146 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - Servlet API : 3.0
log4j: 2016-05-13 11:56:46,146 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - - ContextPath : /lfcms
log4j: 2016-05-13 11:56:46,146 [localhost-startStop-1] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <net.lfsoft.cms.MainModule>
log4j: 2016-05-13 11:56:46,146 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - >> app.root = /Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms
log4j: 2016-05-13 11:56:46,189 [localhost-startStop-1] DEBUG org.nutz.castor.Castors - Using 91 castor for Castors
log4j: 2016-05-13 11:56:46,192 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "net.lfsoft.cms", "*tx", "*org.nutz.integration.quartz.QuartzIocLoader"],init=[])
log4j: 2016-05-13 11:56:46,207 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
log4j: 2016-05-13 11:56:46,207 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - loading ioc js config from [dao.js]
log4j: 2016-05-13 11:56:46,209 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 3 bean define from path=[ioc/] --> [dataSource, dao, conf]
log4j: 2016-05-13 11:56:46,216 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 15 resource by src( net/lfsoft/cms/ ) , regex( ^.+[.]class$ )
log4j: 2016-05-13 11:56:46,230 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found a Class with Ioc-Annotation : class net.lfsoft.cms.service.UserService
log4j: 2016-05-13 11:56:46,235 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found a Class with Ioc-Annotation : class net.lfsoft.cms.shiro.realm.NutDaoRealm
log4j: 2016-05-13 11:56:46,245 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found a Class with Ioc-Annotation : class net.lfsoft.cms.module.UserModule
log4j: 2016-05-13 11:56:46,250 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.annotation.AnnotationIocLoader - Found a Class with Ioc-Annotation : class net.lfsoft.cms.module.CaptchaModule
log4j: 2016-05-13 11:56:46,253 [localhost-startStop-1] INFO org.nutz.ioc.loader.annotation.AnnotationIocLoader - Scan complete ! Found 4 classes in 1 base-packages!
beans = ["captchaModule", "userService", "nutDaoRealm", "userModule"]
log4j: 2016-05-13 11:56:46,255 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
log4j: 2016-05-13 11:56:46,255 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.json.JsonLoader - Loaded 0 bean define from path=[] --> []
log4j: 2016-05-13 11:56:46,258 [localhost-startStop-1] INFO org.nutz.ioc.impl.NutIoc - NutIoc init begin ...
log4j: 2016-05-13 11:56:46,259 [localhost-startStop-1] INFO org.nutz.ioc.impl.NutIoc - ... NutIoc init complete
log4j: 2016-05-13 11:56:46,260 [localhost-startStop-1] DEBUG org.nutz.mvc.config.AbstractNutConfig - MainModule: <net.lfsoft.cms.MainModule>
log4j: 2016-05-13 11:56:46,262 [localhost-startStop-1] INFO org.nutz.mvc.impl.NutLoading - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
log4j: 2016-05-13 11:56:46,263 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - @Views(DefaultViewMaker)
log4j: 2016-05-13 11:56:46,268 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
log4j: 2016-05-13 11:56:46,273 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion - ActionChain Config:
{
"default" :{
"ps" :["net.lfsoft.cms.mvc.LogTimeProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "org.nutz.integration.shiro.NutShiroProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
"error" :"org.nutz.mvc.impl.processor.FailProcessor"
}
}
log4j: 2016-05-13 11:56:46,273 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
log4j: 2016-05-13 11:56:46,275 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.Loadings - module class location 'file:/Users/crackerciwei/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/lfcms/WEB-INF/classes/net/lfsoft/cms/MainModule.class'
log4j: 2016-05-13 11:56:46,275 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.Loadings - > scan 'net.lfsoft.cms'
log4j: 2016-05-13 11:56:46,278 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 15 resource by src( net/lfsoft/cms/ ) , regex( ^.+[.]class$ )
log4j: 2016-05-13 11:56:46,280 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.Loadings - >> add 'net.lfsoft.cms.module.UserModule'
log4j: 2016-05-13 11:56:46,280 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.Loadings - >> add 'net.lfsoft.cms.module.CaptchaModule'
log4j: 2016-05-13 11:56:46,307 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/add' >> UserModule.add(...) : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,308 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/count' >> UserModule.count(...) : int | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,309 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/' >> UserModule.index(...) : void | @Ok(jsp:jsp.user.list) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,313 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/delete' >> UserModule.delete(...) : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,315 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/query' >> UserModule.query(...) : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,316 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/update' >> UserModule.update(...) : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,317 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/login' >> UserModule.login(...) : Object | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,318 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/user/login' >> UserModule.loginPage(...) : void | @Ok(jsp:jsp.user.login) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,319 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.UrlMappingImpl - '/captcha/next' >> CaptchaModule.next(...) : BufferedImage | @Ok(raw:png) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
log4j: 2016-05-13 11:56:46,320 [localhost-startStop-1] INFO org.nutz.mvc.impl.NutLoading - Found 9 module methods
log4j: 2016-05-13 11:56:46,320 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutLoading - Localization: org.nutz.mvc.impl.NutMessageLoader('msg/') dft
log4j: 2016-05-13 11:56:46,321 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 1 resource by src( msg/ ) , regex( ^.+[.]properties$ )
log4j: 2016-05-13 11:56:46,321 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutMessageLoader - Load Messages in 1 resource : [[NutResource[zh-CN/user.properties]]]
log4j: 2016-05-13 11:56:46,322 [localhost-startStop-1] DEBUG org.nutz.mvc.impl.NutMessageLoader - Message Loaded, size = 2
log4j: 2016-05-13 11:56:46,322 [localhost-startStop-1] INFO org.nutz.mvc.impl.NutLoading - SessionBy --> org.nutz.integration.shiro.ShiroSessionProvider@3970f6a8
log4j: 2016-05-13 11:56:46,322 [localhost-startStop-1] INFO org.nutz.mvc.impl.NutLoading - Setup application...
log4j: 2016-05-13 11:56:46,323 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dao'<interface org.nutz.dao.Dao>
log4j: 2016-05-13 11:56:46,323 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
log4j: 2016-05-13 11:56:46,324 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dao
log4j: 2016-05-13 11:56:46,326 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dao) in IocLoader(JsonLoader@1945673078)
log4j: 2016-05-13 11:56:46,326 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dao'<interface org.nutz.dao.Dao>
log4j: 2016-05-13 11:56:46,334 [localhost-startStop-1] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class org.nutz.dao.impl.NutDao without AOP
log4j: 2016-05-13 11:56:46,334 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dao' to [app]
log4j: 2016-05-13 11:56:46,336 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dataSource'<>
log4j: 2016-05-13 11:56:46,336 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
log4j: 2016-05-13 11:56:46,336 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=dataSource
log4j: 2016-05-13 11:56:46,340 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(dataSource) in IocLoader(JsonLoader@1945673078)
log4j: 2016-05-13 11:56:46,341 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'dataSource'<>
log4j: 2016-05-13 11:56:46,354 [localhost-startStop-1] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class com.alibaba.druid.pool.DruidDataSource without AOP
log4j: 2016-05-13 11:56:46,354 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'dataSource' to [app]
log4j: 2016-05-13 11:56:46,372 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'conf'<>
log4j: 2016-05-13 11:56:46,372 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - >> Load definition
log4j: 2016-05-13 11:56:46,372 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.map.MapLoader - Loading define for name=conf
log4j: 2016-05-13 11:56:46,373 [localhost-startStop-1] DEBUG org.nutz.ioc.loader.combo.ComboIocLoader - Found IocObject(conf) in IocLoader(JsonLoader@1945673078)
log4j: 2016-05-13 11:56:46,373 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - >> Make...'conf'<>
log4j: 2016-05-13 11:56:46,373 [localhost-startStop-1] DEBUG org.nutz.ioc.aop.impl.DefaultMirrorFactory - class org.nutz.ioc.impl.PropertiesProxy without AOP
log4j: 2016-05-13 11:56:46,374 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.ScopeContext - Save object 'conf' to [app]
log4j: 2016-05-13 11:56:46,375 [localhost-startStop-1] DEBUG org.nutz.resource.Scans - Found 1 resource by src( custom/db.properties ) , regex( ^.+[.]properties$ )
log4j: 2016-05-13 11:56:46,377 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'conf'<>
log4j: 2016-05-13 11:56:46,378 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'conf'<>
log4j: 2016-05-13 11:56:46,378 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'conf'<>
log4j: 2016-05-13 11:56:46,378 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'conf'<>
log4j: 2016-05-13 11:56:46,407 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited
log4j: 2016-05-13 11:56:46,407 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - Get 'dataSource'<>
log4j: 2016-05-13 11:56:46,412 [localhost-startStop-1] DEBUG org.nutz.dao.impl.NutDao - NutDao[_selfId=0] init ...
log4j: 2016-05-13 11:56:46,426 [localhost-startStop-1] INFO org.nutz.filepool.NutFilePool - Init file-pool by: /Users/crackerciwei/.nutz/tmp/dao/ [200000]
log4j: 2016-05-13 11:56:46,426 [localhost-startStop-1] DEBUG org.nutz.filepool.NutFilePool - file-pool.home: '/Users/crackerciwei/.nutz/tmp/dao'
log4j: 2016-05-13 11:56:46,427 [localhost-startStop-1] INFO org.nutz.filepool.NutFilePool - file-pool.cursor: 3
log4j: 2016-05-13 11:56:46,433 [localhost-startStop-1] DEBUG org.nutz.dao.jdbc.Jdbcs - Jdbcs init complete
log4j: 2016-05-13 11:56:46,433 [localhost-startStop-1] INFO org.nutz.dao.jdbc.Jdbcs - Get Connection from DataSource for JdbcExpert
log4j: 2016-05-13 11:56:46,749 [localhost-startStop-1] DEBUG org.nutz.dao.impl.DaoSupport - JDBC Driver --> 3.0.1119.0
log4j: 2016-05-13 11:56:46,749 [localhost-startStop-1] DEBUG org.nutz.dao.impl.DaoSupport - JDBC Name --> Microsoft SQL Server JDBC Driver 3.0
log4j: 2016-05-13 11:56:46,750 [localhost-startStop-1] DEBUG org.nutz.dao.impl.DaoSupport - JDBC URL --> jdbc:sqlserver://192.168.1.250:1433;xopenStates=false;sendTimeAsDatetime=true;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;loginTimeout=15;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=cms;applicationName=Microsoft SQL Server JDBC Driver;
log4j: 2016-05-13 11:56:46,781 [localhost-startStop-1] DEBUG org.nutz.dao.impl.DaoSupport - Database info --> SQLSERVER:[Microsoft SQL Server - 10.00.1600]
log4j: 2016-05-13 11:56:46,836 [localhost-startStop-1] ERROR org.nutz.mvc.impl.NutLoading - Error happend during start serivce!
java.lang.RuntimeException: Invalid @One(field=OrgID) 'OrgID' : class net.lfsoft.cms.bean.User<=>class net.lfsoft.cms.bean.Organization
at org.nutz.lang.Lang.makeThrow(Lang.java:99)
at org.nutz.dao.impl.entity.field.OneLinkField.(OneLinkField.java:28)
at org.nutz.dao.impl.entity.AnnotationEntityMaker.make(AnnotationEntityMaker.java:260)
at org.nutz.dao.impl.EntityHolder.getEntity(EntityHolder.java:65)
at org.nutz.dao.impl.NutDao.count(NutDao.java:653)
at net.lfsoft.cms.MainSetup.init(MainSetup.java:20)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:270)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:119)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:77)
at net.lfsoft.cms.mvc.LfcmsNutFilter.init(LfcmsNutFilter.java:17)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4830)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5510)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
log4j: 2016-05-13 11:56:46,837 [localhost-startStop-1] ERROR org.nutz.mvc.impl.NutLoading - try to depose ioc
log4j: 2016-05-13 11:56:46,838 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'dataSource' ...
log4j: 2016-05-13 11:56:46,839 [localhost-startStop-1] INFO com.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed
log4j: 2016-05-13 11:56:46,839 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'dao' ...
log4j: 2016-05-13 11:56:46,840 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.ScopeContext - Depose object 'conf' ...
log4j: 2016-05-13 11:56:46,840 [localhost-startStop-1] DEBUG org.nutz.ioc.impl.NutIoc - !!!Ioc is deposed, you can't use it anymore
五月 13, 2016 11:56:46 上午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: java.lang.RuntimeException: Invalid @One(field=OrgID) 'OrgID' : class net.lfsoft.cms.bean.User<=>class net.lfsoft.cms.bean.Organization
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:967)
at org.nutz.lang.Lang.wrapThrow(Lang.java:164)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:133)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter.init(NutFilter.java:77)
at net.lfsoft.cms.mvc.LfcmsNutFilter.init(LfcmsNutFilter.java:17)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4830)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5510)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Invalid @One(field=OrgID) 'OrgID' : class net.lfsoft.cms.bean.User<=>class net.lfsoft.cms.bean.Organization
at org.nutz.lang.Lang.makeThrow(Lang.java:99)
at org.nutz.dao.impl.entity.field.OneLinkField.(OneLinkField.java:28)
at org.nutz.dao.impl.entity.AnnotationEntityMaker.make(AnnotationEntityMaker.java:260)
at org.nutz.dao.impl.EntityHolder.getEntity(EntityHolder.java:65)
at org.nutz.dao.impl.NutDao.count(NutDao.java:653)
at net.lfsoft.cms.MainSetup.init(MainSetup.java:20)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:270)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:119)
... 15 more

五月 13, 2016 11:56:46 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
五月 13, 2016 11:56:46 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/lfcms] startup failed due to previous errors
五月 13, 2016 11:56:46 上午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
五月 13, 2016 11:56:46 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/lfcms] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 13, 2016 11:56:46 上午 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/lfcms] registered the JDBC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
五月 13, 2016 11:56:46 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/lfcms] created a ThreadLocal with key of type [org.nutz.mvc.NutMvcContext$1] (value [org.nutz.mvc.NutMvcContext$1@1520a43d]) and a value of type [org.nutz.lang.util.SimpleContext] (value [{
}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
五月 13, 2016 11:56:46 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-9090"]
五月 13, 2016 11:56:46 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-9009"]
五月 13, 2016 11:56:46 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 2385 ms

Invalid @One(field=OrgID) 'OrgID' : class net.lfsoft.cms.bean.User<=>class net.lfsoft.cms.bean.Organization

没有把关联的字段写出来. Nutz中的映射,是必须把映射字段写出来的.


private int OrgID; @One(field = "OrgID", target = Organization.class) private Organization org;
添加回复
请先登陆
回到顶部