我有wildfly 9 / java8服务器盒并尝试部署drools版本5.4.0.CR1。尝试启动服务器时出现以下异常。
2015-09-17 09:24:18,753 ERROR [org.jboss.msc.service.fail](MSC服务主题1-1)MSC000001:无法启动服务jboss.deployment.unit。" drools -guvnor.war" .WeldStartService:服务jboss.deployment.unit中的org.jboss.msc.service.StartException。" drools-guvnor.war" .WeldStartService:无法启动服务 at org.jboss.msc.service.ServiceControllerImpl $ StartTask.run(ServiceControllerImpl.java:1904)[jboss-msc-1.2.6.Final.jar:1.2.6.Final] 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_60] at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_60] 在java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_60] 引起:org.jboss.weld.exceptions.DefinitionException:异常列表,有1个例外: 例外0: org.jboss.weld.exceptions.IllegalArgumentException:WELD-000818:不允许事件类型类org.jboss.solder.config.xml.bootstrap.ProcessAnnotatedTypeImpl at org.jboss.weld.event.ObserverNotifier $ EventTypeCheck.load(ObserverNotifier.java:242) at org.jboss.weld.event.ObserverNotifier $ EventTypeCheck.load(ObserverNotifier.java:222) 在com.google.common.cache.LocalCache $ LoadingValueReference.loadFuture(LocalCache.java:3527) 在com.google.common.cache.LocalCache $ Segment.loadSync(LocalCache.java:2319) 在com.google.common.cache.LocalCache $ Segment.lockedGetOrLoad(LocalCache.java:2282) 在com.google.common.cache.LocalCache $ Segment.get(LocalCache.java:2197) 在com.google.common.cache.LocalCache.get(LocalCache.java:3937) 在com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941) 在com.google.common.cache.LocalCache $ LocalLoadingCache.get(LocalCache.java:4824) 在org.jboss.weld.util.cache.LoadingCacheUtils.getCacheValue(LoadingCacheUtils.java:49) at org.jboss.weld.event.ObserverNotifier.checkEventObjectType(ObserverNotifier.java:215) 在org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:152) 在org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:136) 在org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:692) 在org.jboss.weld.util.ForwardingBeanManager.fireEvent(ForwardingBeanManager.java:101) 在org.jboss.solder.config.xml.bootstrap.XmlConfigExtension.beforeBeanDiscovery(XmlConfigExtension.java:139) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 在java.lang.reflect.Method.invoke(Method.java:497) 在org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:88) 在org.jboss.weld.injection.MethodInvocationStrategy $ SpecialParamPlusBeanManagerStrategy.invoke(MethodInvocationStrategy.java:144) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:306) 在org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:121) 在org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:284) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:262) 在org.jboss.weld.event.ObserverNotifier.notifySyncObservers(ObserverNotifier.java:271) 在org.jboss.weld.event.ObserverNotifier.notify(ObserverNotifier.java:260) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:154) 在org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:148) 在org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:54) 在org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:42) at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:45) 在org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:368) 在org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76) 在org.jboss.as.weld.WeldStartService.start(WeldStartService.java:92) at org.jboss.msc.service.ServiceControllerImpl $ StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl $ StartTask.run(ServiceControllerImpl.java:1881) 在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:617) 在java.lang.Thread.run(Thread.java:745)
at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:44)
at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:45)
at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:368)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:92)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.6.Final.jar:1.2.6.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.6.Final.jar:1.2.6.Final]
... 3 more
任何人都有想法??
答案 0 :(得分:0)
你有没有尝试过Drools-Guvnor-5.4.0-Final或5.5.0-Final或5.6.0-Final ???
我在Tomcat-8 / JDK7环境中遇到问题,并且必须测试Drools-Guvnor 5.x战争的所有点发布版本,以找到在我的特定配置中可靠运行的正确战争。