我试图将kie-workbench部署在sppring-boot嵌入式tomcat中,并且我重写了TomcatServletWebServerFactory类中的getTomcatWebServer方法以采用kie-wb.war并遵循了http://mswiderski.blogspot.com/2015/10/installing-kie-server-and-workbench-on.html中的说明。
我得到以下异常 请求您的帮助。
异常启动过滤器[请求捕获]
j
ava.lang.ExceptionInInitializerError: null
at org.uberfire.ext.security.server.SecurityIntegrationFilter.init(SecurityIntegrationFilter.java:36) ~[uberfire-servlet-security-0.9.0.Final.jar:0.9.0.Final]
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:285) ~[tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266) ~[tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) ~[tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4637) [tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282) [tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421) [tomcat-embed-core-8.5.32.jar:8.5.32]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411) [tomcat-embed-core-8.5.32.jar:8.5.32]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
Caused by: java.lang.RuntimeException: critical problem loading the marshallers
at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:94) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
... 13 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: null
at org.jboss.errai.marshalling.server.MappingContextSingleton$4.<init>(MappingContextSingleton.java:190) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
at org.jboss.errai.marshalling.server.MappingContextSingleton.loadDynamicMarshallers(MappingContextSingleton.java:189) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
at org.jboss.errai.marshalling.server.MappingContextSingleton.<clinit>(MappingContextSingleton.java:84) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
... 13 common frames omitted
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: failed to load class metadata
at org.jboss.errai.marshalling.rebind.DefinitionsFactorySingleton.<clinit>(DefinitionsFactorySingleton.java:32) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
... 16 common frames omitted
Caused by: java.lang.RuntimeException: failed to load class metadata
at org.jboss.errai.common.metadata.ScannerSingleton.getOrCreateInstance(ScannerSingleton.java:62) ~[errai-common-4.3.2.Final.jar:4.3.2.Final]
at org.jboss.errai.marshalling.rebind.DefinitionsFactoryImpl.loadCustomMappings(DefinitionsFactoryImpl.java:152) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
at org.jboss.errai.marshalling.rebind.DefinitionsFactoryImpl.<init>(DefinitionsFactoryImpl.java:81) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
at org.jboss.errai.marshalling.rebind.DefinitionsFactorySingleton.newInstance(DefinitionsFactorySingleton.java:41) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
at org.jboss.errai.marshalling.rebind.DefinitionsFactorySingleton.<clinit>(DefinitionsFactorySingleton.java:26) ~[errai-marshalling-4.3.2.Final.jar:4.3.2.Final]
... 16 common frames omitted
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Failed to scan configuration Url's
at java.util.concurrent.FutureTask.report(FutureTask.java:122) [na:1.8.0_91]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) [na:1.8.0_91]
at org.jboss.errai.common.metadata.ScannerSingleton.getOrCreateInstance(ScannerSingleton.java:54) ~[errai-common-4.3.2.Final.jar:4.3.2.Final]
... 20 common frames omitted
Caused by: java.lang.RuntimeException: Failed to scan configuration Url's
at org.jboss.errai.common.metadata.MetaDataScanner.getConfigUrls(MetaDataScanner.java:363) ~[errai-common-3.2.4.Final.jar:3.2.4.Final]
at org.jboss.errai.common.metadata.MetaDataScanner.getConfigUrls(MetaDataScanner.java:368) ~[errai-common-3.2.4.Final.jar:3.2.4.Final]
at org.jboss.errai.common.metadata.MetaDataScanner.createInstance(MetaDataScanner.java:190) ~[errai-common-3.2.4.Final.jar:3.2.4.Final]
at org.jboss.errai.common.metadata.ScannerSingleton$1.call(ScannerSingleton.java:39) ~[errai-common-3.2.4.Final.jar:3.2.4.Final]
at org.jboss.errai.common.metadata.ScannerSingleton$1.call(ScannerSingleton.java:31) ~[errai-common-3.2.4.Final.jar:3.2.4.Final]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_91]
... 1 common frames omitted
Caused by: java.net.MalformedURLException: no !/ in spec
at java.net.URL.<init>(URL.java:627) ~[na:1.8.0_91]
at java.net.URL.<init>(URL.java:490) ~[na:1.8.0_91]
at java.net.URL.<init>(URL.java:439) ~[na:1.8.0_91]
at org.jboss.errai.common.metadata.MetaDataScanner.getConfigUrls(MetaDataScanner.java:358) ~[errai-common-3.2.4.Final.jar:3.2.4.Final]
... 6 common frames omitted
Caused by: java.lang.NullPointerException: no !/ in spec
at sun.net.www.protocol.jar.Handler.parseAbsoluteSpec(Handler.java:171) ~[na:1.8.0_91]
at sun.net.www.protocol.jar.Handler.parseURL(Handler.java:151) ~[na:1.8.0_91]
at java.net.URL.<init>(URL.java:622) ~[na:1.8.0_91]
... 9 common frames omitted