我正在使用包含 fox 客户端的 camunda 7.0.0-Final。当我重新部署我的应用程序时,我收到以下错误。
Exception sending context initialized event to listener instance of class
com.camunda.fox.client.impl.web.ProcessArchiveServletContextListener
at com.camunda.fox.client.impl.web.ProcessArchiveServletContextListener.contextInitialized(ProcessArchiveServletContextListener.java:28)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:977)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1655)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
备注:我在服务器的 conf 子目录中的 tomcat 7 logging.properties 文件中添加了以下几行
com.camunda.fox.client.level = DEBUG
com.camunda.fox.client.handlers = java.util.logging.ConsoleHandler
从源代码行 ProcessArchiveServletContextListener.java:28 我猜是变量的注入
@Inject
private ProcessArchiveSupport processArchiveSupport;
不像预期的那样工作。我是否必须配置一些东西才能使注入工作?