NutzCN Logo
问答 springboot使用nutz后,debug启动时间过长
发布于 2170天前 作者 wx_nlugjssocpkj3bf8bamd 1824 次浏览 复制 上一个帖子 下一个帖子
标签:

下面提供是的springboot debug时加载的片段,到这里之后会等待60秒左右才继续加载,
小白来请教下,是哪里设置不对导致加载时间过长吗?
偶尔12秒左右就会把项目debug完成,但更多的时候卡在这个片段的时候会90~130秒左右完成。

2018-12-07 10:17:42.340 DEBUG 44148 --- [  restartedMain] org.nutz.dao.impl.FileSqlManager         : load 0 sql >> wallet.sql from root=/sqls/
2018-12-07 10:17:42.340 DEBUG 44148 --- [  restartedMain] org.nutz.dao.impl.DaoSupport             : SqlManager Sql count=242
2018-12-07 10:17:42.361  INFO 44148 --- [  restartedMain] o.s.aop.framework.CglibAopProxy          : Method [org.nutz.dao.impl.EntityOperator org.nutz.dao.impl.NutDao._opt(org.nutz.dao.entity.Entity)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2018-12-07 10:17:42.361  INFO 44148 --- [  restartedMain] o.s.aop.framework.CglibAopProxy          : Method [org.nutz.dao.impl.EntityOperator org.nutz.dao.impl.NutDao._opt(java.lang.Class)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2018-12-07 10:17:42.361  INFO 44148 --- [  restartedMain] o.s.aop.framework.CglibAopProxy          : Method [org.nutz.dao.impl.EntityOperator org.nutz.dao.impl.NutDao._optBy(java.lang.Object)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
3 回复

你贴的日志, 没体现出耗时很久

它进行到这里的时候会停留很久的时间,再继续往下进行。。。所以,可以帮推断下,我怎么诊断这个问题吗。。。其实我自己也觉得没有描述清楚

日志不贴全,靠猜么?

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