NutzCN Logo
问答 java.lang.ClassNotFoundException: org.nutz.plugins.view.beetl.WebappResourceLoader2
发布于 66天前 作者 shine 103 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk
org.nutz.lang.born.BorningException: Fail to born or cast to 'org.beetl.ext.nutz.BeetlViewMaker'because: java.lang.ClassNotFoundException: org.nutz.plugins.view.beetl.WebappResourceLoader2
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:17)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:1010)
	at org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:347)
	at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:164)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
	at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
	at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
	at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: org.nutz.plugins.view.beetl.WebappResourceLoader2
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1285)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.beetl.core.om.ObjectUtil.instance(ObjectUtil.java:616)
	at org.beetl.core.GroupTemplate.initResourceLoader(GroupTemplate.java:155)
	at org.beetl.core.GroupTemplate.<init>(GroupTemplate.java:116)
	at org.beetl.ext.nutz.BeetlViewMaker.init(BeetlViewMaker.java:90)
	at org.beetl.ext.nutz.BeetlViewMaker.<init>(BeetlViewMaker.java:55)
	at org.beetl.ext.nutz.BeetlViewMaker$FC$62febe830a4a6764c634d9e263964cee.invoke(BeetlViewMaker.java)
	at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
	at org.nutz.lang.born.EmptyArgsConstructorBorning.born(EmptyArgsConstructorBorning.java:14)
	... 24 more

少引哪个包了吗?

1 回复

那是 nutz-plugins-views 里面的类,你可以引用一下,或者拷贝过来

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