我在WSO2 Carbon studio中創建了一個axis2項目。這個應用基本上是java.lang.NoClassDefFoundError:org/drools/event/KnowledgeRuntimeEventManager
運行一個CEP應用程序。我在構建路徑中添加了drools 5.5.0。在日食
控制檯程序正在運行。但是當我部署到WSO2 AS時它顯示錯誤
部署時可以任何一個幫助如何解決這個問題。
INFO {org.apache.axis2.deployment.ServiceDeployer} - 的CEPEventHandler-1.0.0.aar服務,這是無效的,引起java.lang.NoClassDefFoundError:組織/滴料/事件/ KnowledgeRuntimeEventManager
在java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator。(DefaultSchemaGenerator.java:140) at org。 apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:453) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:389) at org.apache.axis2.deployment.repository。 util.A (org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer。 java:82) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) at org.apache.axis2。 deployment.RepositoryListener.checkServices(RepositoryListener.java:254) at org.apache.axis2.deployment.RepositoryListe ner.startListener(RepositoryListener.java:365) at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask。 java:94) at org.apache.axis2.deployment.scheduler.Scheduler $ SchedulerTimerTask.run(Scheduler.java:93) at java.util.TimerThread.mainLoop(Unknown Source) at java.util.TimerThread.run (未知源) 引起:java.lang.ClassNotFoundException:類未找到:org.drools.event.KnowledgeRuntimeEventManager at org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:92) at java.lang .ClassLoader.loadClass(未知源) at org.apache.axis2.deployment.Deployme ntClassLoader.loadClass(DeploymentClassLoader.java:273) 在java.lang.ClassLoader.loadClass(未知來源) ... 19更
[2013年3月8日14:44:39106] INFO {org.apache .axis2.deployment.DeploymentEngine} - org.apache.axis2.deployment.DeploymentException:java.lang.NoClassDefFoundError:org/drools/event/KnowledgeRuntimeEventManager
我試圖刪除jar文件並開始運行。再次顯示相同的錯誤。我還修改了Axis2服務項目Pom.xml並添加了drools的依賴項。沒有改進。誠懇給我一個建議,我爲什麼不能從服務器運行這個應用程序,仍然在eclipse IDE中運行。 – sarax 2013-03-12 05:07:21