NutzCN Logo
问答 突然之间建表失败,init报错了
发布于 1876天前 作者 码农 1394 次浏览 复制 上一个帖子 下一个帖子
标签:
   // 若必要的数据表不存在,则初始化数据库
        if (0 == dao.count(Sys_user.class)) {
Method threw 'org.nutz.dao.DaoException' exception.
2 回复
java.lang.IllegalArgumentException: Pojo(class cn.wizzer.app.hpvideoPeople.modules.modules.scenic_landline) without any Mapping Field!!
	at org.nutz.lang.reflect.fast.java.lang.IllegalArgumentException$FC$771b43c8ff10640d00bd1ca7eaf926cb.invoke(IllegalArgumentException.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1025)
	at org.nutz.lang.Lang.makeThrow(Lang.java:159)
	at org.nutz.dao.impl.entity.AnnotationEntityMaker.make(AnnotationEntityMaker.java:273)
	at org.nutz.dao.impl.EntityHolder.getEntity(EntityHolder.java:72)
	at org.nutz.dao.impl.NutDao.getEntity(NutDao.java:689)
	at org.nutz.dao.util.Daos$3.compare(Daos.java:535)
	at org.nutz.dao.util.Daos$3.compare(Daos.java:533)
	at java.util.TimSort.binarySort(TimSort.java:296)
	at java.util.TimSort.sort(TimSort.java:239)
	at java.util.Arrays.sort(Arrays.java:1512)
	at java.util.ArrayList.sort(ArrayList.java:1454)
	at java.util.Collections.sort(Collections.java:175)
	at org.nutz.dao.util.Daos.createTables(Daos.java:533)
	at org.nutz.dao.util.Daos.createTablesInPackage(Daos.java:465)
	at cn.wizzer.app.web.commons.core.MyMainLauncher.init_sys(MyMainLauncher.java:116)
	at cn.wizzer.app.web.commons.core.MyMainLauncher.init(MyMainLauncher.java:107)
	at cn.wizzer.app.web.commons.core.MyMainLauncher$FM$init$cff301be46c87e2fbea60f4ef344bacb.invoke(MyMainLauncher.java)
	at org.nutz.ioc.impl.ObjectMakerImpl$2.trigger(ObjectMakerImpl.java:181)
	at org.nutz.ioc.weaver.DefaultWeaver.onCreate(DefaultWeaver.java:89)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:141)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
	at org.nutz.boot.NbApp.execute(NbApp.java:214)
	at org.nutz.boot.NbApp.run(NbApp.java:182)
	at cn.wizzer.app.web.commons.core.MyMainLauncher.main(MyMainLauncher.java:86)

很明显了吧,说的是cn.wizzer.app.hpvideoPeople.modules.modules.scenic_landline这个类

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