主题:开发只用到beetlsql,Docker环境,Beetl未能自动检测到WebRoot

chenrongpeng 3天前 7

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.beetl.ext.spring.BeetlGroupUtilConfiguration]: Factory method 'getBeetlGroupUtilConfiguration' threw exception; nested exception is java.lang.RuntimeException: Beetl未能自动检测到WebRoot,请手工指定WebRoot路径 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) ~[spring-beans-5.2.2.RELEASE.jar!/:5.2.2.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651) ~[spring-beans-5.2.2.RELEASE.jar!/:5.2.2.RELEASE] ... 27 common frames omittedCaused by: java.lang.RuntimeException: Beetl未能自动检测到WebRoot,请手工指定WebRoot路径 at org.beetl.core.misc.BeetlUtil.getWebRoot(BeetlUtil.java:277) ~[beetl-2.8.5.jar!/:na] at org.beetl.core.resource.WebAppResourceLoader.<init>(WebAppResourceLoader.java:48) ~[beetl-2.8.5.jar!/:na] at com.unilumin.beetl.config.DataSourceConfig.getBeetlGroupUtilConfiguration(DataSourceConfig.java:35) ~[platform-db-0.0.1-SNAPSHOT.jar!/:0.0.1-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) ~[spring-beans-5.2.2.RELEASE.jar!/:5.2.2.RELEASE] ... 28 common frames omitted