Tomcat服务器

时间:2017-07-21 09:27:36

标签: tomcat deployment

在tomcat服务器上部署war文件时获取以下日志

SEVERE [localhost-startStop-1] org.springframework.web.context.ContextLoader.initWebApplicationContext上下文初始化失败  java.lang.RuntimeException:没有可用的配置目录     at com.datanomic.director.startup.WebApplicationContext.loadBeanDefinitions(WebApplicationContext.java:336)     at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)     在org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)     在org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)     在com.datanomic.director.startup.WebApplicationContext.refresh(WebApplicationContext.java:113)     在org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)     在org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)     在org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)     在org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)     在org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)     在org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)     在org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)     在org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)     在org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)     在org.apache.catalina.startup.HostConfig $ DeployWar.run(HostConfig.java:1768)     at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)     at java.util.concurrent.FutureTask.run(FutureTask.java:266)     在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)

1 个答案:

答案 0 :(得分:0)

由于您使用的是Oracle Enterprise Data Quality,请参阅" EDQ配置目录" https://docs.oracle.com/middleware/1221/edq/install/planning.htm#DQINS5286

的部分

看起来您的基本配置目录或本地配置目录都是错误的。